Building A Media Player With An MSP430

A media player based on an Arduino and SD card has been done to death several times over, but that doesn’t mean we can’t appreciate [Matt]’s MSP430 audio player. It’s a very nice piece of work that supports a FAT16 file system and only takes up 54 bytes of RAM.

To make his dream of a 430 media player a reality, [Matt] based his work on the DIY Life Talking MSP430 project. Unlike this previous attempt to play music with a ‘430 and SD card, [Matt] threw in a full FAT16 file system, allowing him to drag and drop audio files on his computer to the SD card.

Right now [Matt]’s build can play a stereo audio file through its speakers, but the sound quality over a mono file is greatly reduced. The maximum sample rate is 16kHz; a ‘good enough’ sample rate if you’re listening with terrible headphones. In the video after the break, [Matt] plays this awesome Symphony of Science on his homebrew media player. We’re guessing his camera doesn’t do his project justice, but it’s still impressive nonetheless.

Continue reading “Building A Media Player With An MSP430”

Doppler-effect Lets You Add Gestures To Your Computer

What if you could add gesture recognition to your computer without making any hardware changes? This research project seeks to use computer microphone and speakers to recognize hand gestures. Audio is played over the speakers, with the input from the microphone processed to detect Doppler shift. In this way it can detect your hand movements (or movement of any object that reflects sound).

The sound output is in a range of 22-80 kHz which is not audible to our ears. It does make us wonder if widespread use of this will drive the pet population crazy, or reroute migration paths of wildlife, but that’s research for another day. The system can even be used while audible sounds are also being played, so you don’t lose the ability to listen to music or watch video.

The screen above shows the raw output of the application. But in the video after the break you can see some possible uses. It works for scrolling pages, double-clicking (or double-tapping as it were), and there’s a function that detects the user walking away from the computer and locks the screen automatically.

[Sidhant Gupta] is the researcher who put the video together. In addition to this project (called SoundWave) he’s got several other interesting alternative-input projects on his research page. Continue reading “Doppler-effect Lets You Add Gestures To Your Computer”

RFID Playlists Plus A QR Code Concept

Here’s another audio playback hack that uses physical tokens to choose what you’re listening to. It uses Touchatag RFID hardware to control iTunes. The concept is very similar to the standalone Arduino jukebox we saw on Wednesday except this one interfaces with your computer and the tags select entire albums instead of just one song. A shell script processes the incoming tag ID from the reader, populates a playlist with all the tracks from the associated album, then executes an AppleScript to launch that playlist. Check out the short demo after the break.

But what really caught our eye is the QR-code reader concept which [Janis] hopes to implement at some point in the future. The computer side of things doesn’t need to be changed, but we love the challenge of putting together an FPGA-based camera to recognize and decode the QR image. Looks like a perfect use for that $10 camera module and it’s FPGA driver!

Continue reading “RFID Playlists Plus A QR Code Concept”

RFID Jukebox For The Kids

[Dominik] built a fun musical toy for his daughter [Anna]. It’s a jukebox that lets her play her favorite tunes using RFID tags to select between them.

The project is simple, yet robust. The enclosure is a wooden craft box that you can pick up for a couple of bucks. Inside there’s an Arduino with a Wave Shield which handles the audio playback. An RFID reader takes input from the set of card-tags he procured. An internal Lithium battery powers the device, with a USB port for charging.

Sure, those guts have some cost involved in them. But there’s no LCD which can be broken, and we thing the boards will hold up well to abuse if mounted correctly. Plus there’s a lot of future potential here. When we saw the cards we thought of those toys which make the animal sounds (“what does the cow say… mooo”). This could be used for that with really young children. Then repurposed into this jukebox as they get a bit older. If you put the guts in a new enclosure it will appear to be a brand-new toy, right?

See a demo of the project in the clip after the break.

Continue reading “RFID Jukebox For The Kids”

From Reference Design To USB Sound Card

[Entropia] decided to try his hand at rolling is own sound card. He picked out a DAC chip, started his prototyping by studying the reference design from the datasheet, then went through several iterations to arrive at this working model.

He chose to base the board around the PCM2706. It’s a digital to analog converter that has built-in USB support; perfect for his needs. It’s got a headphone amplifier, but is also capable of putting out S/PDIF signals for a digital amplifier to pick up and use. Not bad for a part that can be had for right around eight bucks.

The first PCB he designed had a few electrical and footprint errors. But he was able to get it to run by adding some point-to-point jumpers, and bending the legs of his capacitors to fit the board area. With those issued accounted for he ordered a second batch of boards. These went together nicely, but the headphone output was incredibly loud. Turns out the filtering circuit had the wrong resistor and capacitor values. Changing them around, and swapping the audio output so that the correct channels were patched to the audio jack brings it to the first release version seen above.

Playing MP3s From An FPGA

Building an audio player is a fun project. It used to be quite a task to do so, but these days the MP3 decoder chips are full-featured which means that if you know how to talk to other chips with a microcontroller you’ve got all the skills needed to pull off the project. But that must have been too easy for [Ultra-Embedded], he decided just to build an MP3 player out of an FPGA.

It’s not quite as difficult as it first sounds. He didn’t have to figure out how to decode the audio compressions. Instead he rolled the Helix MP3 decoder library into the project. It had already been optimized to run on an ARM processor, and since he’s using a RISC soft processor the translation wasn’t tough at all. He’s using a 24-bit stereo DAC chip to bridge the gap between the audio jack and the FPGA output. Clocking that chip with the FPGA isn’t ideal and causes 44.1 kHz audio to run 3% too slow. He says it’s not noticeable, which we believe. But if you try to play along with a song the pitch shift might end up driving you crazy.

If you’d prefer to just stick to the microcontroller based players this one’s small and inexpensive.

Tears From Your Lonely Heart Will Activate A Comforting Tune

If you’re forever alone we’d guess you’ve long since stopped crying about it. But if you’re still prone to shed a tear on a dateless Valentine’s day this project’s for you. [Mikeasaurus] spruced up this pillow to play a tune when it senses your lonely soul. It’s got a moisture sensor which triggers an audio greeting card just when your weeping really starts to get soggy.

If you look closely at the top portion of the white fabric in the picture you can see there are rows of stitching. These hold a matrix of conductive wire mesh fabric on the inside of the pillow case. There are two buses made up of alternating rows (think of the tines of two forks pointed together) which make up the probes. When the gap is bridged by moisture a transistor circuit triggers the audio bits from a greeting card to play a song. Check out the demo after the break. We’re not satisfied that [Mikeasaurs’] couldn’t even bring himself to cry real tears for the clip, but maybe years of solder fumes have clogged up those tear ducts.

Continue reading “Tears From Your Lonely Heart Will Activate A Comforting Tune”