element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Smarter Life Challenge: Smart Bicycle Light (update #3)
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ajkahl
  • Date Created: 14 Nov 2013 12:11 PM Date Created
  • Views 714 views
  • Likes 1 like
  • Comments 3 comments
  • psoc4
  • smarter_life_challenge
  • smarter_life
  • bike_light
Related
Recommended

Smarter Life Challenge: Smart Bicycle Light (update #3)

ajkahl
ajkahl
14 Nov 2013

Light Sensing


 

 

Hi all, here's a quick demo of a photodiode coupled to one of the psoc4 internal op-amps, in turn driving PWM'd LED. I've gone for the photodiode circuit for simplicity and small component size. It's also very low on power, essentially only drawing the light current of the diode itself, it's always good to deal with active power at a low level rather than rely purely on code-side power managment. Even though the sample rate and time (DC) of the light sensor will be low, keeping it's active power low will leave open opportunities to do extra things. I may want to have a mode where the device is sampling light more rapidly to detect not only state, but transition rate of light, for example when suddenly illuminated by the headlights of a car.

 

image

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Cheers

 

A.

  • Sign in to reply
Parents
  • cy.gul
    cy.gul over 12 years ago

    Great progress, Anthony!

     

    Keep in mind you have a couple Current DACs on the PSoC 4 ("IDAC") that are shared resources with the CapSense block. So, in case your design doesn't need any touch sensing, you have the option of using those IDACs for providing excitation current to your sensors where applicable.

     

    good luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • cy.gul
    cy.gul over 12 years ago

    Great progress, Anthony!

     

    Keep in mind you have a couple Current DACs on the PSoC 4 ("IDAC") that are shared resources with the CapSense block. So, in case your design doesn't need any touch sensing, you have the option of using those IDACs for providing excitation current to your sensors where applicable.

     

    good luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube