In this project, I was able to make an FX Soundboard to play .wav files pre-loaded in an SD card. Sounds can be played by pushing a button on the system.
Volume control, signal mixing, and volume display were the core functions of this project.
I was able to manipulate and display volume by using a 50K potentiometer outputting a variable voltage from 3.3V to 0V.
I used the following microcontrollers to make this project:
I made physical wire connections on breadboard for the buttons and volume display.
I was able to design a PCB for the volume display using circuit maker. The volume display uses the potentiometer to feed in a voltage value into the PIC microcontoller using Analog to Digital Conversion(ADC) to turn on colored LEDs based on the voltage value.
The Teensy microcontoller is in charge of reading user input, reading the .wav files from the SD card, and adjusting of volume along with the use of the SGTL 5000 chip on the Audio Shield.
The Teensy 3.2 is the main micro controller to recieve input and output from the outside world. It receives input from the button switches to determine what .wav file (audio sample) to play from the SD card. The teensy 3.2 outputs the audio sample, through the audio jack, with an adjusted volume value based on the analog value inputted by the 3.3V potentiometer .
The PIC micro controller the supplement to this system which reads the analog input from the potentiometer to display the volume adjusted based on colored LEDs. Green being the lowest volume through the color Red being the highest volume.