Feedback MP3 Player and Activity Logger

Steve (aka Polymythic) created a Motion Feedback MP3 Player that plays music tracks at varying volume depending on the level of activity the system detects. The concept is to encourage more activity by creating a feedback loop between the volume of music and the level of your activity.

Motion Feedback MP3 Player

Motion Feedback MP3 Player

Motion is detected with a Parallax PIR Sensor. When motion is detected, the output pin of the sensor goes high. That out is monitored by the ioBridge IO-204. With or without a network connection, the IO-204 sets the volume of a DIY MP3 Trigger board from SparkFun. The volume is controlled by sending serial strings to the MP3 Trigger. Steve took advantage of the new Onboard Rules that turn the IO-204 into a standalone controller. When the IO-204 is connected to the Internet, the IO-204 also data logs his activity by sending it to the ioBridge data logging service in the cloud.

To learn more about how to make your own, visit Instructables and Polymythic.com or YouTube. The project also is posted on Engadget and UberGizmo. Well done, Steve.

Passive Infrared Webcam Tracker

From the “My Electronics Notepad” blog, Noel Portugal created a tracking webcam using passive infrared (PIR) sensors, a webcam mounted on a servo, and the IO-204 monitor and control module.

PIR Sensors, Webcam, and ioBridge IO-204 Module

PIR Sensors, Webcam, and ioBridge IO-204 Module

Noel was able to pull this off with using the ioBridge Actions. An action is logic created through the ioBridge interface that allows automated events to occur. For example, an action can cause a servo to move to preset position, send an email, update your Facebook status, etc. In Noel’s case, he use the output of the PIR sensor to cause the servo to move to a set position. The output of the PIR is digital – “high” means motion detected and “low” means no motion.

Using two PIRs covering two regions, he was able to detect motion in two regions. If motion is sensed in one area, the webcam points in that direction and if motion is detected in the other area, the servo moves the camera to cover the other region. Very clever.

Here is a video of the webcam tracking in action:

The PIR sensor has been the subject of a recent Adafruit tutorial – it’s available on the Adafruit store and even your local Radio Shack (of all places). For more information about this ioBridge project and other projects Noel dreams up, visit his blog.