Rainbow QRFlasher: Turn Your QR Code Into a Colorful Light Show!
by thunder_ir in Circuits > LEDs
219 Views, 3 Favorites, 0 Comments
Rainbow QRFlasher: Turn Your QR Code Into a Colorful Light Show!

What if your QR code could shine in all the colors of the rainbow?
With Rainbow QRFlasher, your static black-and-white code transforms into a vibrant, blinking light show—grabbing attention and making scanning easier, more fun, and futuristic!
Rainbow QRFlasher is a simple yet eye-catching project designed to make your QR codes stand out. By using colorful blinking LEDs, the QR code becomes more visible and attractive—perfect for exhibitions, shops, creative displays, or personal DIY projects. With low-cost, easily accessible components, you can build it in just a few steps—even if you're a beginner.
This project brings together functionality and creativity, adding a layer of interactive color to something as common as a QR code.
✨ Features
- 🌈 Dynamic LED Blinking: Makes your QR code glow, blink, and dance in vivid rainbow colors.
- 💰 Low Cost: Built with affordable, commonly available components.
- 🔧 Easy to Assemble: Great for beginners, students, and hobbyists.
- 🎨 Customizable: Adjust the LED patterns, colors, and QR code design to match your style.
Supplies
Parts:
- Small plastic box – (e.g. cheese or food container, ~7×10cm)
- 2 or more Self-Flashing RGB LEDs – common cathode or anode types
- Battery holder – for 2×1.5V AA or AAA batteries
- Wires – thin and flexible for easy soldering
- Transparent paper – such as:
- Vellum paper
- Tracing paper
- Translucent paper
- Butter paper (optional)
- Transparency sheet (acetate sheet) – printable with laser printer
- Aluminum foil – for inner reflection and light diffusion
- Printed QR Code – on the transparency sheet
Tools:
- Soldering iron – for connecting LEDs and wires
- ✂️ Scissors or precision cutter – for trimming paper and transparency
- ️ Paint or permanent marker – to cover the box (optional)
- ️ Laser printer – to print the QR code on the transparency (Don't worry if you don't have one. no need to sell your kidney for it! Just visit a local print shop and they'll do the job for less than a cup of coffee)
- Glue or glue stick – to attach QR and paper layers
- Hot glue gun – for securing components inside the box
- Ruler and pencil – for layout and alignment (optional)
Preparing the Box



- Take the plastic box and clean it thoroughly.
- After cleaning, paint the box with your desired color to give it a neat and polished look. You can choose any color that fits the aesthetic of your project.
- Cut a square hole measuring approximately 8 cm by 8 cm on the front side of the box. This will be the window where the LEDs will shine through, enhancing the visibility of the QR code. You can use a sharp cutter (X-Acto knife or utility knife) for this step. Be careful and make sure the edges are clean and smooth.
Making the Reflector



To enhance the reflection of the LEDs and create a more striking effect, we’ll place the LEDs inside a reflector made of cardboard. This reflector will act like a spotlight, amplifying the light and ensuring that the LEDs shine brightly and draw attention to the QR code.
The reflector should be trapezoidal in shape. This specific shape helps in focusing the light from the LEDs in a way that enhances the effect of blinking colors.
Based on the size of the plastic box you’ve chosen, you can create the trapezoidal shape using cardboard. The reflector I’ve created, based on the size of the box, has the following dimensions: the top measures 7 cm by 7 cm, the bottom is 5 cm by 5 cm, and the height of the trapezoidal reflector is around 4.5 cm. These dimensions can be customized depending on the size of your box.
If you want, you can download the template I’ve prepared in PDF format. This template will help you easily
After you have created the trapezoidal reflector, it's important to line the inside with aluminum foil. This will help enhance the reflectivity and direct the light more effectively.
- Cut a piece of aluminum foil slightly larger than the inner surface of the reflector.
- Carefully attach the foil to the inside of the reflector using glue or tape, ensuring that the shiny side is facing outward. This will help maximize the light reflection and create a stronger visual effect when the LEDs blink.
This simple step will make your reflector much more efficient in amplifying the light from the LEDs.
Downloads
Wiring the LEDs

In this step, we will wire the LEDs to the power source. You will need at least two Self-Flashing RGB LEDs or more, and they should be connected in parallel. This means that the cathodes (negative terminals) should be connected together, and the anodes (positive terminals) should also be connected together.
- Connecting the LEDs:
- Carefully connect the cathodes (the shorter legs) of the LEDs to each other using wire.
- Similarly, connect the anodes (the longer legs) of the LEDs to each other using wire.
- The wires should be of an appropriate length—not too short that they can’t reach the reflector, and not too long to avoid clutter inside the box. Ensure that the wires are long enough to connect the LEDs to the battery compartment but not excessively long to create unnecessary space and mess.
- Connecting to the Battery:
- The connected cathodes and anodes will be attached to the battery compartment. Make sure you connect the anodes to the positive terminal (+) of the battery and the cathodes to the negative terminal (−).
- You can also include a switch in the circuit to control the on/off state of the LEDs. This will make it easier to turn the LEDs on and off when needed.
- Alternatively, you can disconnect the batteries when you want to turn off the LEDs. Simply remove the batteries to stop the LEDs from flashing.
- Using Different Battery Types:
- While two 1.5V batteries work well for this project, you can experiment with other types of batteries. Just ensure the voltage is suitable for your LEDs and won’t damage them. You can use either rechargeable or regular batteries, depending on your preference and the desired runtime for the device.
Attaching the LEDs and Reflector



Now that the LEDs are wired and the reflector is lined with aluminum foil, it's time to mount the LEDs into the reflector and secure everything neatly inside the box.
- Drilling Holes in the Reflector:
- Create small holes with a diameter of about 5 mm on the surface of the reflector. These holes will hold the LEDs in place.
- Make sure the holes are not too big—if they are, the LEDs might slip out. At the same time, they should not be too small, or you won’t be able to insert the LEDs properly.
- The number of holes depends on how many LEDs you are using. Space them evenly to ensure good light distribution.
- Inserting the LEDs:
- Carefully insert each LED into its corresponding hole.
- Make sure the legs of the LEDs pass through the holes without forcing or bending them too much.
- Securing the LEDs:
- Use hot glue or any strong adhesive to secure the LEDs to the reflector. Apply the glue around the base of each LED to prevent movement.
- Ensure that the LEDs are tightly fixed and do not wiggle inside the holes.
- Avoiding Short Circuits:
- Be cautious that the LED wires do not touch the aluminum foil lining inside the reflector, as this could cause a short circuit.
- You can use electrical tape to cover exposed parts of the wires if necessary.
- Mounting the Reflector to the Box:
- Once the LEDs are secured, attach the entire reflector to the inside of the plastic box using glue.
- Position it carefully so that the light shines directly through the square window you cut earlier.
- Organizing the Wires:
- Neatly organize the wires inside the box. Use small cable ties or tape if needed to keep them from tangling.
- Make sure the wires are positioned in a way that does not block the light from the LEDs.
- Placing the Battery Holder:
- Finally, place the battery holder inside the box in a convenient location. It should be easy to access if you need to replace the batteries.
- You can use double-sided tape or hot glue to secure it in place.
- Adding Diffusion (Optional but Recommended)
- To improve light diffusion and create a softer glow, you can place a thin layer of polyester fiberfill (commonly used in pillows and stuffed toys) inside the reflector.
- This helps scatter the light evenly and hides the individual LEDs, so only the glow is visible.
- Make sure not to block too much light—use just enough fiberfill to cover the LEDs lightly.
Creating and Attaching the Cover


To make the device look more attractive and well-finished, you can cover the lid of the box with a custom-made decorative cover. This cover not only improves the appearance but also helps diffuse the light from the LEDs for a more eye-catching effect.
- Preparing the Cover:
- Cut a piece of thick paper or cardstock to match the dimensions of the box lid.
- Create a square cutout in the cover that aligns with the square hole you made on the lid in Step 1.
- The square cutout on the cover should be slightly smaller than the one on the box lid. This will help concentrate the light for a sharper look.
- Download the Template (Optional):
- I have prepared a ready-made template for the cover design that you can download in PDF format.
- If you prefer, you can also design your own cover based on the size and style of your box.
- Adding a Diffuser:
- To make the LED light spread more evenly and look softer, you can place a piece of Vellum Paper or Tracing Paper behind the square cutout on the cover.
- Simply cut the translucent paper to the right size and glue or tape it behind the square opening. This will diffuse the LED light beautifully.
- Protecting the Cover:
- To keep the cover clean and free from stains, you can apply transparent tape or clear adhesive film over the entire surface. This also helps prevent scratches during use.
- Attaching the Cover to the Box Lid:
- Finally, attach the finished cover to the lid of the box using double-sided tape or glue.
- Make sure it is properly aligned with the hole in the box so the LED light shines through perfectly.
Downloads
Creating and Placing the QR Code

One of the key features of the QRFlasher device is its eye-catching QR code, which becomes even more noticeable with the LED flashing effect. Here’s how to create and place it:
- Generating the QR Code:
- To generate the QR code, you can use various online QR code generators such as QR Code Generator, QRCode Monkey, or mobile apps that support QR creation.
- Enter the URL of your Instagram page (or any link you want to share) and generate the QR code.
- Make sure the generated QR code is clear and not overly complicated for easy scanning.
- Printing the QR Code:
- After generating the QR code, print it on transparent paper (such as clear sticker paper or transparency film) to allow the light to pass through easily.
- The size of the QR code should match the square cutout on the cover created in Step 5. Adjust the size before printing to ensure a proper fit.
- Cutting and Trimming:
- Carefully cut out the printed QR code, making sure the edges are clean and straight.
- If you printed it on transparency film, you might need to use scissors or a sharp blade for precise cutting.
- Placing the QR Code on the Cover:
- Attach the QR code to the inside of the square cutout on the decorative cover.
- You can use clear adhesive to secure it firmly.
- Make sure it is perfectly aligned so that the LED light shines through and makes it more noticeable.
Optional: Add a Handle

Depending on how you plan to use your QRFlasher, you might want to hang it from a surface like a wall, a shelf, or even a backpack. In such cases, adding a simple handle or hanging bracket can make it more convenient to mount or carry.
This feature is completely optional and may not be needed for all use cases.
You can make the handle out of any material you have on hand — plastic, metal, wood, or even a sturdy piece of wire. I used a small metal strip, bent into shape and attached to the main body of the QRFlasher using screws. It works well for hanging the device or securing it with a hook or string.
Finished Device – Gallery





Here are some shots of the completed Rainbow QRFlasher in action.
The colorful LEDs light up the QR code beautifully, making it eye-catching and fun.
Whether you're showing it off at an event or placing it on your desk, it's sure to grab attention!
If you build your own Rainbow QRFlasher, I'd love to see it! Share your version in the comments.