Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
puredata:gpio [2020/01/31 16:16] admin [Pure Data and Wiring Pi] |
puredata:gpio [2020/05/12 16:54] (current) admin [Links] |
||
---|---|---|---|
Line 5: | Line 5: | ||
{{: | {{: | ||
- | Wiring for the Raspberry Pi was written by Gordon Henderson.\\ | + | [[https:// |
- | WiringPi for Pure Data was written by Miller | + | |
+ | [[http:// | ||
+ | WiringPi for Pure Data was written by Miller | ||
This is a workaround for installing the WiringPi object and using the analog digital converter [[http:// | This is a workaround for installing the WiringPi object and using the analog digital converter [[http:// | ||
[[https:// | [[https:// | ||
Line 26: | Line 28: | ||
$ cd /tmp | $ cd /tmp | ||
$ wget https:// | $ wget https:// | ||
- | $ sudo dpkg -i wiringpi-latest. | + | $ sudo dpkg -i wiringpi-latest.deb |
[[http:// | [[http:// | ||
=== Install the WiringPi for PD === | === Install the WiringPi for PD === | ||
+ | |||
Download: {{ : | Download: {{ : | ||
+ | $ wget www.dernulleffekt.de/ | ||
+ | $ unzip pd-wiringpi.zip | ||
+ | $ cd pd-wiringpi/ | ||
+ | $ cp -R wiringPi_gpio/ | ||
+ | $ cp -R wiringPi_mcp3008/ | ||
+ | |||
Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | ||
- | /home/pi/Documents/ | + | /home/pi/Pd/externals |
- | In Pure Data -> Preferences -> Path set the path to these two folders.\\ | + | One has to run Wiring PD with administration rights: |
+ | $ sudo pd | ||
+ | In Pure Data -> Preferences -> Path set the path to the two external | ||
{{: | {{: | ||
+ | === Or install pdwiringPi ==== | ||
+ | |||
+ | An other wiringPi external is that one [[https:// | ||
+ | $ wget https:// | ||
+ | $ unzip master.zip | ||
+ | $ cd pdwiringPi-master | ||
+ | $ make | ||
+ | There should be a new folder called " | ||
+ | |||
+ | ---- | ||
=== Pin Configuration === | === Pin Configuration === | ||
The Wiring library has its own [[http:// | The Wiring library has its own [[http:// | ||
[[http:// | [[http:// | ||
On Sparkfun one found a good pin labeling, too:\\ | On Sparkfun one found a good pin labeling, too:\\ | ||
- | [[https:// | + | [[https:// |
\\ | \\ | ||
**For example:\\ | **For example:\\ | ||
Line 87: | Line 108: | ||
==== Links ==== | ==== Links ==== | ||
+ | PD:\\ | ||
[[https:// | [[https:// | ||
+ | |||
+ | Wiring:\\ | ||
[[http:// | [[http:// | ||
+ | [[https:// | ||
[[https:// | [[https:// | ||
[[http:// | [[http:// | ||
+ | |||
+ | MCP3008:\\ | ||
[[https:// | [[https:// | ||
+ | |||
+ | GPIO:\\ | ||
[[https:// | [[https:// | ||
---- | ---- | ||
+ | ==== License ==== | ||
+ | This manual is made by **Wolfgang Spahn** 2020.\\ | ||
+ | It is licensed under a [[http:// | ||
+ | < | ||
+ | <a rel=" | ||
+ | </ | ||
+ | ---- |