Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
puredata:pduino [2020/01/27 17:08] admin |
puredata:pduino [2021/02/04 13:16] (current) admin [Pure Data and Pduino] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Pduino ===== | + | ===== Pduino |
+ | Controlling an Arduino in Pure Data on a Raspberry Pi.\\ | ||
- | {{: | + | {{: |
- | A workaround for controlling | + | [[https:// |
+ | |||
+ | [[https:// | ||
+ | The program running on the Arduino is the [[https:// | ||
+ | \\ | ||
+ | This is a workaround for installing Pduino | ||
---- | ---- | ||
Line 9: | Line 15: | ||
Install the Arduino IDE: | Install the Arduino IDE: | ||
+ | $ sudo apt update | ||
$ sudo apt install arduino | $ sudo apt install arduino | ||
- | Open the Arduino IDE as administrator: | + | Open the Arduino IDE: |
- | | + | $ arduino |
Select in -> Tools -> Board and Port. The port looks something like: / | Select in -> Tools -> Board and Port. The port looks something like: / | ||
Open the Firmata program: -> open -> Firmata -> StandardFirmata\\ | Open the Firmata program: -> open -> Firmata -> StandardFirmata\\ | ||
Line 21: | Line 28: | ||
$ sudo apt update | $ sudo apt update | ||
$ sudo apt install puredata | $ sudo apt install puredata | ||
- | \\ | + | |
=== Install the Externals === | === Install the Externals === | ||
The comport external should be installed via the terminal:\\ | The comport external should be installed via the terminal:\\ | ||
Line 29: | Line 36: | ||
Install: zexy, mapping, cyclone and pduino\\ | Install: zexy, mapping, cyclone and pduino\\ | ||
The Pd external folder should look like that:\\ | The Pd external folder should look like that:\\ | ||
- | {{: | + | |
+ | {{: | ||
=== Set Path === | === Set Path === | ||
- | In Pure Data -> Preferences -> Path set the paths for the zexy, mapping, cyclone and pduino libraries.\\ | + | In Pure Data -> File -> Preferences -> Path set the paths for the zexy, mapping, cyclone and pduino libraries.\\ |
- | It might be /home/pi/pd/ | + | It might be /home/pi/Dokuments/ |
- | {{: | + | |
+ | {{: | ||
=== Set for Startup === | === Set for Startup === | ||
- | In Pure Data -> Preferences -> Startup set zexy (it will load on launch)\\ | + | In Pure Data -> File -> Preferences -> Startup set zexy (it will load on launch)\\ |
Restart Pure Data.\\ | Restart Pure Data.\\ | ||
- | {{: | ||
- | ---- | + | {{: |
+ | === Run Pduino === | ||
+ | In //Pure Data/ | ||
+ | Click on " | ||
+ | Select that number and click on "open $1".\\ | ||
+ | Now your Pduino should work.\\ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | One can test it by clicking on " | ||
+ | \\ | ||
+ | Examples:\\ | ||
+ | {{ : | ||
+ | |||
+ | ---- | ||
==== Links ==== | ==== Links ==== | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | ---- | ||
+ | ==== License ==== | ||
+ | |||
+ | This manual is made by **Wolfgang Spahn** 2020.\\ | ||
+ | It is licensed under a [[http:// | ||
+ | |||
+ | < | ||
+ | <a rel=" | ||
+ | </ | ||
---- | ---- | ||
+ |