Go Down

Topic: Need help with LDR controlling LED (Read 503 times) previous topic - next topic


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.



Mar 05, 2009, 05:29 am Last Edit: Mar 05, 2009, 05:29 am by retrolefty Reason: 1
See my reply in the hardware section, and quit moving around  ;D


Go Up