So far our hoop will just light up all the time. Using an IR sensor and IR LED we can make the NeoPixels light up whenever we score.
The IR LED pulses out IR light (940nm wavelength) at 38KHz, same as an IR remote. The IR receiver will pick up the signal as long as it can 'see' the LED. When the basketball goes through the hoop, the sensor will say it can't see the LED any more because its blocked - thats how we know it's time to light up the LEDs.
This guide was first published on Mar 11, 2014. It was last updated on Dec 11, 2023.
This page (Point Sensor Circuit Diagram) was last updated on Mar 10, 2014.
Text editor powered by tinymce.