This project embeds a LED strip and photoelectric sensors inside a skateboard ledge, resulting in a dynamic and interactive visual experience for skateboarders. The LED strip is positioned underneath the ledge, illuminating as the skater slides and adding a mesmerizing effect to their tricks. The photoelectric sensors track the position and direction of the skater and, together with a queue data structure, control the lighting output. Features
By using the FastLED library for Arduino, the code is highly customizable, allowing for a wide range of visual effects and patterns to be created. This library provides an extensive set of functions and features that simplify the process of controlling an LED strip, including advanced color correction, noise reduction, and support for multiple LED chipsets. With the use of the FastLED library, the possibilities for customizing the LED strip are virtually endless, allowing the project to be tailored to the specific needs and preferences of each user.
youtube link coming
- Arduino uno board
- Programmable LED strip WS2812b
- x12 Photoelectric sensors
- 5v Power supply
- Wires
- Skateboard ledge
DATA PIN = 12
Note: I am currently working on an interface to load entire color palettes and patterns but have not yet finished this code. For now, to change the color of the strip, use the variable:
CRGB colorActive = CRGB( 255, 90, 0);
Use values between 0-255 or for more details use the fastLED docs.