Professor Teensy Soundboard

by alec693 in Circuits > Audio

275 Views, 1 Favorites, 0 Comments

Professor Teensy Soundboard

Final Project electronics

Authors

Dane Sutton

Mario Falcon

Alexander Dru

Acknowledgements

Cal Maritime

ET 370 Circuits Class

Professor Evan Chang-Siu

Professor Ken Levan

Professor Scott Green

Professor Thomas Clyatt

Professor Jonathan Fischer

Supplies

1- Teensy 3.5

1- MakerHawk Speaker(3W/8 ohm)

1- LCD Screen
1- 3.3V/5V Level logic converter 1- Breadboard

1- LM386 Amp
1- I2C bus with 4 pins

4- 10 microFarad capacitors

1- 0.05 microFarad Capacitor

1- 250 microFarad capacitor

1- 12V/5V buck converter
1- 12V power supply

1- 10,000 ohm potentiometer

3-Buttons

Various wires

1- 10,000 ohm resistor

2- 4700 ohm resistors

1-10 ohm resistor

3-330 ohm resistors

The Idea

IMG_7714.jpg

The general idea was to build a soundboard that we could use to get recordings of our favorite professors and play them after we graduate. we decided to use a teensy 3.5 as our main board with everything else soldered onto the cookie.

To see more on our project you can follow this link

https://youtu.be/jURBX-_xqx0

CAD /Code/basic Functionality

Picture1.png

Attached here is the 3d printed box we used and the code used for the build. The basis of this project is that the SD card stores a series of files that when named with what's inside the code, it displays the name of the person or clip on the LCD. Then using the up and down buttons one can scroll through the entire list. Once you have the person or file you want, you hit play and it plays the file. All files stored on the SD card must be of the .WAV filetype.

This is how we named the display

mainArray[0] = {"Homescreen"};

mainArray[1] = {"Levan"};

mainArray[2] = {"Chang-Siu"};

mainArray[3] = {"Clyatt"};

mainArray[4] = {"Green"};

Here is how we name the files

mainArrayTone[0] = {"LEVAN.WAV"};

mainArrayTone[1] = {"LEVAN.WAV"};

mainArrayTone[2] = {"CHANGSIU.WAV"};

mainArrayTone[3] = {"CLYATT.WAV"};

mainArrayTone[4] = {"LEAN.WAV"};

You can make the array longer by just adding another line for both sets and adding one to the number in brackets.

Here are all the libraries we included

Wire

LiquidCrystal_I2C

SD

SPI

Audio

SerialFlash

Circuit Diagram and Construction

circuit diagram.png

Included above is the state machine, and the circuit diagram. Now here is some very important things regarding the 5v power supply we used and the teensy. If you short the power supply in any way it will burn up and no longer work. Make sure the pin for voltage in on the teensy you use is the correct pin or it will burn up. Don't have two things providing power to the teensy or you may damage your electronic device or the teensy. Everything has already been designed so that at 5 volts nothing exceeds its mac amp rating. However ,should the voltage get higher than 6 volts every component including the teensy will be fried.

Assembly

pasted image 0 (1).png
pasted image 0.png
IMG956284.jpg
IMG956291.jpg
640985435.jpg
IMG_6292.jpg
IMG_6306.jpg
IMG_7718.jpg

To assemble the circuity, follow the circuit diagram shown above and build it. be aware of how you want your buttons as stated below. Otherwise solder is the best way to connect everything to the cookie and it isn't to many solder points.

To finish construction, put the LCD into the slot in the box for it. You can affix it by using m2 screws, or just tape it in. For the cookie, there are four preset holes in the lid for m3 screws to dig into. The speaker also has preset holes but only 2. Everything else besides the buttons is soldered onto the cookie. The teensy hangs by enough wires where it doesn't need to be affixed. The power supply should poke out from the hole in the box so it is easily accessible, and the teensy can be done in such a way that the SD card or the programming end can point out the small hole. There are a couple of options for the buttons, and we just used the simple one of reaching in the square hole to press them on the cookie. The cooler option we didn't get to try would be to make a small covering for the hole to stick the buttons on then run wires to the cookie.

Conclusion

This project will allow you to have a functioning soundboard that with some editing can play any sounds or studio you would like so long as you don't exceed the limit of the SD card. There was a steep learning curve when it came to blowing some of the components so please use caution.

What we learned doing it as a group

Our group fell apart at the beginning due to a lack of communication. Two of your three members went really hard at the start and the third member lagged behind but did what they could. At the end the third person ended up getting some of the things they needed to done, and pushing through the finish line. Had our communication been better, the box design would have been. We also probably would have done better with the last person building and implementing if everyone was on their game during the meetings.