Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

PIC12F1822 FAT32 SD wave Player 2025-01-07

No permission to download
The firmware works for SDHC cards only. Code C for MPLABX with XC8. HEX files included.
The FAT32 code is minimal, it only finds the files location and repeats playing them. File names have to be short and located in the root folder.
The PIC's CCP is used as a DAC to convert the digital data back to audio. The sound is tape quality.
SD card interfaces the PIC in SPI mode. Reading the data is in multi-blocks.
NEXT button advances to the next track when pressed.
The transistors are a current buffer to drive a speaker.
Pins number are of an SD card, for microSD card use converter to SD card.
Code can be downloaded

TO SET UP THE CARD:
Format the card with FAT32.
Create sound files type .wav
Name the files with short names, 8 low case characters max.
Save the files as 22.050KHz, 8 bits, mono.
Add the files to the root directory of the card (don't use a subdirectory).
sd_fat32_1822.gif
sd_pins.png
Author
zahwi
Downloads
1
Views
224
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from zahwi

Latest threads

Back
Top