<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Another alternative--if you need Arduino for connecting GPIO
(including software PWM for analog out) and potentially analog
inputs, you may be better off getting Modern Device LOP shield for
RPi (I worked with it on RPi 1 rev. B model, and according to online
RPi2 specs it should be also compatible with RPi2 GPIO) which gives
you 10 digital I/O that can be also used as PWM analog outs, and 8
analog ins, with each connector offering ground and 3.3V pin right
next to it, plus a 5V lead if you need one straight off the GPIO pin
and 4 optional microswitches linked with 4 GPIOs.<br>
<br>
<a class="moz-txt-link-freetext" href="https://moderndevice.com/product/lots-of-pots-lop-board-for-raspberry-pi/">https://moderndevice.com/product/lots-of-pots-lop-board-for-raspberry-pi/</a>
(the $23 NOP version comes without the pots, assuming you don't need
the pots to begin with)<br>
<br>
Best,<br>
<br>
Ico<br>
<br>
<div class="moz-cite-prefix">On 9/21/2015 6:45 PM, Martin Peach
wrote:<br>
</div>
<blockquote
cite="mid:CAN5xZ3arHayQs20JHK5HNdZCUBRPSXO1QJfhf9DT7ASsTR2aUQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>...and connect Tx to Rx and Rx to Tx and don't forget to
connect the grounds together.<br>
<br>
</div>
Martin<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 21, 2015 at 6:16 PM, Ivica
Ico Bukvic <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Two more
considerations: making sure you have the right firmware on
the Arduino (sometimes it gets corrupt for seemingly no
apparent reason and you need to reupload it), and finally
making sure that it's getting enough power through RPi's USB
port to provide stable operation.
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 9/21/2015 6:15 PM, Ivica Ico Bukvic wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
If connecting to serial port works when you run pd
with sudo privileges, you will need to add your user
is to the dialout group. See <a
moz-do-not-send="true"
href="http://unix.stackexchange.com/questions/14354/read-write-to-a-serial-port-without-root"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://unix.stackexchange.com/questions/14354/read-write-to-a-serial-port-without-root">http://unix.stackexchange.com/questions/14354/read-write-to-a-serial-port-without-root</a></a>
for more info. HTH<br>
<br>
On 9/21/2015 1:56 PM, Pagano, Patrick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I have done all of that for use with the ardunio
uno, it's when the raspi2 is directly connected to
the serial pins that it does not connect.<br>
I tested the device on mac and used the ALLINPUTS
firmata and it works with a virtual serial created
by FTDI<br>
just can't seem to talk to it with Linux debian
running vanilla<br>
<br>
comport works fine with the UNO<br>
<br>
Patrick Pagano B.S, M.F.A<br>
Audio and Projection Design Faculty<br>
Digital Worlds Institute<br>
University of Florida, USA<br>
<a moz-do-not-send="true"
href="tel:%28352%29294-2020" value="+13522942020"
target="_blank">(352)294-2020</a><br>
<br>
________________________________________<br>
From: Pd-list <<a moz-do-not-send="true"
href="mailto:pd-list-bounces@mail.iem.at"
target="_blank">pd-list-bounces@mail.iem.at</a>>
on behalf of IOhannes m zmölnig <<a
moz-do-not-send="true"
href="mailto:zmoelnig@iem.at" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a></a>><br>
Sent: Monday, September 21, 2015 1:47 PM<br>
To: <a moz-do-not-send="true"
href="mailto:pd-list@mail.iem.at" target="_blank">pd-list@mail.iem.at</a><br>
Subject: Re: [PD] Pduino and arudino mini pro/raspi
debian- Pduino or Comport?<br>
<br>
On 09/21/2015 05:17 PM, Pagano, Patrick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
?i sent that message to it ]devicename
/dev/ttyS1/S0 and it does not exist so i tried to
create it with mknod and it created the names in
/dev but they are not accessible.<br>
</blockquote>
mknod? this sounds like you are following advice
from the 1990s.<br>
these days mknod is hardly ever needed: instead any
devicefiles will be<br>
created on the fly by the resp. drivers.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
selecting device in the toggles in the pduino
stuff only finds device 0<br>
<br>
I am wondering if it's a linux issue because the
only serial port at all is<br>
<br>
serial 0 /dev/ttyAMA0<br>
<br>
</blockquote>
a little bit of googling hints that /dev/ttyAMA0 is
indeed the name for<br>
the serial interface on the GPIO ports - which afaiu
is what you want.<br>
<br>
so you just use that device.<br>
<br>
<br>
then you need to get the permissions correct.<br>
check whether the device is already setup to allow
group-members to<br>
write to it, and which group that is:<br>
$ ls -l /dev/ttyAMA0<br>
crw-rw---- 1 root dialout 4, 67 Sep 3 16:12
/dev/ttyAMA0<br>
<br>
and eventually add the user running Pd to that
group:<br>
pd@raspbian $ sudo bash<br>
root@raspbian # adduser pd dialout<br>
<br>
after that you only need to re-login as that user to
let the new group<br>
membership have any effect.<br>
<br>
gadsr<br>
IOhannes<br>
<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true"
href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>
mailing list<br>
UNSUBSCRIBE and account-management -> <a
moz-do-not-send="true"
href="http://lists.puredata.info/listinfo/pd-list"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></a><br>
</blockquote>
<br>
</blockquote>
<br>
-- <br>
Ivica Ico Bukvic, D.M.A.<br>
Associate Professor<br>
Computer Music<br>
ICAT Senior Fellow<br>
Director -- DISIS, L2Ork<br>
Virginia Tech<br>
School of Performing Arts – 0141<br>
Blacksburg, VA 24061<br>
<a moz-do-not-send="true"
href="tel:%28540%29%20231-6139" value="+15402316139"
target="_blank">(540) 231-6139</a><br>
<a moz-do-not-send="true" href="mailto:ico@vt.edu"
target="_blank">ico@vt.edu</a><br>
<a moz-do-not-send="true"
href="http://www.performingarts.vt.edu"
rel="noreferrer" target="_blank">www.performingarts.vt.edu</a><br>
<a moz-do-not-send="true"
href="http://disis.icat.vt.edu" rel="noreferrer"
target="_blank">disis.icat.vt.edu</a><br>
<a moz-do-not-send="true"
href="http://l2ork.icat.vt.edu" rel="noreferrer"
target="_blank">l2ork.icat.vt.edu</a><br>
<a moz-do-not-send="true" href="http://ico.bukvic.net"
rel="noreferrer" target="_blank">ico.bukvic.net</a><br>
<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true"
href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>
mailing list<br>
UNSUBSCRIBE and account-management -> <a
moz-do-not-send="true"
href="http://lists.puredata.info/listinfo/pd-list"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ivica Ico Bukvic, D.M.A.
Associate Professor
Computer Music
ICAT Senior Fellow
Director -- DISIS, L2Ork
Virginia Tech
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
<a class="moz-txt-link-abbreviated" href="mailto:ico@vt.edu">ico@vt.edu</a>
<a class="moz-txt-link-abbreviated" href="http://www.performingarts.vt.edu">www.performingarts.vt.edu</a>
disis.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net</pre>
</body>
</html>