Difference between revisions of "Arduino"

From Proview Wiki
Jump to: navigation, search
(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 ...")
 
 
Line 1: Line 1:
<p>Proview has support for:</p>
+
Proview has support for:<br />
<ul>
+
* Arduino Duemilanove (/dev/ttyUSB0)<br />
<li> Arduino Duemilanove (/dev/ttyUSB0)</li>
+
* Arduino UNO (/dev/ttyACM0)<br />
<li> Arduino UNO (/dev/ttyACM0)</li>
+
* Arduino Mega 2560 (/dev/ttyACM0)<br />
<li> Arduino Mega 2560 (/dev/ttyACM0)</li>
+
 
</ul>
+
The software needed to upload the sketch is a part of The Debian/Ubuntu repository.<br />
<p>The software needed to upload the sketch is a part of The Debian/Ubuntu repository.<br /> On ubuntu: <strong>$sudo apt-get install arduino</strong></p>
+
On ubuntu: '''$sudo apt-get install arduino''' <br />
<p>Important:</p>
+
 
<ul>
+
Important:<br />
<li> Don't run Proview on a virtual machine if you want to use the Arduino</li>
+
 
</ul>
+
* Don't run Proview on a virtual machine if you want to use the Arduino<br />
<ul>
+
 
<li> The running user must be in the dialout group  
+
* The running user must be in the dialout group
<ul>
+
** Check in a terminal: '''$groups'''
<li> Check in a terminal: <strong>$groups</strong>
+
*** If the user is not a part of the dialout group: '''$sudo usermod -a -G dialout <user>'''
<ul>
+
* The user should have r/w access to the device
<li> If the user is not a part of the dialout group: <strong>$sudo usermod -a -G dialout &lt;user&gt;</strong> </li>
+
** Check in a terminal (UNO/Mega): '''$ls -la /dev/ttyACM0'''
</ul>
+
* Use the Arduino sketch from the installed Proview release
</li>
+
** From release v4.8.4 and higher, the Arduino sketch is in: /usr/pwr48/os_linux/hw_x86/exp/inc/pwr_arduino_uno.ino
</ul>
+
</li>
+
<li> The user should have r/w access to the device  
+
<ul>
+
<li> Check in a terminal (UNO/Mega): <strong>$ls -la /dev/ttyACM0</strong> </li>
+
</ul>
+
</li>
+
<li> Use the Arduino sketch from the installed Proview release  
+
<ul>
+
<li> From release v4.8.4 and higher, the Arduino sketch is in: /usr/pwr48/os_linux/hw_x86/exp/inc/pwr_arduino_uno.ino </li>
+
</ul>
+
</li>
+
</ul>
+

Latest revision as of 03:37, 27 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>
  • 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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox