Recently, I built a motion sensitive LED belt for a dance performance by my wife. In case it is of interest to others, this post will briefly describe how I made it.
Adding the accelerometer is very simple. The 3V in and ground are soldered with short wires to the corresponding pins on the Atmega32u4 breakout board, and wires from the X,Y, and Z outputs can be soldered to the F4, F5, and F6 pins (see here or here for a good diagram).
After a lot of tweaking, here is the code we actually used for the performance.
Featured Adafruit Products
Digital programmable LED belt kit: By popular demand, we now have a project tutorial for how to make your own programmable, ultra-blinky LED belt. Perfect for parties, raves, parades, weddings, funerals, and bar mitzvahs. Wear it with pride, wear it with blinky! Follow our soldering tutorial to build your own heirloom LED belt, and hand it down to your grandkids. (read more)
ADXL335 – 5V ready triple-axis accelerometer: We’ve updated our favorite triple-axis accelerometer to now have an on-board 3.3V regulator – making it a perfect choice for interfacing with a 5V microcontroller such as the Arduino. This breakout comes with 3 analog outputs for X, Y and Z axis measurements on a 0.75″x0.75″ breakout board. The ADXL335 is the latest and greatest from Analog Devices, known for their exceptional quality MEMS devices. (read more)
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Lessons Learned Scaling Airbnb 100X
Wearables — ABS ABC
Electronics — When do I use X10?
Biohacking — The Quantified Self Approach to Lowering Blood Glucose
No comments yet.
Sorry, the comment form is closed at this time.