Arduino Color Tracking LED Matrix | ChromaMatrix AI

by Random Stuff We Make in Circuits > Arduino

768 Views, 6 Favorites, 0 Comments

Arduino Color Tracking LED Matrix | ChromaMatrix AI

Arduino - AI Real Time Project #youtubeshorts #shortsvideo #machinelearning #ai #arduinoproject

ChromaMatrix AI is an engaging web application that uses artificial intelligence to interpret images (colors) from a webcam and controls an LED matrix via Bluetooth based on the video feed analysis. This interactive project combines web development, machine learning, and hardware integration to create a dynamic visual experience.

Difficulty Level: ⭐⭐⭐

Follow us on Instagram for more projects: www.instagram.com/random_stuff_we_make

Supplies

ESP32-C3-DEVKITM-1.png
glamour.jpg
F0DMGA7KIHF92AJ.png
F06TFEMKIHF92B6.png
Nano33_ble_sense_rev2.png

All the material mentioned here is easily available in your local market as well as online stores.

  1. Cardboard Sheet
  2. Masking Tape
  3. Bluetooth Enabled Controller Board (ESP32 or Arduino Nano 33 BLE sense)
  4. WS2812b Addressable LED Strip
  5. 18 AWG Hookup Wire
  6. Jumper Cables
  7. Female DC Power Jack
  8. DC adapter 5 volt 10A (Optimal current required for full white is 9A)
  9. Webcam (If using PC)

Designing the LED Matrix

FO1LNC5KIHF93SS.png
FF66MJBKIHF8Y5W.png
FB3L239KIHF8Y5Q.png
FBCN2PVKIHF8Y5X.png
FV1BC8AKIHF8Y5Z.png
FFCCNGBKIHF9B9Q.jpg
FROC6CTKIHF8YDI.png
F7ZHBRGKIHF8Y62.png
  1. First, you need to cut your cardboard sheet in the size of 12 x 12 inches. Then you need to mark 10 points/holes on your cardboard with a pen/pencil/marker on top & bottom points to make guide markers for LED strip & holes for the wires. You can place the LED strip on cardboard & mark on 1st LED & 15th LED (image 3).
  2. The Next step is to cut the LED Strip in 10 pieces. Each piece should be 15 Pixels/LEDs long.
  3. Then stick the pieces on the cardboard with some adhesive glue. (Refer to the image 4).
  4. Refer to the connections from the circuit (Image 6).
  5. Connect GND/0V of each LED strip piece.
  6. Connect VCC/+5V of each LED strip piece.
  7. Connect Data Out of 15th LED in each strip piece to the Data In of 1st LED in the next strip.
  8. Connect two wires for each Positive & Negative Connection & one wire for Data In of 1st LED of 1st strip.
  9. At last, connect a Female DC jack to one pair of Positive & Negative wires for power injection.
  10. General Precautionary Measures(Optional):
  11. Stick the masking tape on the backside of the cardboard to secure the connection wires. (Image 3).
  12. Use a plastic tie to secure the input wires (Image 4).
  13. Note: Double-check the connections before powering up the device.
  14. Correction: The LED strip in the circuit image is 10 LED long, Please Consider it to be 15 LED long. Thanks for your cooperation.

Arduino Code

Screenshot 2024-06-23 155058.png
  1. Upload this code to ESP32 using Arduino IDE.
  2. Make connections according to the code.

Github Repo Link : https://github.com/randomstuffwemake/ColorTrackingLEDMatrix/


NOTE: This project utilizes Google Teachable Machine for AI Model. You can also create your model and use the same with this project. However you need to make minor changes in the JS file.

Working

Arduino - AI Real Time Project #youtubeshorts #shortsvideo #machinelearning #ai #arduinoproject
  1. Open this webpage: ChromaMatrixAI
  2. Connect your device.
  3. Have fun with the project.


If you like this project and want to learn more please subscribe us on youtube & follow us on Instagram : www.instagram.com/random_stuff_we_make