Workshop participants will build and program their own MP3 player using a STM32 Microcontroller and an MP3 Module. The MP3 player will play songs contained on an included storage card and a grid of LED's will react to the music that is played similar to an audio visualizer.
This workshop serves as an introduction to the ST Microcontroller family and the UART communication protocol. Students will also learn how to construct circuits on a breadboard from a circuit schematic, common electrical components, C programming for STM32 Microcontollers, and basic soldering skills. No prior knowledge required!
Session 1: Intro to STM32 (10/13/22)
- What is a microcontroller (MCU)?
- What is STM32?
- Present an example of a circuit diagram
- Set up the STM32 IDE and show how to configure STM32 pins
- What is the C programming language?
- What are variables, conditional statements, methods?
- Let students code a blinking LED project
- Recording: https://youtu.be/tsHh5xKJ2KI
Session 2: UART & Constructing the MP3 Player (10/27/22)
- What are MCU communication methods?
- What is UART?
- Show students how to wire and program the MP3 module via UART
- What are buttons?
- Input sources on a MCU
- How does a speaker work?
- Let students wire the speaker to their MP3 Player
Session 3: Light it up! (11/03/22)
- Program an LED Matrix with the STM32 MCU
Session 4: Solder on Comrades (11/10/22)
- Intro to Soldering
- Soldering Safety Skills
- Wire project components
- Perf board connection
- Testing