Introduction: Sound Changer
Hello ! You always wanted to create an aquisition/restitution sound system able to change your sound with effect like filtering or modulation! The sound changer is made for you!
This project needs around 10 hours and a budget of $173.78.
1 DE0 nano SoC board : $80
1 Screen Arduino Shield 1,8" (ST7735) :$34.95
2 Analog Output Type Distance Measuring Sensor GP2Y0A41SK0F : $12.86
1 Ultrasonic Ranging Module HC - SFR05 : $22.29
1 DAC MCP4821-E/P : $2.31
1 LDO MAX764 : $6.78
1 Ampli Audio LM386N : $0.93
5 AOP : $0.16
Step 1: PCB Design
First of all, you have to download the following printed circuit board :
After you have printed those two PCB, connect them like the previous pictures.
If you can't print it, you can also make a breadboard with this model :
Step 2: Source Code
First of all, you will have to download Quartus with the following link :
Then download the two projects : One for the sound processing, and one for the screen.
Arduino TFT Screen setting up :
First of all, upload the .sof file to the DE0-Nano-Soc via the Quartus Programmer tool, through the USB-Blaster port. The architecture is made of a Nios II CPU, that allows to implement a software coded in C. To upload the software on the Nios II, you have to use Nios II commands. These commands are written in the scripts test.sh (UNIX) and test.bat (Windows). You just have to execut the script.
To modify the software, you need to open main.c file, recompile and execut the script again. When the software has changed, you do not need to re-upload the .sof file.
FFT setting up :
Compile the code using "make" command, and lanch it directly from the de0 nano SoC after sending it in SSH. The executable file is named "projetFFT". To configure the SSH part of the de0 nano SoC, follow the altera tutorial in the de0 nano soc user manual.
Step 3: Box
Try to find at least a box 23x21x7cm.
You can see here an inside setup for your box. If you can dig a hole on the top, for the screen, it's better. If so, put the other objects in order to ease the electrical connection with the other component.
Step 4: Final Result
This is a video of the final product.
Step 5: References
You can check references with the followings links :
Ampli Audio : http://ww1.microchip.com/downloads/en/DeviceDoc/2...
GP2Y0A41SK0F : https://www.gotronic.fr/pj-692.pdf
We have a be nice policy.
Please be positive and constructive.