This project is really simple and I hope you will enjoy it! This is an RGB/atmosphere light that will automatically turn on when you turn off the light of your room!
You have to do these connections:
The photoresistor to a 1 megaohm or 100kohm resistor and then connect to positive. Then connect the same leg to A0 of Arduino. The other leg to negative.
Connect the led to 10 of Arduino with a resistor and the other leg to negative (Look! Don't mess up with the polarity! The short leg of the led goes to negative).


_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)







Comments