hello,
i try the comport object on raspberry pi. it can send perfectly, but receiving data hang pd. data can be seen using : cat /dev/ttyANA0 so it's not a problem with the pi.
is there any other object to receive serial data?
thanks Cyrille
[comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB.
.hc
On 01/27/2013 01:16 PM, Cyrille Henry wrote:
hello,
i try the comport object on raspberry pi. it can send perfectly, but receiving data hang pd. data can be seen using : cat /dev/ttyANA0 so it's not a problem with the pi.
is there any other object to receive serial data?
thanks Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Comport works fine for me on the Pi with an Arduino and Firmata.
Cheers,
Pierre.
2013/1/28 Hans-Christoph Steiner hans@at.or.at
[comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB.
.hc
On 01/27/2013 01:16 PM, Cyrille Henry wrote:
hello,
i try the comport object on raspberry pi. it can send perfectly, but receiving data hang pd. data can be seen using : cat /dev/ttyANA0 so it's not a problem with the pi.
is there any other object to receive serial data?
thanks Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello,
cool. did you do anything special? did you also use /dev/ttyAMA0 or something else?
cheers c
Le 28/01/2013 09:24, Pierre Massat a écrit :
Comport works fine for me on the Pi with an Arduino and Firmata.
Cheers,
Pierre.
2013/1/28 Hans-Christoph Steiner <hans@at.or.at mailto:hans@at.or.at>
[comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB. .hc On 01/27/2013 01:16 PM, Cyrille Henry wrote: > hello, > > i try the comport object on raspberry pi. > it can send perfectly, but receiving data hang pd. > data can be seen using : > cat /dev/ttyANA0 > so it's not a problem with the pi. > > is there any other object to receive serial data? > > thanks > Cyrille > > _______________________________________________ > Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi, I didn't do anything special, i just installed comport and other dependencies for pduino, and plugged my Arduino Uno. It appeared as device 0 (can't tell you about /dev/ttyAMA0).
Cheers,
Pierre.
2013/1/28 Cyrille Henry ch@chnry.net
hello,
cool. did you do anything special? did you also use /dev/ttyAMA0 or something else?
cheers c
Le 28/01/2013 09:24, Pierre Massat a écrit :
Comport works fine for me on the Pi with an Arduino and Firmata.
Cheers,
Pierre.
2013/1/28 Hans-Christoph Steiner <hans@at.or.at mailto:hans@at.or.at>
[comport] is quite thoroughly tested so I would be surprised if it is
the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB.
.hc On 01/27/2013 01:16 PM, Cyrille Henry wrote: > hello, > > i try the comport object on raspberry pi. > it can send perfectly, but receiving data hang pd. > data can be seen using : > cat /dev/ttyANA0 > so it's not a problem with the pi. > > is there any other object to receive serial data? > > thanks > Cyrille > > ______________________________**_________________ > Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/*
*listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
hello,
thanks for the info,
that's really weird. i try with 2 different pi , and 2 different installation. /dev/ttyAMA0 is the only serial connection that comport see. and for both card, sending is ok, but receiving did not work well.
cheers c
Le 28/01/2013 10:49, Pierre Massat a écrit :
Hi, I didn't do anything special, i just installed comport and other dependencies for pduino, and plugged my Arduino Uno. It appeared as device 0 (can't tell you about /dev/ttyAMA0).
Cheers,
Pierre.
2013/1/28 Cyrille Henry <ch@chnry.net mailto:ch@chnry.net>
hello, cool. did you do anything special? did you also use /dev/ttyAMA0 or something else? cheers c Le 28/01/2013 09:24, Pierre Massat a écrit : Comport works fine for me on the Pi with an Arduino and Firmata. Cheers, Pierre. 2013/1/28 Hans-Christoph Steiner <hans@at.or.at <mailto:hans@at.or.at> <mailto:hans@at.or.at <mailto:hans@at.or.at>>> [comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB. .hc On 01/27/2013 01:16 PM, Cyrille Henry wrote: > hello, > > i try the comport object on raspberry pi. > it can send perfectly, but receiving data hang pd. > data can be seen using : > cat /dev/ttyANA0 > so it's not a problem with the pi. > > is there any other object to receive serial data? > > thanks > Cyrille > > _________________________________________________ > Pd-list@iem.at <mailto:Pd-list@iem.at> <mailto:Pd-list@iem.at <mailto:Pd-list@iem.at>> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> <mailto:Pd-list@iem.at <mailto:Pd-list@iem.at>> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello,
i made more tests : minicom works perfectly for both TX and RX. so the serial communication works. but I still have problem with comport. sending is ok, but it receiving did not work correctly :
connecting TX and RX, sending on Byte and looking with an oscilloscope, i can see that the value is send over and over, and comport did never receive it.
slowing down the pooling speed help a bit : i can receive few bytes, but not in the order I send them, and most are lost. pd hang a lot, and connection crash often.
i'm using comport from svn (version 0.2), and pd 0.44.1 what version are you using?
according to what i see in pduino, nothing special is made to configure the connection, so things should just work.
cheers c
Le 28/01/2013 10:49, Pierre Massat a écrit :
Hi, I didn't do anything special, i just installed comport and other dependencies for pduino, and plugged my Arduino Uno. It appeared as device 0 (can't tell you about /dev/ttyAMA0).
Cheers,
Pierre.
2013/1/28 Cyrille Henry <ch@chnry.net mailto:ch@chnry.net>
hello, cool. did you do anything special? did you also use /dev/ttyAMA0 or something else? cheers c Le 28/01/2013 09:24, Pierre Massat a écrit : Comport works fine for me on the Pi with an Arduino and Firmata. Cheers, Pierre. 2013/1/28 Hans-Christoph Steiner <hans@at.or.at <mailto:hans@at.or.at> <mailto:hans@at.or.at <mailto:hans@at.or.at>>> [comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB. .hc On 01/27/2013 01:16 PM, Cyrille Henry wrote: > hello, > > i try the comport object on raspberry pi. > it can send perfectly, but receiving data hang pd. > data can be seen using : > cat /dev/ttyANA0 > so it's not a problem with the pi. > > is there any other object to receive serial data? > > thanks > Cyrille > > _________________________________________________ > Pd-list@iem.at <mailto:Pd-list@iem.at> <mailto:Pd-list@iem.at <mailto:Pd-list@iem.at>> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> <mailto:Pd-list@iem.at <mailto:Pd-list@iem.at>> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
hello,
if i do : cat /dev/ttyAMA0 | pdsend 1234 127.0.0.1 udp
i receive the data just as expected with a netreceive.
receiving same data with comport hang everything.
ttyAMA0 is the mount point of the serial connection of the pi. i follow this tutorial: http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/
cheers c
Le 28/01/2013 01:52, Hans-Christoph Steiner a écrit :
[comport] is quite thoroughly tested so I would be surprised if it is the problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all worked on it quite a bit. It might be the question of what format the data is in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and /dev/ttyUSB.
.hc
On 01/27/2013 01:16 PM, Cyrille Henry wrote:
hello,
i try the comport object on raspberry pi. it can send perfectly, but receiving data hang pd. data can be seen using : cat /dev/ttyANA0 so it's not a problem with the pi.
is there any other object to receive serial data?
thanks Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list