Skip to content
Play Party Game logo Play Party Game

Effortless party planning – discover games & activities for any age, group size, and occasion.

  • Kids Party Ideas
  • Summer Crafts & Activities
  • Occasions
    • Baby Shower
    • Birthday
  • Holiday
    • Valentine’s Day
    • St. Patrick’s Day
    • Easter
    • Mother’s Day
    • Father’s Day
    • Memorial Day & 4th of July
    • Halloween
    • Fall Thanksgiving
    • Christmas
  • Scavenger Hunt
  • Guessing & Mystery Games
  • Shop
0
Play Party Game logo
Play Party Game

Effortless party planning – discover games & activities for any age, group size, and occasion.

Last updated on July 8, 2026July 8, 2026

9 Steps to Build a Pocket Rainbow Machine: The Cardboard Spectrometer STEM Project Your Classroom Will Love

If you’ve ever wished you could catch a rainbow and carry it around in your pocket, this project is about to make your day. A homemade spectrometer is one of the simplest, cheapest, and most satisfying STEM builds you can hand to a kid – and the “wow” moment when they peek through the tube and see a perfect rainbow appear is priceless.

Cardboard Spectrometer: Easy STEM Rainbow Project

Best of all, this isn’t just a craft. It’s real science. A spectrometer splits light into its individual colors, the exact same principle that lets scientists identify what stars are made of or what gases are in the air. You’re basically handing your students (or your own kids) a genuine science instrument built from a cereal box tube, an old CD, and a scrap of wire.

This project is a perfect fit for science fairs, homeschool units on light and color, rainy-day classroom activities, or just a fun weekend project to do together. It requires no soldering, no batteries, and almost no cost, which makes it ideal for teachers working with a classroom set or parents looking for a screen-free afternoon activity.

Let’s build one.

Rainbow spectrum seen through a homemade cardboard spectrometer eyepiece

Table of Contents

Toggle
  • Why This Project Is Worth Your Time
  • What You’ll Need
  • How to Build It
  • The Science Behind the Rainbow
  • Pro Tip
  • Fun Variation
  • A Word on Safety

Why This Project Is Worth Your Time

Before we get into the steps, it helps to know why this works so well as a teaching tool. Different light sources, like the sun, an LED bulb, or a fluorescent tube, don’t actually give off the same mix of colors. Some are heavy on blue, some are heavy on red, and some only emit light at a few specific wavelengths.

Your own eyes usually can’t tell the difference. But once you look at each light source through a spectrometer, the differences become obvious and honestly a little mind-blowing. This is a fantastic way to make an abstract topic like “light spectrum” feel real and hands-on for kids.

Best for: Grades 3 and up, science fair projects, homeschool light and color units, STEM clubs.
Time to Build: About 30-45 minutes per spectrometer.
Group Size: Works as a solo project or a classroom set, since each one is cheap enough to make many at once.
Adult Supervision Needed: Yes, for the cutting steps.

Four completed cardboard spectrometers with colorful twist caps ready to use
DIY Flower Bouquet Activity Kit Printable Flower Bar Craft Station for Parties
Download the Flower Bar Printable Activity Kit

What You’ll Need

One old CD or DVD (a scratched or unwanted one is perfect)

A cardboard tube, such as a mailing tube, or a short length of PVC pipe if you want something sturdier

A short piece of thin iron or steel wire, long enough to wrap around the tube once

Strong adhesive tape (electrical tape works great)

Two end caps for the tube, either 3D printed, cut from plastic bottle caps, or repurposed from something similar

Scissors or a craft knife

A drill or a sharp tool for making a small hole

Sandpaper, to smooth rough edges

Glue

Materials needed to build a DIY cardboard spectrometer including CD, tube, and wire

How to Build It

Step 1: Cut your viewing hole.

About one inch from one end of the tube, drill or carefully cut a small round hole. This will be your eyepiece, so keep it small, about the width of a pencil. Sand the edges so it’s smooth and comfortable to look through.

Drilling the viewing hole in a cardboard tube for a DIY spectrometer

Step 2: Cut your CD into a wedge.

Using scissors or a craft knife, cut a single wedge-shaped slice out of the CD, similar to cutting one slice out of a pizza. This wedge is the mirror that will split the light into colors, so handle it carefully and avoid scratching the shiny side.

Cutting a CD into a wedge shape for a cardboard spectrometer reflector

Step 3: Size the wedge to your tube.

The wedge should be just slightly wider than the inside diameter of your tube, so it fits snugly when placed inside.

Sizing a CD wedge to fit inside a cardboard spectrometer tube

Step 4: Glue the CD wedge in place.

Position the wedge just below the viewing hole, with the shiny reflective side facing up toward the hole. Angle it at roughly 35-40 degrees. You’ll know you’ve nailed the angle when you look through the hole and see a clear rainbow appear. Once you’re happy with the angle, glue the wedge in place.

