In this thesis I present the development and funcionality of a matrix LED display, which displays the frequency spectrum of an audio signal. The matrix LED display is built from flexible LED strips. The driver for the LED strips is an STM32G431KBT6 microcontroller.
Apart from the development method, I present each component of the project and its role in the whole system. I explain the controlling of the LED strip in detail and present the results of the measurment I made to test the required timing accuracy required to drive the LED strips, as well as the deviation of the findings from timing requierments specified in the data sheet. I also argue the chosen method for sampling and processing the audio signal. Generation of the LED strip control signal is also briefly discussed. I tested the efficiency of specific methods used to extract the frequency content of the audio signal. I present three methods; the strictly mathematical one, the use of general libraries for the C programming language and the use of libraries specialized for the ARM microcontrollers. The final program is also described, where I also measured the time each part of the program takes to execute while using the most efficient method.
The result of this project is a visual module, which shows the frequency content of an audio signal. I researched the most efficient methods for the development of a project like this on the Nucleo-G431KB development system.
|