Rainbow Lights Experiments

After completing the Rainbow Lights project, test yourself by trying these experiments.

1
Christmas Lights.

This demo will display many interesting patterns of lights. To see the best result you need to use a RGB LED light string with 150 leds that is 5 meters long. Email parts@robotsforfun.com if you want to purchase a light string for this project.

Connections:
RGB LED light stringArduino
DIpin 8
VCC5V
GNDGND

From the Arduino IDE menu, select File | Examples | WS8212_RobotsForFun | ChristmasLights
Upload and run the program.
2 Reaction Game. This demo will make a RGB LED light string into a reaction game. This is a really fun game to see how fast you are. You need a RGB LED light string with 150 leds that is 5 meters long for this project. Email parts@robotsforfun.com if you want to purchase a light string for this project.

External devices connections to the Arduino:
  1. RGB LED light string
    RGB LED light stringArduino
    DIpin 2
    VCC5V
    GNDGND
  2. Push button
    Push buttonArduino
    leg 1pin 3
    leg 2GND
  3. Buzzer
    BuzzerArduino
    leg 1pin 4
    leg 2GND
From the Arduino IDE menu, select File | Examples | WS8212_RobotsForFun | LightRopeGame
Upload and run the program.