Gluing the CD wedge at the correct angle inside a cardboard spectrometer tube

Step 5: Add the stop ring.

Bend your piece of wire into a ring that fits snugly around the outside of the tube, near the opposite end from the viewing hole. Wrap electrical tape tightly around the wire ring to secure it firmly to the tube. This ring will let your end cap twist smoothly while staying securely attached.

Wire stop ring taped around a cardboard tube to hold the spectrometer cap in place

Step 6: Attach the rear cap.

Fit a plain cap over the wire ring end. It should twist easily but stay snugly in place. This cap does not need any hole or slit.

Attaching the rear cap to a homemade cardboard spectrometer

Step 7: Attach the front cap with a slit.

On the second cap, cut a narrow slit, about 1 millimeter wide, right through the center. This slit is what controls the light entering your spectrometer, and it’s what lets you focus in on a clean, sharp rainbow.

Cutting a narrow slit into the front cap of a DIY spectrometer

Step 8: Fine-tune the fit.

Adjust the wire ring and the number of tape layers until both caps twist smoothly but don’t fall off. A little trial and error here is completely normal, and it’s honestly part of the fun for kids who like tinkering.

Adjusting the cap fit on a cardboard spectrometer for smooth rotation

Step 9: Test it out.

Point the slit end toward a light source, such as a lamp, a window, or an overhead fluorescent light, and look through the viewing hole. You should see a beautiful, glowing rainbow appear. Rotate the front cap slowly to see how the pattern shifts and changes.

Child testing a cardboard spectrometer by looking toward window light

The Science Behind the Rainbow

Here’s where this project turns into a real lesson. Every light source gives off its own unique combination of colors, called a spectrum. A sunny window, an old-school incandescent bulb, a fluorescent tube, and an LED lightbulb all look roughly the same shade of white to our eyes, but they are actually made up of very different combinations of wavelengths.

Fluorescent lights, for example, tend to show up as a few sharp, separated bands of color, since they only emit light at specific wavelengths. Incandescent bulbs and daylight tend to show smoother, more gradual rainbows, since they emit a broader, more continuous range of color.

Have your students or kids point their spectrometer at different light sources around the house or classroom, and record what they observe. A lamp with an incandescent bulb, an LED desk lamp, a fluorescent office light, and a sunny window will all produce noticeably different patterns. This turns a fun craft into a genuine, guided science experiment.

Comparison chart of light spectrums for daylight, LED, and fluorescent bulbs

Pro Tip

If the rainbow looks faint or blurry the first time you look through your spectrometer, don’t give up. Try adjusting the angle of the CD wedge in very small increments, and slowly rotate the front cap while looking through the eyepiece. Small adjustments make a big difference here, so patience pays off.

Teacher demonstrating a homemade cardboard spectrometer to elementary students

Fun Variation

For an extra layer of learning, challenge kids to predict what a light source’s spectrum will look like before they test it, then compare their prediction to what they actually see. This simple hypothesis-and-test approach mirrors exactly how real scientists work, and it’s a wonderful way to sneak in some scientific method practice without it feeling like a worksheet.

A Word on Safety

Cutting the CD and drilling the viewing hole should be done by an adult or with direct adult supervision, since both steps involve sharp tools. Once assembled, the spectrometer itself is completely safe for kids to use and handle on their own.

With a project this simple and this rewarding, you have got an easy, low-cost way to turn any classroom or kitchen table into a science lab. And that is exactly the kind of hands-on, memorable learning moment that turns a regular afternoon into one your kids will be talking about for weeks.

  • Facebook
  • Share on X
  • LinkedIn
  • WhatsApp
  • Email
  • Copy Link
STEM Activities

Post navigation

Previous post
Next post

PlayPartyGame

Email: [email protected]

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Baby Shower
  • Bachelorette
  • BBQ Party Ideas
  • Birthday
  • Bridal Shower
  • Camping
  • Card Game Review
  • Card Games
  • Casino Card Games
  • Christmas
  • Dice Games
  • Drinking Games
  • Easter
  • Easy Party Food Ideas
  • Fall Thanksgiving
  • Father's Day
  • Guessing & Mystery Games
  • Halloween
  • Healthy Party Food Recipes
  • Kids Party Ideas
  • Memorial Day & 4th of July Crafts for Kids
  • Mother's Day
  • Party Games
  • Poker
  • Pool Party
  • Rummy Card Games
  • Scavenger Hunt
  • Shedding Card Games
  • Solitaire Card Games
  • St. Patrick's Day
  • STEM Activities
  • Summer Crafts & Activities for Kids
  • Summer Party Ideas
  • Tea Party Ideas
  • Trick Taking
  • Valentine's Day
DMCA.com Protection Status

About Us | Privacy Policy | Terms of Service | Contact Us

Disclaimer: As an Amazon Associate, we may earn a commission from qualifying purchases at no additional cost to you.

©2026 Play Party Game | WordPress Theme by SuperbThemes
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}