This is a STM32F407VG project that reads audio data from the input pin PC0, applies FFT and uses the low, mid and high audio frequencies to control 3 RGB led strips using 3x3 PWMs (9 in total).
This project also configures a Virtual COM Port (VCP) which will make the STM32 appear as a COM port, so you can transmit and receive data using the functions VCP_send_str() and VCP_get_string().
- ADC input (audio): PC0
- PWM Outputs
- RGB1: PB4, PB0, PB1
- RGB2: PB5, PB6, PB7
- RGB3: PB8, PB9, PC8
(to be extended)
This project builds with the CooCox IDE
Enjoy this little project as you see fit, and feel free to contact me!
Email: slimlimem@gmail.com Linkedin: https://www.linkedin.com/in/slim-limem/