Introduction: DIY RGB LED Goggles

About: STEMpedia is a place bringing project-making tools at one place- kits, online courses, coding platforms, controller app and tons of free learning resources.

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 sunglasses 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 sunglasses, 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!

To explore more project visit:

Step 1: What Will You Need?

This can be made very easily at home by even a kid or an oldie! We need the following stuff:

  • Thick cardboard
  • Glue Gun and Glue Sticks
  • Straws
  • Paint (optional)

Electronic equipment required:

  • evive
  • A servo motor with its accessories.
  • Few Male-to-Female Jumper Cables.

Step 2: Taking the Cut Outs

Take the cardboard piece and from it cut out:

  • 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

Also, cut a small piece of straw.

Step 3: The Shaping the Frame of Sunglasses

Take one of Part A and cut it in the shape of sunglasses.

Step 4: Shaping of the Spectacles

Next, cut holes in the second Part A.

Step 5: Adding Details to the Sunglasses

Take Part E and paste it on one of its sides.

Next, take a small piece of straw and paste it on the other side.

Step 6: Attaching Servo's Support

Take the smallest cut out, i.e. Part C and paste it on one of the sides of Part A.

Step 7: Covering the Servo

Take Part B and wrap it around the servo and paste the two ends with glue.

Step 8: Attaching Servo's Horn

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.

Step 9: Attaching the Servo

Take two straws and paste it on both sides on Part A with holes in it.

Take Part E and make a small hole in it.

Then, paste the servo and Part E on the larger piece with holes cut out.

Step 10: Assembling the Sunglasses and Spectacles

Join the two large cutouts by fixing the small straw in the hole and insert the servo horn in the 6 cm x 2 cm piece of the sunglasses.

Fix them using the hot glue.

Step 11: Seeing It in Action!

You can decorate the goggles now.

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

Switch on your evive and navigate through the controls menu and select Servo 1. Now, turn the potentiometer knob and watch the glasses do their magic!

Step 12: Upgrade Your Goggles!

You can upgrade your goggles using RGB LED Strip. In this project, we have used 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.

Step 13: Connect the Ends

Solder the ends:

  • The ground of one LED strip to ground of other.
  • The 5V of one LED strip to 5V of other.
  • Dout of one LED strip to Din of another.

And your RGB Goggles are complete.

Step 14: Circuit Diagram of RGB Goggle

Connect the LED Strip as following:

  • 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.

Step 15: Coding the RGB Goggles

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

Below is the Arduino code for running these patterns:

Step 16: 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!

To explore more project visit:

Creative Misuse Contest

Participated in the
Creative Misuse Contest

Be the First to Share


    • Microcontroller Contest

      Microcontroller Contest
    • Fandom Contest

      Fandom Contest
    • Fried Food Challenge

      Fried Food Challenge



    4 years ago

    Pretty nice!
    Since this is a prototype will you be working putting this on Arduino?
    would be great if it is fully portable


    Reply 4 years ago

    @Lycasde Thank You for the comment.
    We will post the updated portable RGB Goggles in the future.


    4 years ago

    I'm sure the evive is a fine microcontroller\platform, but using an example of a pair of controllable sunglasses that make you completely blind when the shades are down due to the LED stripes and saying how it would be great to block out that hot sun when driving........don't mean to be negative here, but you may want to rethink your sales example.


    Reply 4 years ago

    Hi sagelike,

    Thank you for your comment. We are just trying to share the Instructables community projects made with evive. This helps us to spread awareness about our platform and the different thing they can do with it.

    I hope you understand that.



    4 years ago

    looks great!
    do the goggles need to stay connected to the evive the whole time? or can you remove it after programming the led patterns?


    Reply 4 years ago

    Thanks @jbain6,

    To run the RGB LED, you need to have a microcontroller (evive in this case) and a power supply (a battery or evive inbuilt battery).

    For making a compact on we need to have the circuit and the battery on the goggles itself (or the handles).

    This is just a working prototype of the RGB LED Goggles.


    Reply 4 years ago

    Gotcha. Thanks for the reply!