Difference between revisions of "Arduino"
From Proview Wiki
(Created page with "<p>Proview has support for:</p> <ul> <li> Arduino Duemilanove (/dev/ttyUSB0)</li> <li> Arduino UNO (/dev/ttyACM0)</li> <li> Arduino Mega 2560 (/dev/ttyACM0)</li> </ul> <p>The ...") |
Revision as of 05:17, 15 August 2013
Proview has support for:
- Arduino Duemilanove (/dev/ttyUSB0)
- Arduino UNO (/dev/ttyACM0)
- Arduino Mega 2560 (/dev/ttyACM0)
The software needed to upload the sketch is a part of The Debian/Ubuntu repository.
On ubuntu: $sudo apt-get install arduino
Important:
- Don't run Proview on a virtual machine if you want to use the Arduino
- The running user must be in the dialout group
- Check in a terminal: $groups
- If the user is not a part of the dialout group: $sudo usermod -a -G dialout <user>
- Check in a terminal: $groups
- The user should have r/w access to the device
- Check in a terminal (UNO/Mega): $ls -la /dev/ttyACM0
- Use the Arduino sketch from the installed Proview release
- From release v4.8.4 and higher, the Arduino sketch is in: /usr/pwr48/os_linux/hw_x86/exp/inc/pwr_arduino_uno.ino