Light up clothing has always been a crowd favorite. But what if light up clothing could be more exciting than just a piece of clothing with blinking lights on it?
For our project, we provide users with a piece of light up clothing that does far more exciting things than just blink. We are making a vest that is covered in LED light strips. We are incorporating a sound sensor and an accelerometer so that the LEDs on the vest will reflect the users' surroundings. Some of the LEDs will reflect data from the sound sensor and other LEDs will reflect data from the accelerometer. The LEDs connected to the sound sensor will blink to the beat of the music, making our vest a party must-have. The LEDs connected to the accelerometer will change color if the user spins, and the color will be determined based on the direction the user spins.
The vest, called “Zesty Vesty”, both reflects the user’s surrounding, as well as has an interactive portion to it. The goal of this project is to successfully integrate both sensors into the vest, and make an eye-catching piece of wearable technology that is exciting to users. We will be using Arduino (which uses C++) to read in data from the sensors and then display on the LEDs. We plan of having a button on the vest so that the user can turn the vest on and switch between different modes.
- Andre Cook
- Gillian Laming
- Kenneth McNelly
- TA: Chance Bayles
- Instructor: Jim Feher
- Understand how the Fast Fourier Transform works, and use it to read in data from the sound sensor
- Learn how to use and program on Arduino
- Have the Arduino reading in data from both sensors
- Connect the LED light strips with both the sensors so that they reflect the data
- Have the LEDs blink to beat of music and change color when the user spins
- Connect the buttons successfully with the Arduino so we can change modes
- Assemble all components together so that vest is wearable
We anticipate that we will face challenges coordinating all of the different aspects of the project (the two sensors and manipulating the LEDs). We plan on using a Fast Fourier Transform from the sound sensor, and because this is a new concept to us, it will take us some time to learn and understand. We were originally going to use a Raspberry Pi as the main component of our project, but in a last-minute pivot, decided to use Arduino. We will have to learn and understand how to use Arduino in a very short amount of time. Additionally, the vest will need to be worn by the user, so we need to make sure that it is both comfortable and practical. This could be difficult given the lights and features we intend on adding to the vest.
Splitter Charger Cable: $5.59
Power Plug Adapters: $6.39
LED light strips: $26.99
Sound Sensor: $13.76
Battery Pack: $19.19
Similar Pi Projects
These are some similar raspberry pi projects to ours. These will be helpful resources when we begin this part of our project next week.
- This project is for taking in temperature data and logging it for later viewing. Link
- Randomizes colors and location of blinking lights. Don't think will be super helpful, but may be a good starting point. Link
- Make lights dance to music using pi. Seems very helpful. Link
- Very similar pi project. Thorough tutorial of all of the necessary steps. Link
These projects are similar in that the lights are being controlled by a raspberry pi, but our project will incorporate additional sensors, and will be controllable from a user's phone.
- Tutorial for potentiometer circuit. We also got our code from this website.
- Website for Sound Sensor Tutorial: http://www.piddlerintheroot.com/sound-sensor/
- Light matrix: https://learn.adafruit.com/adafruit-rgb-matrix-bonnet-for-raspberry-pi/driving-matrices
- Github with code to test light matrix: https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/examples-api-use
- Tutorial for how to use accelerometer with light matrix https://learn.adafruit.com/matrix-led-sand/overview
- Helpful page on connecting iPhone with pi over bluetooth https://medium.com/@superlopuh/raspberry-pi-ios-communication-in-bluetooth-c7599e257f2
- Guide for sensor code https://www.raspberrypi-spy.co.uk/2013/10/analogue-sensors-on-the-raspberry-pi-using-an-mcp3008/
- accelerometer tutorial: https://learn.sparkfun.com/tutorials/mma8452q-accelerometer-breakout-hookup-guide/all
- Accelerometer + matrix tutorial: https://learn.adafruit.com/matrix-led-sand/overview
- Accelerometer resources: I2C https://www.raspberrypi-spy.co.uk/2014/11/enabling-the-i2c-interface-on-the-raspberry-pi/
- Arduino + Accelerometer: https://learn.sparkfun.com/tutorials/mma8452q-accelerometer-breakout-hookup-guide
Diagrams and Schematics
Here is our block diagram as of now for the project
Here is the schematic for our pi + matrix set up.
Here is the link to our GitHub repository.