Hi,
I would like to know if I can use Pduino with a XBee connection : Computer (Pduino) > usb-to-serial device > XBee#1 ----- XBee#2 > Arduino (Firmata)
I've tried this, but it seems not working. And why not sending data to some other XBee-Arduino(Firmata) ?
And thanks a million to [mrpeach/unpackxbee] and this thread (http://lists.puredata.info/pipermail/pd-list/2009-03/079021.html), I've success with a Network Star with XBee (receive datas into pd from few XBee modules).
Best,
Jerome
If the xbees are in regular modem mode (not API) they should be transparent as far as the connection goes. You just need to make sure the baud rate is the same on everything. I find it seems to take a few tries to get a pair to communicate the first time though. Usually I seem to end up using X-CTU to establish the connections the first time. Once the modules are paired they work right away.
Martin
On 2013-05-20 06:25, Abel Jérôme wrote:
Hi,
I would like to know if I can use Pduino with a XBee connection : Computer (Pduino) > usb-to-serial device > XBee#1 ----- XBee#2 > Arduino (Firmata)
I've tried this, but it seems not working. And why not sending data to some other XBee-Arduino(Firmata) ?
And thanks a million to [mrpeach/unpackxbee] and this thread (http://lists.puredata.info/pipermail/pd-list/2009-03/079021.html), I've success with a Network Star with XBee (receive datas into pd from few XBee modules).
Best,
Jerome
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
If the xbees are in regular modem mode (not API) they should be transparent as far as the connection goes.
That what I though.
You just need to make sure the baud rate is the same on everything.
I start to reset the default settings : Receiver (connected to an Arduino) : ATRE, ATMY1, ATWR Sender : ATRE, ATMY2, ATDL1, ATWR
The ATID is the same by default, so it should be ok. When I use these settings with 2 arduinos, it works. And I've tested settings succesfully with direct connections between XBees. I don't understand. May be Firmata is waiting special messages to be start...
Jerome
On 2013-05-20 17:48, Abel Jérôme wrote:
If the xbees are in regular modem mode (not API) they should be transparent as far as the connection goes.
That what I though.
You just need to make sure the baud rate is the same on everything.
I start to reset the default settings : Receiver (connected to an Arduino) : ATRE, ATMY1, ATWR Sender : ATRE, ATMY2, ATDL1, ATWR
The ATID is the same by default, so it should be ok. When I use these settings with 2 arduinos, it works. And I've tested settings succesfully with direct connections between XBees. I don't understand. May be Firmata is waiting special messages to be start...
Maybe the xbee is sending something when it starts up or connects that confuses the arduino into going into bootloader mode?
Martin