DIY RGB LED Goggles

by theSTEMpedia in Circuits > Electronics

3925 Views, 26 Favorites, 0 Comments

DIY RGB LED Goggles

thumbaa.jpg

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: http://thestempedia.com/projects.

What Will You Need?

Materials Required.jpg

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.

Taking the Cut Outs

Goggles Cutouts.png
Goggles Cutouts.jpg

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.

The Shaping the Frame of Sunglasses

Goggle Front.png
Goggles Front.jpg

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

Shaping of the Spectacles

Goggle Side.png
Goggles Back Frame.jpg

Next, cut holes in the second Part A.

Adding Details to the Sunglasses

Assembly1.jpg

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.

Attaching Servo's Support

Assembly2.jpg

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

Covering the Servo

ServoMounting.gif

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

Attaching Servo's Horn

Servo Horn.gif

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.

Attaching the Servo

Assembly4.gif

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.

Assembling the Sunglasses and Spectacles

Assembly 5.gif

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.

Seeing It in Action!

Goggles Testing.gif
2018-08-11 at 10-42-52.png
Googles.jpg

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!

Upgrade Your Goggles!

LED goggles.jpg

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.

Connect the Ends

RGBLED Strip.png

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.

Circuit Diagram of RGB Goggle

RBGLED Goggles_bb.png

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.

Coding the RGB Goggles

Patterns.gif

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!

To explore more project visit: http://thestempedia.com/projects.