Analogue to Digital Conversion

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,700
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 13, 2009

I used a PIC16F628a to first calibrate to the resistance of the IR Detector then a second program to control the LED array based on the calibration numbers. I could have easily used a photoresitor, but the IR detector diode was all I had. As your hand gets closer the resistance drops and the LED array moves. This could also be accomplished in a dark room with a flash light.

All credit goes to Brad Slattery (00retrobrad00) for his ADC tutorial. I just added a different kind of resistor to get the same effect. The tutorial can be found here: http://www.bradsprojects.com/index.php?option=com_content&task=category&a...

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Spanky85)

  • I have an IR LED connected to a pin that has ADC. It takes an analog value and converts it into a digital number (0-255). This number represents the light level and the LEDs are turn on based on how much light the IR LED sees.

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • how do you dim the lights or is it becouse the values are oscilating between the treshold of values of one led and the other that makes that effect...??

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more