Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Dark Lights LED

Loading...

Sign in or sign up now!
8,973
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 10, 2008

A simple PICAXE program can be used to make an led come on when its dark. The led acts as its own light sensor. I made it into an automatic turn-on candle.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (botronics)

  • 'picaxe program to flicker led like a candle when dark start: input 1 'make pin 1 an input before reading with ADC pause 200 w0=0 main: low 1 'discharge led before reading input 1 random w0 'get numbers to set flicker rate readadc 1, b2 if b2 < 10 then dark goto main dark: 'led will flicker depending on value of b0 and b1 high 1 pause b0 low 1 pause b1 goto main
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • point?

  • Send me BAS?

Loading...
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