Skip to content

PUT-PTM/STMwavPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

# STMwavPlayer

Overview

#STMwavPalyer plays songs from SD card using a microcontroler (STM32F407VG).

Description

The target of our procjet is to decode ".wav" file uploaded on microSD card and play it by using STM32F4xxx microcontroler. STM board is connected with microSD Adapter by SPI. We couldn't use SDIO connection because it would cause a conflict with codec's pins. STM32F4xxx is also connected with potentiometer, which is using to control volume of music. Button(PA0) is configurated to skip songs. Project was made in cooperation with Marcin Maćkowiak and Kamil Szulc.

Tools

CooCox CoIDE 1.7.8

What is needed

To run the project correctly you have to have:
    ♦ Microcontroler STM32F4xxx-Discovery
    ♦ microSD Adapter with microSD card
    ♦ Potentiometer
    ♦ a few cables

How to run

Connect STM board with microSD Adapter by using cables:
    ♦ STM32 <---> SD Card Module
    ♦ GND <---> GND
    ♦ 3V <---> 3V3
    ♦ PB11 <---> CS
    ♦ PB13 <---> SCK
    ♦ PB14 <---> MISO
    ♦ PB15 <---> MOSI
    ♦ GND <---> GND
Connect potentiometer to STM board (GND,PA1,VDD)
Upload WAV files on microSD card
Plug microSD card into microSD Adapter

How to compile

Just download the project from github.com/PUT-PTM/STMwavPlayer ,compile it with Coocox CoIDE 1.7.8 and download it to flash

Attributions

http://elm-chan.org/fsw/ff/00index_e.html FatFs R0.12 29 april 2016
http://stm32f4-discovery.net/2014/07/library-21-read-sd-card-fatfs-stm32f4xx-devices/
https://www.youtube.com/watch?v=EYs3f4uwYTo
http://www.mind-dump.net/configuring-the-stm32f4-discovery-for-audio
http://forbot.pl/blog/artykuly/programowanie/kurs-stm32-6-pomiar-napiecia-przetwornik-adc-id8462

License

MIT

Credits

Marcin Maćkowiak
Kamil Szulc

The project was conducted during the Microprocessor Lab course held by the Institute of Control and Information Engineering, Poznan University of Technology.

Supervisor: Tomasz Mańkowski

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published