This is my Chrismas theme carnival light， let’s see how it works.
Here are the process photos.
The first problem I need to figure out is how to design something can protect the sensor as well as easy to take out the ball, finally I decide to stick two cones together to prevent the ball attack the sensor.
I took a lot of time on how to connect the circuit, and until yesterday I knew why series connection doesn’t work if I connect the LEDs on Arduino, it is because the biggest power is 5V. So yesterday I changed the series connection to parallel connection again.