Added: 2 years ago
From: andrew1056
Views: 3,218
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • source code please?

  • code?

  • do you have the program for it somewhere?

  • this video is fabulous, I really did understand how to use the photo cell.

    I did a series of experiments and found that to get an even better result you can add a potentiometer and use the value read from it as adjusting the amount of darkness in which you want the lights come on.

    Also if you replace the LED with a relay you can use this system to control the normal incandescent lamps.

  • Ahh, you'll need to have the photoresistor placed somewhere the light doesn't change like pointing outside a window.

  • @andrew1056 sounds pretty good. I'm currently learning about the differences between IR lighting and incandescent lighting and light from LED's. Do you think that if you lit your house with LED's that it would effect the LDR?? I think that only florescent lights would effect the LDR. Just my 2 cents. -Joe

  • I actually haven't tried it with LED's. It does work with incandescents and fluorescents. It would be an interesting experiment. My aquarium is led lit so I could try it there and see.

  • what do you feel would be the best course of action to work around the shut on/off problem (the light going off, everytime the led's come on)?? -Joe

  • It should work. Is your hookup the same? You need to create a voltage divider with the photo-resistor and a regular resistor. The middle is what goes to analog in. I'll annotate this sometime soon.

  • can't get mine to work. need help. my arduino is the NG with the atmega 168

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