MP3 Player
Hardware- 8 Devlogs
- 18 Total hours
A dyi, open source mp3 player with micro sd card module audio jack output and a custom pcb and 3D model. runs on li-po battery.
A dyi, open source mp3 player with micro sd card module audio jack output and a custom pcb and 3D model. runs on li-po battery.
I think that my project is done, i will submit it to the outpost and build it when i get funding.
I have created holes for the micro sd card and micro usb cable.
The micro usb cable is there for when i need to flash code, but dont want to unsolder everything and for when not using battery to test it.
I will mount the micro sd card module with two screws to the case.
I always had battery planned in my circuit, but for now i didnt know how big or wich capacity. I chose li-pol. because they fit my size requirements and are small, effiecent. I tried many different sizes and capacities, until i found the one that barely fits in the design (450mah). It should be able to runthe mp3 player for few hours, so that is okay.
I had a green pcb still visible with pins and condensators, wich doesnt look good, and can be dangerous. So i covered that part with a hatch and left only the buttons visible.
I have made the buttons like i had them in the last few projects, but something didnt seem right, so i googled it and found out i had incorrectly designed the buttons. I had a gnd pin connected through button to the input button pin, but correctly you need to add some positive power through a resistor (10 kiloohms). This problem is called the floating pin problem, if i would have left it that way it would not work correctly and there would be noise and other issues.
I had started routing the pcb. I connected all the things i needed. But i took sime time with the layout of it, like if buttons are down, where is display, and i think i figured it out. I also added the buttons in like a star pattern so they are good to touch. And the battery will be next to the buttons, and most of the sound modules will be down beneath the board. I plan to have 3D printed casing so i added M3 holes to the pcb so i can screw the pcb in later.
One day i was normally recording but after 40 minutes, i realized that it was not recording and showed errors like reconnecting. I have asked support but nobody replied to me and i tried fixing it myself but it didnt work. I dont know why. On my windows it doesnt work (not even on the desktop application version), but on my ubuntu dual boot it works, but that is problem because i need to use fusion 360 wich is only for windows
i realized that when playing the audio it doesnt check the buttons so you would not be able to pause it or interact with the player. I fixed it that in loop, it feeds into the sound generator chip only part of the song, then checks for the buttons and repeats.
-it has 5 buttons for volume control, pausing/playing and playing next or previous track.
-i added an oled display code, so now you can see info about the song, volume etc.
-all the previous features it had.
i need to create and design the 3D printed case completly from scratch. I also need to route the pcb.
I want the mp3 player to work like this:
For the controling of the settings i think i will be using 5 buttons:
Today i added a battery protection circuit, adc voltage dividers and connected most components together. I also searched pico pins diagram on how to connect the pins and i had to change the micro sd card module to a 3.3v one.
I want to make like a portable mp3 player, where you can upload your songs to a micro sd card, and then play them throgh the sound generator to a 3.5mm headphone jack you can listen to. I found the cheao micro sd card reader module to use. I put the pins to it in the kicad schematic, added the main mcu (pico 2 or 1, wich i already have from another project) and added things like oled display ports and simple battery connector, wich i will expand later. I want it to be on lipo battery.