| MIDI Glove Bill of Materials | ||||
| Part | Number | Price Per Part | Total Price | Link |
| Teensy 3.2 | 2 | $20.00 | $40.00 | https://www.sparkfun.com/products/13736 |
| Small FSR | 10 | $6.00 | $60.00 | https://www.sparkfun.com/products/9673 |
| Large FSR | 1 | $7.00 | $7.00 | https://www.sparkfun.com/products/9375 |
| Short Flex Resistor | 4 | $8.00 | $32.00 | https://www.sparkfun.com/products/10264 |
| Buttons | 8 | $0.50 | $4.00 | https://www.sparkfun.com/products/9190 |
| LCD Screen | 1 | $16.00 | $16.00 | https://www.sparkfun.com/products/709 |
| Gloves Pair | 1 | $5.00 | $5.00 | |
| 10k Resistor | 10 | $0.05 | $0.50 | https://www.sparkfun.com/products/10969 |
| 27k Resistor | 4 | $0.05 | $0.20 | https://www.sparkfun.com/products/10969 |
| 330 Resistor | 6 | $0.05 | $0.30 | https://www.sparkfun.com/products/10969 |
| Wrist Strap | 1 | $3.00 | $3.00 | McGuckins |
| Door Stoppers Pack | 1 | $3.00 | $3.00 | McGuckins |
| RGB LED | 2 | $2.00 | $4.00 | https://www.sparkfun.com/products/10820 |
| Coin Cells | 4 | $1.00 | $4.00 | |
| Wire,heat shrink, etc. | 1 | $10.00 | $10.00 | |
| Total | $189.00 | |||
Tuesday, April 5, 2016
Bill of Materials
Monday, March 14, 2016
Andy Chuong, Brady Risendal, and Kristof Klipfel
ATLS 3519 – Object
Project 2: Artificial Human Companion
Rockstar
Description and Summary of Project:
For our project, we decided to create a “stuffed rock” that plays rock music. The goal of this is to have a teddy bear-like companion that plays music. This would be an object you could lay in bed with, place on your desk, throw across the room, or punch. The initial plan was to be able to throw the figure and have it played music based off of the acceleration of the figure but had trouble with . We also wanted to have the figure have a squeezable feature similar to many stuffed animals.
The process of creating this object started with the enclosure. We cut up a pair of jeans we found in the BTU Lab. To create the sphere like shape we used the template below:
After cutting out the piece into the shape of our template, we used hot glue to “stitch” the figure together. We left one seam open to allow us to remove/add stuffing to the inside. We also left a hole on the left and right sides to add speakers. To give our sphere/rock a companion feel, we added googley eyes to it.
The next step was to figure out the electronics for this. We wanted to be able to enclose the figure and not have external wires. To do this, we tried a couple different audio shields and break out boards.
The first one was the SparkFun Audio-Sound Breakout Board. (https://www.sparkfun.com/products/11125)
It turned out to be more of a hassle than we had planned. The first problem we ran into with this board was that it needed a 1GB micro SD card which is surprisingly hard to find nowadays. After finding one online and waiting for it to arrive, we tried triggering audio again. Even with the correct micro SD card, we still weren’t able to get an audio output. We checked everything with a multimeter and our circuit seemed to be good. The only strange occurrence was a constant change in input voltage to the board. After a while we decided to change boards and go for the Sparkfun MP3 Player Shield.
The second one (https://www.sparkfun.com/products/12660)proved to be much better. We were able to stack the shield right on top of the Redboard and successfully feed power to it. We then followed the Sparkfun MP3 Shield Tutorial. ( https://learn.sparkfun.com/tutorials/mp3-player-shield-hookup )
After getting the MP3 Shield to play the audio file we needed to increase the volume of the speaker. We originally couldn’t get the speaker to play loud enough. We decided to add the Sparkfun Mono Audio Amp Breakout and used it to boost the volume of the speaker. (https://www.sparkfun.com/products/11044)
Personal Impression
Working on this project in a group was a very good experience. I think we all did a pretty equal amount of work and when we ran into errors it was nice having other people to help come up with trouble shooting ideas. I feel like we all learned quite a lot and could reproduce this project individually if we were to do it ourselves. I think doing this project as part of this group was very helpful to me and was also very fun.
Parts:
Project Specific:
Mp3 Shield: https://www.sparkfun.com/products/12660
General:
Button
Wire
Male and female crimps
Cloth material (jeans used in this project)
Hot glue
Googley Eyes (Optional)
9v battery with barrel adapter for the Redboard (or another similar power supply)
Wiring Diagram
Made using Fritzing
The Fritzing file can be downloaded from: https://creative.colorado.edu/~anch3636/object/proj2.fzz
Code:
In order to actually get the code working we had to install a separate library called the SFEMP3Shield Library to the Arduino IDE. The library repository can be found here:
We first uploaded one of the simple sketches found in the SFEMP3Shiled library examples called FilePlayer. Once we had the code working through the Serial Monitor we extracted some code from further down and added an if statement to increase the volume to max, trigger, and play the MP3 file with a button click.
if (xValue == 1023){
//Serial.write("+++++++++++++++++++++++");
//Serial.write(1);
MP3player.setVolume(0, 0);
MP3player.playTrack(1);
}
To prevent clutter, the code can be downloaded/viewed from: http://creative.colorado.edu/~anch3636/object/project2_file_player.ino
Images of Final Product
Videos of Final Project
Interaction Diagram
Wednesday, March 9, 2016
Midi Glove Updates and Pictures
Here are a few pictures of the updated glove so far:
All the pressure sensors and flex sensors are working and there are also 2 buttons by the thumb allowing navigation within the program.
I struggled for many hours to configure the Arduino IDE to be able to send and receive MIDI, Serial, and Keyboard commands.
I had to configure the usb_conf.h file to allow keyboard commands to be sent.
I have also attached an LCD screen to program the 5 fingers to different scales.
I will upload a video of me using it soon.
All the pressure sensors and flex sensors are working and there are also 2 buttons by the thumb allowing navigation within the program.
I struggled for many hours to configure the Arduino IDE to be able to send and receive MIDI, Serial, and Keyboard commands.
I had to configure the usb_conf.h file to allow keyboard commands to be sent.
I have also attached an LCD screen to program the 5 fingers to different scales.
I will upload a video of me using it soon.
Object Project 2 Brief and Pictures
For our project 2 we have decided to build a pet rock that is interpreted in a different way than the well known "Pet Rock". We are going to build a stuffed "rock" that has a microcontroller inside and that plays rock music when triggered.
We hope to have it look like a rock while at the same time giving it some personality and living characteristics like eyes and possibly a mouth.
Below are some pictures of some steps along the building process.
We have been using the Sparkfun audio breakout board that you can see in the middle of the screen. The purpose of the board is to play audio files with the click of a button.
Unfortunately for us it didn't work out quite that well. We tried every thing we could to troubleshoot the problem but we couldn't figure out how to get it working. We followed tutorials exactly and did every kind of testing we could from amperage, voltage, conductivity, etc and had no luck. The only odd thing we came across was that we were only getting 1.1 volts to the board and that value kept on gradually increasing and decreasing.
So next thing we did was purchase the Sparkfun MP3 shield to fit on the redboard. After some fiddling with drivers and libraries, we got the board to flash and also got it to play music. Our problem right now is getting enough power to the board to make the speaker loud enough.
Next step is to hook up a button and a 9v battery to the board and have the rock music played on button press. Once we have that, we will just put it inside our stuffed pet rock and we will be ready to rock out.
We hope to have it look like a rock while at the same time giving it some personality and living characteristics like eyes and possibly a mouth.
Below are some pictures of some steps along the building process.
We have been using the Sparkfun audio breakout board that you can see in the middle of the screen. The purpose of the board is to play audio files with the click of a button.
Unfortunately for us it didn't work out quite that well. We tried every thing we could to troubleshoot the problem but we couldn't figure out how to get it working. We followed tutorials exactly and did every kind of testing we could from amperage, voltage, conductivity, etc and had no luck. The only odd thing we came across was that we were only getting 1.1 volts to the board and that value kept on gradually increasing and decreasing.
So next thing we did was purchase the Sparkfun MP3 shield to fit on the redboard. After some fiddling with drivers and libraries, we got the board to flash and also got it to play music. Our problem right now is getting enough power to the board to make the speaker loud enough.
Next step is to hook up a button and a 9v battery to the board and have the rock music played on button press. Once we have that, we will just put it inside our stuffed pet rock and we will be ready to rock out.
Tuesday, February 16, 2016
Documentation
MIDI GLOVE
Interaction with music is something that has driven me to do a variety of projects over the past few years with this being the most recent and involved project to date.
The idea behind my MIDI Glove is to be able to compose, control, and manipulate music just using the dexterous properties of your hands.
The glove is meant to act as a midi controller for any DAW (Digital Audio Workstation) to record melodies, loops, etc. to create music in a non-conventional, more interactive way.
The Glove is composed of many different sensors, each with a different purpose and completely customizable. Each sensor can trigger different parameters within the program to allow the user to control the music in whatever fashion fits their style best.
The glove itself is composed of 9 sensors and 2 buttons. There is a pressure sensor on each of the five fingers and there is a flex sensor on the back of each finger excluding the thumb.
The 5 pressure sensors are FSRs (Force Sensitive Resistors) that register different resistances based on the pressure on the sensor. This allows for velocity sensitive control meaning the harder the sensor is pressed, the louder the volume value will be sent in the MIDI signal.
On the back of 4 fingers there are bend resistors that change resistance the further they are bent. These are used to change variable values within the program such as frequency control, volume control, effect presence within a sound, etc.
The glove allows for many different combinations of controls and movement to expressively interact with the music.
Below you can see pictures of the current build stage of the glove.
Thursday, February 4, 2016
Sewing
Next step was to figure out how to secure down the sensors so that I could test all the components together. I thought I might try to sew each individual one down.
I quickly learned two things:
First, that I am terrible at sewing
Second, that sewing each individual component was not the most efficient way to go about it.
I quickly learned two things:
First, that I am terrible at sewing
Second, that sewing each individual component was not the most efficient way to go about it.
Subscribe to:
Posts (Atom)