← Back to Explore

MicroSD + volume control buttons!

In design review card · advanced

Made by
Arghya Vyas

About this project

A module with a microsd card slot and volume control for mp3 player-like features!

MD0
1k
MD1
30k

Journals

Follow the progress behind this project.

30m

Uploaded drivers to crates (check repo readme) and fixed button issue.

crates

30m

Added the pullups as requested! updated schematic

50m

Done the cad! Made holes for the buttons and sd card slot, added columns like the sample provided. final view

50m

Today I started to work on the case for the SD card module. I modified the preexisting "two button" module and then added three buttons. still figuring out fusion and how to modify some of the sketches.

cad

1h 4m

I FINALLY DID IT. I got a SD Card driver working. I created 2 .rs files, one to initialize the SPI, and the other to build the FAT-based file system. It took alot of cargo checks, and also consulting the documentation, but its done!

wow branches

44m

Started working on the driver today, this was definitely what I found the hardest part so far since I am new to rust. I started off simple and added my 3 buttons, and then added my gpio pins later for my sd card. I did have to go through the docs quite a bit and get some help trying to understand the docs themselves, but i managed to "start up" the SD card. My next step would be to create a FAT file system in the driver so i can actually add files to it.

code

15m

I routed the pcb, added some vias, and some mounting holes!

heres a 3d model

3d model

1h 15m

I figured out how to get the SD card going! Took some help from the slack. So then I finished the schematic and moved onto the PCB. I did have to import an EasyEDA symbol & footprints to KiCad, so that took some time. Then I started organizing my PCB so everything fits (micro-sd slot + 3 buttons)

the pcb

35m

To start off, I read the documentation and made the buttons in the schematic, I also did some research on how to add SD Cards to my module. I initially found it really hard to figure out what SD Card module to use, because there were so many! I also had to figure the wiring out, which took some time.

a picture