Sound Changer

Published

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

http://www.terasic.com.tw/cgi-bin/page/archive.pl?...

1 Screen Arduino Shield 1,8" (ST7735) :$34.95

https://www.adafruit.com/product/802

2 Analog Output Type Distance Measuring Sensor GP2Y0A41SK0F : $12.86

https://www.gotronic.fr/art-capteur-de-mesure-shar...

1 Ultrasonic Ranging Module HC - SFR05 : $22.29

https://www.gotronic.fr/art-transducteur-a-ultraso...

1 DAC MCP4821-E/P : $2.31

http://www.microchip.com/wwwproducts/en/MCP4821

1 LDO MAX764 : $6.78

https://www.digikey.com/product-detail/en/maxim-in...

1 Ampli Audio LM386N : $0.93

https://www.gotronic.fr/art-lm386n-10319.htm

5 AOP : $0.16

http://www.alldatasheet.com/view.jsp?Searchword=TL...

Step 1: PCB Design

First of all, you have to download the following printed circuit board :

*PCB3.Pcbdoc*

*PCB1.Pcbdoc*

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 :

*Schéma_PCB.SchDoc*

*AmpliAudioDAC_sch.SchDoc*

Step 2: Source Code

First of all, you will have to download Quartus with the following link :

https://www.altera.com/downloads/download-center.h...

Then download the two projects : One for the sound processing, and one for the screen.

Arduino TFT Screen setting up :

https://github.com/tristanclare94/SoundChanger

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

Share

    Recommendations

    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    3 Discussions

    0
    user
    yannd

    6 months ago

    The box is really Old Style !

    That's a neat setup, you should upload a video of how it sounds when in use :)

    1 reply