LED Collar Follow the steps in the tutorial to build the project - https://www.circuito.io/blog/ldr-controlled-led-collar/ To use the code:
-
Download the test code from the "code" tab.
-
Make sure to extract the .zip file
-
Open the .firmware Arduino file.
-
Set the correct port and board (Arduino pro-mini)
-
Connect the circuit to your computer and Upload the code.
-
Test your circuit by opening the serial monitor in the Arduino IDE and follow the instructions. If one the components isn't working, first check the wiring, and if it still doesn't work, go through our debugging post.
-
When the circuit is working, replace the test code with the project code from thte Github repo. Make sure to leave the //Include Libraries and //Pin Definitions at the top of the code, and also keep all the libraries from the original code.