u/SilentThespian

unsure how to wire the photoresistor and light bulb
▲ 11 r/ArduinoHelp+1 crossposts

unsure how to wire the photoresistor and light bulb

I am unsure how to wire the photoresistor and light bulb in my project, and If I should add resistors to piezo or not, any tips? Flow is supposed to be like this:

person comes by
movement gets detected
display asks for pin
pin entered
"happy buzz"
door opens
if night, light turns on, if day, light doesnt turn on
and its supposed to work in "sessions" while one person in, no one can come in until they come out

I know motor should be wired to external power, but for this use case I wired it to 5V

asked chatgpt, and he suggested adding resistors to motor and piezo

u/SilentThespian — 12 days ago