# STEAM-Punk Goggles

## Overview and Materials

https://vine.co/v/hXPXPDabFXi

 **Science + Technology + Engineering + Art + Math =** [**STEAM**](http://stemtosteam.org/)

Everyone loves funky goggles and the Adafruit Neopixel rings are perfect for building a flashy pair. To kick it up a notch, we STEAMed up these goggles with some high tech sensors and a bit of applied math and physics.

The goggles are controlled by a Flora microcontroller with a LSM303 accelerometer/magnetometer to track the motion of the wearer’s head. A simple physics engine implements virtual pendulum display on the LED rings that swings in response to the motion of the wearer. The effect is much like a pair of hyperactive electronic googly eyes.   
  
Everywhere we go with these, people ask us where they can get a pair!  
![](https://cdn-learn.adafruit.com/assets/assets/000/011/432/medium800/projects_2013_10_05_IMG_2190-1024.jpg?1380998107)

# Materials:

- 1 pair of Goggles - Any pair of goggles with 50mm lenses will be a perfect fit for the neopixel rings. The prototype for this project was built with [these German-made safety goggles](http://www.leevalley.com/en/wood/page.aspx?cat=1%2C42207&p=70788 "Link: http://www.leevalley.com/en/wood/page.aspx?cat=1%2C42207&p=70788") - using the optional tinted lenses.  
- 2 [Adafruit Neopixel Rings](http://www.adafruit.com/products/1463)  
- 1 [Adafruit Flora](http://www.adafruit.com/products/659) (the code will NOT fit onto a Trinket or Gemma)  
- 1 [Adafruit Flora LSM303 Magnetometer/Accelerometer](http://www.adafruit.com/products/1247 "Link: http://www.adafruit.com/products/1247")  
- 1 [3xAAA Battery Pack](http://www.adafruit.com/products/727)  
- Scrap of Leather or Upholstry Vinyl for mounting electronics to the temple.

## Optional:

- 1 [53mm Watchmaker's Case](http://www.leevalley.com/en/wood/page.aspx?p=44948&cat=1,43326,44948 "Link: http://www.leevalley.com/en/wood/page.aspx?p=44948&cat=1,43326,44948") to house the Flora & Sensor  

## Tools:and Supplies:

- 22 AWG **stranded** hookup wire (solid core wire is not suitable for this project)  
- [Servo extension cable](http://www.adafruit.com/products/972 "Link: http://www.adafruit.com/products/972") (optional)
- [Soldering Iron & soldering supplies](http://learn.adafruit.com/adafruit-guide-excellent-soldering "Link: http://learn.adafruit.com/adafruit-guide-excellent-soldering")  
- Needle & Thread  
- Scissors  
- Hot glue gun  
- Double sided foam tape or GOOP adhesive  

https://vine.co/v/hXPH5WFw2dP

- [Next Page](https://learn.adafruit.com/steam-punk-goggles/assembly-and-wiring.md)

## Featured Products

### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers

[NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/1463)
Round and round and round they go! 16 ultra bright smart LED NeoPixels are arranged in a circle with 1.75" (44.5mm) outer diameter. The rings are 'chainable' - connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can...

In Stock
[Buy Now](https://www.adafruit.com/product/1463)
[Related Guides to the Product](https://learn.adafruit.com/products/1463/guides)
### FLORA Accelerometer/Compass Sensor - LSM303

[FLORA Accelerometer/Compass Sensor - LSM303](https://www.adafruit.com/product/1247)
Add motion and direction sensing to your wearable FLORA project with this high precision 3-axis Accelerometer+Compass sensor. Inside are two sensors, one is a classic 3-axis accelerometer, which can tell you which direction is down towards the Earth (by measuring gravity) or how fast the board...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1247)
[Related Guides to the Product](https://learn.adafruit.com/products/1247/guides)
### 3 x AAA Battery Holder with On/Off Switch and 2-Pin JST

[3 x AAA Battery Holder with On/Off Switch and 2-Pin JST](https://www.adafruit.com/product/727)
This battery holder connects 3 AAA batteries together in series for powering all kinds of projects. We spec'd these out because the box is slim, and 3 AAA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries and have an on-off switch. That makes...

In Stock
[Buy Now](https://www.adafruit.com/product/727)
[Related Guides to the Product](https://learn.adafruit.com/products/727/guides)
### Servo Extension Cable - 30cm / 12" long -

[Servo Extension Cable - 30cm / 12" long -](https://www.adafruit.com/product/972)
Stretch out your servo connections with this flexible servo extension cord. It has a 3 pin shrouded "male" connection to plug your servo into and then, 30cm later, a 3 pin female connection. It even keeps the common red/black/white color coding. A great add-on to our <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/972)
[Related Guides to the Product](https://learn.adafruit.com/products/972/guides)
### Lithium Ion Polymer Battery - 3.7v 1200mAh

[Lithium Ion Polymer Battery - 3.7v 1200mAh](https://www.adafruit.com/product/258)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 1200mAh for a total of about 4.5 Wh. If you need a larger battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/258)
[Related Guides to the Product](https://learn.adafruit.com/products/258/guides)

## Related Guides

- [3D Printed NeoPixel Ring Hair Dress](https://learn.adafruit.com/neopixel-ring-hair-dress.md)
- [Adafruit Flora Bluefruit LE](https://learn.adafruit.com/adafruit-flora-bluefruit-le.md)
- [Bluetooth LE MIDI Controller](https://learn.adafruit.com/bluetooth-le-midi-controller.md)
- [Adafruit Arduino Selection Guide](https://learn.adafruit.com/adafruit-arduino-selection-guide.md)
- [Let’s Put LEDs in Things!](https://learn.adafruit.com/lets-put-leds-in-things.md)
- [FLORA & Codebender](https://learn.adafruit.com/flora-and-codebender.md)
- [Adafruit QT Py Activity Timer and Hydration Reminder](https://learn.adafruit.com/qt-py-activity-timer-and-hydration-reminder.md)
- [LPC824 NeoPixel IR Distance Sensor](https://learn.adafruit.com/lpc824-neopixel-ir-distance-sensor.md)
- [NeoPixel Ring Lamp](https://learn.adafruit.com/neopixel-ring-lamp.md)
- [Experimenting with NeverWet + Electronics](https://learn.adafruit.com/neverwet-electronics.md)
- [Flora MIDI Drum Glove](https://learn.adafruit.com/midi-drum-glove.md)
- [Citi Bike Helmet](https://learn.adafruit.com/citi-bike-helmet.md)
- [CircuitPython Media Dial](https://learn.adafruit.com/media-dial.md)
- [GEMMA Hoop Earrings](https://learn.adafruit.com/gemma-hoop-earrings.md)
- [Overwatch Prop Gun: Lucio's Blaster Pt. 3](https://learn.adafruit.com/overwatch-prop-gun-lucios-blaster-pt-3.md)
