Dark sensitive clock project


i'm new arduino appreciated.

so i'm working on project @ moment have made laser cut clock, clock motor basic quartz clock motor requires single aa battery.

i hoping make simple set using ldr activates clock when near or complete darkness.

i bought basic light sensitive switch circuit maplins, encountered few issues when trying make project, including delay when ldr received light  before switch activate.

i've decided simpler find out how through arduino , if advise sort of equipment need , maybe basic code, i'm not aware of best arduino job.

again, apologies lack of technical knowledge.

sensing light levels quite simple. connect light dependent resistor in series known constant resistance, connect 1 end ground , other end high logic level (5v), , voltage @ junction varies brightness. connect junction analog input read voltage, , have number in sketch varies brightness. it's trivial test whether value above or below constant threshold value , change state of output pin based on that. @ point have output pin changes state according brightness - suspect that's maplins circuit does.

because i/o pins have internal pull-up resistors can enabled software, can use internal pull-up known constant resistance. simplifies circuit ldr 1 end connected analog input, , other end connected ground.

i don't know involved in activating clock, bear in mind digital i/o pins handle 20 ma safely if need control more current you'd need have sort of driver circuit between arduino , clock.


Arduino Forum > Using Arduino > Project Guidance > Dark sensitive clock project


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support