The PIC microcontrollers are powerful little devices, and [Tahmid] is certainly pushing the envelope of what these integrated circuits can do. He has built (for educational purposes, he notes) an audio player based on a PIC32 and a microSD card. Oh, and this microcontroller-based audio player can play in stereo, too.
The core of the project is a PIC32MX250F128B microcontroller. 16-bit 44.1kHz WAV files are stored on the microSD card and playback is an impressive 12-bit stereo audio. It can also play back 8-bit files (with some difficulty). [Tahmid] programmed the interface to work through the serial port and it is very minimalistic, mostly because this was a project for him to explore audio on a microcontroller and wasn’t to build an actual stand-alone audio player that he would use from day to day.
Still, even though the project isn’t ready to replace your iPod, the core audio-processing parts are already done if you want to try to build on [Tahmid]’s extensive work. You could even build a standalone audio player like this but have it play high-quality 12-bit stereo audio!
Continue reading “Stereo Audio on a PIC32″
[Vinod Stanur] just finished another hobby project by building a WAV audio player using a microcontroller. He had started development a while back using a PIC microcontroller. But the chip he was using didn’t have enough SRAM to allocate as a playback buffer. When he got his hands on an ATmega32 his mind turned back to the project and he saw it through to the end.
He takes advantage of what he learned on several earlier builds. He’s using a TV remote as input, just like his Snake game did. Storage is provided by an MMC card, a trick he perfected with this voice recorder project. Instead of using a FAT library, he uses his own code to read the linked-list (File Allocation Table) for sector addresses, then he parses the WAV header and processes the file accordingly.
Playback uses two 512 byte buffers. One is feeding the output while the other is being populated from the memory card. When the output buffer is exhausted the two are swapped and the process continues. You’ll find [Vinod’s] demo of the project after the break.
Continue reading “WAV playback with an ATmega32″
It’s been a while since there was any advances made in the field if celebratory high-five-ing. [Eli Skipp] just finished her contribution, moving the art forward by adding the sound of explosions to her high-fives. Ignore the audio sync problems in the video after the break to see her Arduino and Wave Shield based offering. It uses a flex sensor to detect a high-five and has a bit of software filtering to avoid misfires when moving your hand or setting it down on a flat surface. It may look a bit ridiculous right now because of the bulk, but we could see a sleeker, cheaper version hitting toy and novelty stores everywhere.
Less useful than a sign-language translating glove, but easier to code and some would say more fun too. Continue reading “Add explosive power to your hi-five”
Sadly, this pocket mp3 wav player doesn’t come close to the capabilities of even an iPod generation 1 yet, but you have to give [Owen] props for making it in less than 24 hours. The system consists of a Propeller MCU (cleverly wired to be swappable with “shields” similar to Arduino systems), SD card for song storage, and an LM386 for audio. While the setup is a little dull, and only plays through songs non stop with no controls whatsoever, it certainly is a good start in the right direction for a cheap and simple portable music player. Of course some planned changes are in the works, include an accelerometer (gesture based controls?), etched PCB, docking station, and a case. We’re surprised there is no form of screen planned, considering Owen appears to have a rather good handle on touch interfaces; perhaps he’s waiting for revision 3.