Table of Contents

DIY RGB LED Goggles

DIY RBG Googles
Project Description

Introduction

It’s a calm Sunday afternoon and you’re wandering by the road lost in thought of what to have for dinner. Suddenly the glaring Sun pops up from behind the clouds breaking your chain of thoughts by its scorching heat.
How amazing it would be if you had a pair of goggles with controllable shades that you could control as per your wish and avoid the burning Sun! And, apart from coming to the rescue during the day, what if it could also make you party-ready in the night?

What if we told you CAN make such goggles, right here, right NOW?
Sounds incredible, right?

So, what are you waiting for? Time to show the Sun who’s the real boss AND become the centre of attraction of every party you go to!

Making the frame

  • Cut the following pieces from the Cardboard:
    • 2 pieces of 15 cm x 6 cm – Part A
    • 1 piece of 9 cm x 2 cm – Part B
    • 1 piece of 4 cm x 2 cm – Part C
    • 1 piece of 6 cm x 2 cm – Part D
    • 1 piece of 6 cm x 3 cm – Part E

Goggles Cutouts

Goggkes Cutouts

  • Also, cut a small piece of straw.
evive Notes Icon
You can change the dimensions as per your requirement.
  • Now, take one Part A and cut it in the shape of goggles.

Goggles Front

  • Then, take part E and paste it on one side. Next, take a small piece of straw and paste it on the other side.

Assembly1

  • Next, cut holes in the second Part A. 

Goggles Back Frame

  • Then take the smallest cut out, i.e. Part C and paste it on one of the sides of Part A with holes cut in it.

Connecting the Servo

  • Take two straws and paste them on both the sides of the back frame, i.e. Part A that has holes cut in it.
  • Then, take Part B and wrap it around the servo and paste the two ends with glue.

ServoMounting

  • Then, take the single sided servo horn and fix it on the servo head using the self-threading screw; the horn and the screw are available with the servo accessories.

  • Next, take Part E piece and make a small hole in it. Then, paste the servo and Part E piece on the larger piece with holes cut out as shown:

  • Finally, join the two large cutouts by fixing the small straw in the hole and insert the servo horn the Part D of the sunglasses and fix the assemblies using hot glue.

Powering It Up

  • Connect the three servo wires to servo motor channel S1. Make sure that the brown wire is connected to the leftmost pin.

Servo

  • Next, let the artist in you come alive and decorate the goggles any way you like!

Googles

  • Now, switch evive ON, navigate through the controls menu and select Servo 1. Now, turn the potentiometer knob and watch the goggles do their magic!
evive Notes Icon
You can extend the connection between the servo and evive by using other male-to-female jumper wires; this will let you keep evive away in a bag will you wear the sunglasses!

Upgrade RGB LED Strip

You can upgrade your goggles using RGB LED Strip. In this project, we’re using WS2812 RGB LED Strip.

  • Cut the LED strip into small pieces: 
    • 4 LED Strip: 8pcs
    • 3 LED Strip: 4pcs
    • 2 LED Strip: 2pcs
  • Mount the LED Strip on the front frame as shown below:

RGB Gogles

  • Solder the ends:
    • The ground of one LED strip to ground of the other.
    • The 5V of one LED strip to 5V of other.
    • Dout of one LED strip to Din of another. 

And your RGB goggles is complete.

Circuit Diagram of the RGB Goggles

Connect the LED Strip as follows:

  • GND of LED strip to GND of evive.
  • 5V of LED strip to 5V of evive.
  • Din of LED strip to digital pin 2 of evive.

RBGLED Goggles

Coding the RGB LED Patterns

For our goggles, we have made 8 different patterns in which the LEDs will glow. 

Below is the Arduino code for running these patterns: 

Conclusion

With this, we’re done with these SPECtacular sunglasses!

When you go out this time, it will be the Sun who will burn and the whole world will stop and turn back to marvel at your ahead-of-vogue looks!

Project Downloads - Code and Files

Circuit Diagram

Circuit Diagram DescriptionCircuit Diagram Fritzing Diagram

Servo Motor Connected to evive

RGB Goggles Connection to evive

Explore Related Projects by STEMpedia

Level up your robot control skills by learning how to control a 2-Wheel Drive Robot with hand gestures using PictoBlox AI's Machine Learning extension. Get ready to channel your inner Jean Grey!
Learn how to make a two-wheel-drive robot and code on the go with PictoBlox's mobile app. Control your robot in real-time with your smartphone!
Learn how to make an automatic chocolate dispenser to delight Santa this Christmas. All components can be found in the evive Starter Kit. Let's begin!

Explore Community Projects