Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
raspberry_boards:raspbi-pd_control_hat [2020/03/27 16:26] admin [Software] |
raspberry_boards:raspbi-pd_control_hat [2020/09/01 18:33] admin |
||
---|---|---|---|
Line 49: | Line 49: | ||
==== Software ==== | ==== Software ==== | ||
- | === Install Pure Data === | + | === Installing Pure Data === |
In the terminal: | In the terminal: | ||
$ sudo apt update | $ sudo apt update | ||
Line 56: | Line 56: | ||
{{:raspberry_boards:pd-example_march2020.png?600 |}}\\ | {{:raspberry_boards:pd-example_march2020.png?600 |}}\\ | ||
- | === Installing Wiring === | + | === Installing some Externals === |
+ | For installing some Externals follow that manual:\\ | ||
+ | [[http://dernulleffekt.de/doku.php?id=puredata:pduino#pure_data_and_pduino]] | ||
+ | |||
+ | === Installing Wiring === | ||
In the terminal: | In the terminal: | ||
$ sudo apt-get install wiringpi | $ sudo apt-get install wiringpi | ||
Line 72: | Line 76: | ||
=== Install the WiringPi for PD === | === Install the WiringPi for PD === | ||
- | Download: [[http://www.dernulleffekt.de/programme/pd-wiringpi.zip|pd-wiringpi.zip]] or do it in the terminal:\\ | + | Download: [[http://www.dernulleffekt.de/programme/pd-wiringpi.zip|pd-wiringpi.zip]].\\ |
+ | Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | ||
+ | /home/pi/Pd/externals | ||
+ | or do it in the terminal:\\ | ||
$ wget http://www.dernulleffekt.de/programme/pd-wiringpi.zip | $ wget http://www.dernulleffekt.de/programme/pd-wiringpi.zip | ||
$ unzip pd-wiringpi.zip | $ unzip pd-wiringpi.zip | ||
$ cd pd-wiringpi/ | $ cd pd-wiringpi/ | ||
- | $ cp -R wiringPi_gpio/ /home/pi/Pd/externals/ | + | $ cp -R wiringPi_gpio/ /home/pi/Documents/Pd/externals/ |
- | $ cp -R wiringPi_mcp3008/ /home/pi/Pd/externals/ | + | $ cp -R wiringPi_mcp3008/ /home/pi/Documents/Pd/externals/ |
- | Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | ||
- | /home/pi/Pd/externals | ||
One has to run Wiring PD with administration rights: | One has to run Wiring PD with administration rights: | ||
$ sudo pd | $ sudo pd | ||
Line 98: | Line 103: | ||
GND---||---CH2---||----5V | GND---||---CH2---||----5V | ||
| | | | ||
- | GND---50k--------LDR---5V | + | GND---50k--------LDR---5V |
+ | \\ | ||
+ | or:\\ | ||
+ | CH2---------------In | ||
+ | | | | ||
+ | 100k === 100nF | ||
+ | | | | ||
+ | GND GND | ||
---- | ---- | ||
Line 105: | Line 117: | ||
Download the Python script: | Download the Python script: | ||
- | $ wget www.dernulleffekt.de/programme/scripts.tar.xz | + | $ wget http://www.dernulleffekt.de/programme/scripts.tar.xz |
And unpack it: | And unpack it: | ||
$ tar -xf scripts.tar.xz | $ tar -xf scripts.tar.xz | ||
Line 148: | Line 160: | ||
---- | ---- | ||
==== Links ==== | ==== Links ==== | ||
+ | |||
+ | [[https://www.open-electronics.org/discover-the-8-channnel-adc-8-expansion-shield/]]\\ | ||
MCP3008:\\ | MCP3008:\\ |