rpiezos/hardware/README.md -rw-r--r-- 1.8 KiB
e7ddea38Nicola Pisanti cleaning 3 months ago

These are some notes on the used harware:

A the moment you need those component for one shield:

1x MCP3008
6x 5.1v zener diode
6x 1M ohm resistor
6x 1.8k ohm resistor
6x 560 ohm resistor
6x 3.5mm female jack socket - 3 pole stereo
1x 20x2 pin header

This is a breadboard prototype for one of the sensor input (you need 5.1 zener diodes, 1M, 1.8k and 560 ohm resistors and an MCP3008 DAC), basically the 5v piezo input has to go into a voltage divider before going into the MCP3008 input, as the MP3008 runs at 3.3v:

The rPi 40pin GPIO has to be connected to the MCP3008 making these connections:


For the piezo cables you need 3.5mm mono jacks, and coaxial mono cables. The inner part of the cables goes to the inner part of the piezo and to the shorter of the two jack connections. You could also put some hot glue on the piezos for making the connections stronger.

Here is my messy perfboard prototype of the shield, if you want to do somethings like this remember that from above the rPi GPIO are the same, but the MCP3008 pin will be mirrored.

PS: if someone would ever try to make a better schematic file from those notes, i'm happy of every contribution.

MCP3008 datasheet: https://cdn-shop.adafruit.com/datasheets/MCP3008.pdf