Pages: [1]   Go Down
Author Topic: Need help with LDR controlling LED  (Read 315 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm very new to programming and arduino. i am trying to make a led turn on when the LDR is covered(dark) and off when uncovered. I am using a potentiometer to control the threshold but the led flicker's when very close to this theshold. I've been googling and there is something called hysteresis to stop this but there is no explaination of what this is anywhere.

any help would be appreciated.

p.s. i think i posted in the wrong section before( hardware troubleshooting)  so ill post it again.


Left Coast, CA (USA)
Online Online
Brattain Member
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See my reply in the hardware section, and quit moving around  ;D

« Last Edit: March 04, 2009, 11:29:43 pm by retrolefty » Logged

Pages: [1]   Go Up
Jump to: