Concept: Create a feedback loop between a motion sensor and MP3 player volume

I wanted to create a positive feedback system to encourage more activity during a workout. What I came up with is an MP3 player that is controlled by continuous activity. After working with it and discussing the project with friends, I believe this concept could be implemented many different ways and maybe even directly embedded in a media player. Someone even brought up that they change the volume on their iPod to hear the songs as they workout or run harder just to hear the song better.  Yeah Power Song!

My proof of concept uses a SparkFun MP3 Trigger, Parallax PIR Motion Sensor, and an ioBridge IO-204 Controller. When motion is detected by the PIR sensor, the IO-204 sends serial commands to the MP3 player to raise or lower the volume. An added benefit to using the IO-204 as the controller  is that  I have the ability to data log my activity when it's net-connected.

Step 1: Gather Up Components

Time to gather up your system components:

SparkFun MP3 Trigger
Parallax PIR Sensor
ioBridge IO-204 Controller
Project Enclosure
Micro SD Card with Favorite Songs
Hookup Wire
<p>I would like a mp3 shield, trigger or something similar.</p><p>I would like to send a 12v signal to the MP3 player. when the MP3 player receives the 12v power I would like it to automatically start playing an MP3 file. then when the 12v is removed the mp3 player stops playing. then when the 12v is supplied again it starts playing the same mp3 file.</p><p>I know i can do this quite simply with an arduino but can i do this without it?</p>
<p>From the product description</p><p>&quot;The board has 18 external trigger pins that will directly trigger pre-selected MP3 tracks, and a full-duplex serial control port that provides full transport control, remote triggering for up to 256 tracks&quot;. If possible, couldn't you just leave it powered? Then just take your 12v signal and regulate it to 5v:</p><ul> <br><li>Trigger inputs: 3.3-5V, active low inputs with internal pull-ups</ul><p>...and attach it to the trigger pin corresponding to the track you want. Same effect, but the .mp3 trigger is powered all the time. Otherwise, (not sure this will work) would be for your 12v signal to feed into the input for the .mp3 to turn it on, and then in parallel regulate the same source to 5v as described above, and hook that onto the trigger pin. There may be latency as the board &quot;boots&quot; and then reads the pin, or it may not like having its input pin triggered as its booting. Perhaps doesn't trigger until an edge change has happened. </p>
<p>Excellent I was hoping it might work. I would leave it powered all the time and use a push button to trigger the mp3 file. would this idea work with any mp3 shield. or is the trigger different in someway? thank you for your help.</p>
очень полезная штуковина спасибо. за инструкцию
Great project! Good luck wit&nbsp;the&nbsp;contest. Last month we blogged about your project.&nbsp;<a href="http://www.iobridge.net/projects/2010/04/feedback-mp3-player-and-activity-logger/" rel="nofollow">www.iobridge.net/projects/2010/04/feedback-mp3-player-and-activity-logger/</a>
&nbsp;This is cool, but how does it fit in with the Humana contest? &nbsp;Am I missing something?
The rules indicate that the contest asks people to &quot;Enter an instructable that promotes health...&quot; &nbsp;This makes being active just a little easier by allowing you to feel the positive effects immediately of your activity. &nbsp;If you are rewarded for an activity, you are more likely to do it. &nbsp;:-)<br /> <br />
From what I understand, PIR sensors detect a change in heat. How does it detect motion if you are standing in one spot? Does this only work if you are within a few feet?<br />
From the Parallax site it looks for changes in infrared patterns in its 20 foot field.&nbsp; So if you are standing still, the image is not changing much, hence no movement.&nbsp; I don't know the details of the sensor, but perhaps it just sums up the total IR&nbsp;content in its &quot;snapshot&quot; and if there is a lot of change, it registers movement.&nbsp; I doubt it takes IR values for a field and compares changes at each X and Y position.<br /> <br />

About This Instructable




Bio: By sharing ideas there can be a crossroads of polymaths and myths. The origins of facts (found through science) meeting the origins of our beliefs ... More »
More by polymythic:Haptic Feedback device for the Visually Impaired [Project HALO] Motion Feedback MP3 Player Serv O'Beer with iPhone for the Perfect Pour 
Add instructable to: