Build a rainbow led mixer
Green highlight

Build a handheld rainbow LED mixer with RGB LEDs, a battery pack, breadboard, and knobs to mix colors and learn about light and simple circuits.

Orange shooting star
Download Guide
Collect Badge
Background blob
Challenge Image
Table of contents

Step-by-step guide to build a handheld rainbow LED mixer

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

Make a Rainbow by Refraction Easy Kid Science Experiment you can do at home

What you need
3 aa batteries, 3 potentiometers 10kω, 3 resistors 220ω, adult supervision required, battery pack 3xaa 4.5v, jumper wires, rgb led common-cathode, scissors or wire stripper, small breadboard, small cardboard tube or project box, tape or hot glue

Step 1

Gather all the materials listed and put them on a clear table so you can reach everything.

Step 2

Put three AA batteries into the battery pack and leave the pack switched OFF.

Step 3

Place the breadboard on the table with the power rails running left to right.

Step 4

Insert the RGB LED so each leg sits in a different row of the breadboard.

Step 5

Identify the longest LED leg as the shared common pin for the LED.

Step 6

Use a jumper wire to connect that LED common row to the negative (ground) rail on the breadboard.

Step 7

Push the three potentiometers into the breadboard so each pot’s three pins go into three separate rows.

Step 8

Use jumper wires to connect one outside pin of each potentiometer to the positive power rail.

Step 9

Use jumper wires to connect the middle pin (wiper) of each potentiometer to three separate rows near the LED (one row per color).

Step 10

Place a 220Ω resistor between each pot-wiper row and the matching LED color pin row (one resistor per color).

Step 11

Connect the battery pack leads to the breadboard power rails by putting the red wire to the positive rail and the black wire to the negative rail.

Step 12

Turn the battery pack ON and slowly twist each knob to mix red green and blue until you see rainbow colors you like.

Step 13

Carefully attach the breadboard and battery pack to the cardboard tube or project box with tape or hot glue to make a handheld mixer.

Step 14

Share your finished rainbow LED mixer on DIY.org

Final steps

You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!

Complete & Share
Challenge badge placeholder

Help!?

What can I use if I can't find the 220Ω resistors or the three potentiometers?

Use nearby-value resistors (270Ω–330Ω) in place of each 220Ω and, if you lack three potentiometers, use fixed resistors or a single potentiometer with fixed resistors to mimic the step where a resistor is placed between each pot-wiper row and the matching LED color pin row.

My RGB LED won't light or only one color works—what should I check?

Make sure the battery pack is switched ON with correctly oriented AA batteries, the longest LED leg (common) is jumpered to the negative rail, each LED leg sits in a separate breadboard row, and each pot middle pin connects through a 220Ω resistor to the matching LED pin as described.

How can I adapt this project for different ages?

For younger kids have an adult pre-insert the RGB LED, resistors, and battery pack and use tape instead of hot glue when attaching to the cardboard tube, while older kids can add complexity by replacing manual pots with a microcontroller or adding extra RGB LEDs on the breadboard per the same wiring steps.

How can we extend or personalize the rainbow LED mixer after finishing the basic build?

Decorate the cardboard tube, add a second RGB LED and duplicate the resistor/potentiometer wiring on the breadboard for multi‑spot color mixing, or attach an Arduino to program color fades instead of turning the physical knobs.

Watch videos on how to build a handheld rainbow LED mixer

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

How to easily make a rainbow | Science for kids

4 Videos

Facts about basic electronics and LEDs

đŸŽ›ïž A potentiometer is a turnable resistor: kids can use it like a dimmer knob to change an LED's brightness or color balance.

🔋 A small battery pack (for example, 3 AA cells) can power a handheld LED mixer for hours depending on brightness settings.

đŸ§© Breadboards let you build and change circuits without soldering — perfect for quick experiments and learning by doing.

💡 LEDs are super efficient tiny light sources that run cool and can last tens of thousands of hours.

🌈 RGB LEDs mix red, green, and blue light — when all three are full brightness your eyes see white because of additive color mixing!

How do you build a handheld rainbow LED mixer?

Start by planning three channels (red, green, blue). Place an RGB LED on a breadboard and add current‑limiting resistors to each color pin. Connect each color through a potentiometer so the knob controls brightness (or use a transistor + PWM for stronger LEDs). Power with a battery pack, observe polarity, and test each channel. Mount components in a small plastic case, secure wires, and add a power switch. Supervise children and check connections before powering.

What materials do I need for a handheld rainbow LED mixer?

Materials: one or more common‑anode or common‑cathode RGB LEDs, breadboard, jumper wires, three 220–470Ω resistors, three linear potentiometers (10k common), a small battery pack (3×AA or 4×AA) with holder and on/off switch, optional transistors or MOSFETs for higher brightness, a small plastic case or handle, hot glue or tape, and basic tools (wire stripper, screwdriver). A multimeter and safety goggles are useful.

What ages is a handheld rainbow LED mixer suitable for?

This project suits kids about 8+ with adult supervision for wiring and battery use. Ages 8–12 can build it with step‑by‑step help; teens can handle soldering and advanced options like PWM controllers. For younger children (5–7), adapt by using pre‑wired LED modules or letting them design colors while an adult does the wiring. Always supervise batteries, small parts, and any soldering.

What are the benefits, safety tips, and variations for this activity?

Benefits include hands‑on learning about circuits, color mixing, and cause‑and‑effect, boosting STEM confidence and fine motor skills. Safety tips: use low‑voltage batteries, include current‑limiting resistors, avoid soldering with unsupervised children, and secure loose wires. Variations: use an Arduino for smooth PWM fades, add diffusing material for softer colors, try addressable LED strips for patterns, or build a larger panel to explore color theory with a group.
DIY Yeti Character
Join Frame
Flying Text Box

One subscription, many ways to play and learn.

Try for free

Only $6.99 after trial. No credit card required