Learning colors while learning circuits | RGB in action

What you’ll learn:

How to mix colors using red, green, and blue, or RGB. You’ll also learn how to make a paper circuit with simple switches.

Key takeaways:

The amount of voltage (or energy) going through each leg of an RGB LED determines its final color.

This is a kids circuit activity that teaches more than just wiring and LEDs – this project looks at how we mix primary colors to make the entire rainbow. The primary colors, red, green, and blue, make up a colorset called RGB. It;s not a big leap to notice that the R stands for red, the G for green and the B for blue. 

We’ve come up with a project that will let you mix in varying amounts of red, green, and blue by mixing voltages to various legs in an RGB LED.

If you find yourself wondering what is RGB or why we use RGB color space for cameras and screens you should check out our explanatory “​What is RGB?” post!

Project Ingredients:RGB LED (Note: Our RGB Color piano template is wired for a common anode, some RGB LEDs are a common cathode)Copper tapeCardstockCR2032 Batteries

How to make an RGB Color Piano

  1. Print our free RGB color piano template
  2. Cut out your RGB piano keys
  3. Cut the dotten lines on the keys
  4. Lay copper tape down on the back of the three cut keys
  5. Cut out the piano template
  6. Lay down tape on the RGB color piano where you see thick yellow lines
  7. Learn about your RGB LED
  8. Tape your RGB LED into place
  9. Tape your CR2032 battery into place
  10. Overlay the piano keys and test your circuit
  11. Troubleshoot your piano if necessary

1. Print your RGB color piano template. (Here’s the link)

This is an easy step. This piano will work a lot better, however, if you print it on a thicker cardstock paper instead of regular letterhead. 

2. Cut out the piano keys.

You want to keep the black around the keys as this will make it easier to align your keys at the end, and make a nicer looking finished piano.

3. Cut along the dotted lines on the keys

There are three keys with a black dot on them. Surrounding the black dot are dotted lines. Cut along the dotted lines to that these three keys can be bent up slightly. These three keys will ultimately make the switch to each color leg. When the key is pressed the circuit will be complete for that color and it will light up.

4. Lay down copper tape on the back of each cut key.

For a switch to work, it needs to be able to open and close a circuit. Here, when the key is not pressed there will be a gap in the circuit. You can see this gap on the piano part of this template. When you press a key the copper tape on the back of each key will close the gap and allow the electrons to flow through the circuit, lighting up the LED!

5. Cut out the RGB color piano template.

Now that the keys to your piano are done you are ready to move to the next piece. Cut around the black of the piano template.

6. Begin to lay down tape onto your RGB color piano template.

There are 5 lines of copper tape for you to lay down. In an ideal world, you will use five perfectly sized pieces of copper tape. That means each track of yellow on our template, where we will lay down the copper tape, has just one single piece being bent around corners. 

6b. Finish laying down the copper tape.

Remember, to bend the piece of tape along each solid yellow line so there are no breaks. If you do have to cut your piece of tape midway you will need to cover that joint with conductive paint. Also, make a note of the gaps between the vertical pieces of tape from the shorter LED legs to the bottom horizontal line of tape that runs to the battery. If you close this gap you will have an RGB LED that is always on!

7. Learn about your RGB LED.

Your RGB LED has four legs, each of a different length. This template is set up for an RGB LED that has a common anode (a common top of the LED slide). Some RGB LEDs have a common cathode (a common bottom to the LED slide). If you happen to have the wrong one no worries, we can fix it with the flip of a battery later on. 

The thing to note is the long leg, this is always the common leg whether you have a common anode or common cathode. The long leg is the most important leg.

8. Bend and align the legs of your RGB LED.

Remember which leg is long! The long leg will shoot out to the left towards the battery in this template

8b. Tape your RGB LED in place.

I like to use copper tape to tape over the RGB LED legs along the line of tape that is already there. Taping along the current line of tape is important because if you tape across the leg instead you might connect other pieces of copper tape, which are the wires in our circuit. Doing so means your color piano won’t work properly. 

You can also use scotch tape, or another type of plastic tape over the legs – I just like the additional contacts and feel it makes the circuit work better to use copper tape.

9. Put your battery in place.

If your LED has a common anode then your battery should face up. That is, you should be able to see the writing on the battery like you do in the image. If you have a common cathode LED then you should flip your battery over so the writing is face down. If you don’t know what type you have just put it in face-up for now.

9b. Clip battery in place.

I find the best thing to use to clip CR2032 batteries in place is a small binder clip. You can also use tape, but the lack of pressure on both terminals of the battery might cause a flickering LED in the end.

10. Align your keys and try your circuit.

Your keys should align nicely with your piano template as they are designed to be the same size. Gently place your keys on top of the piano as shown and press on key down to see if your LED lights up. If it does, congrats! Tape your keys down and play away. If it doesn’t, not to worry, there is always a lot of failure with circuits in general, even paper circuits. Check out our troubleshooting area below.

11. Troubleshoot your circuit.

If your RGB piano doesn’t work you can try a few things. First, flip the battery over – you might have a common cathode LED instead of a common anode. 

Second, check that your keys are closing the gap in the circuit.

Third, check over your copper tape pieces. If you didn’t bend the copper tape along the template, use our cheap DIY conductive paint to paint over all of the joints.

6 thoughts on “Learning colors while learning circuits | RGB in action”

  1. RGB color mixing piano looks like a great learning and fun project for kids. But I cannot download the template. Thank you for sharing this awesome project.

Comments are closed.