Pages: [1]   Go Down
Author Topic: Need primer on Xbee communications  (Read 430 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Needs more lasers...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm looking to interface 2 Arduino boards using Xbee breakouts. One will transmit, the other recieve. Then convert the received data to MIDI and relay to a synthesizer.

Can someone explain the basics of making an Arduino receive data on the serial port?

- this is not event driven right? Is there any kind of buffering?

Thanks,
Steve
Logged

Huntsville, AL, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't help you directly, but I just picked up a copy of Tom Igoe's book, Making Things Talk, and it has a rather extensive section on XBee communications. I just haven't read and digested it all yet.

http://www.oreilly.com/catalog/9780596510510/
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The underlying Arduino code does event- (interrupt-) driven receiving of the serial data, but exposes it to your sketch through a non-event driven function, Serial.read().  It buffers about 128 characters.
Logged

Pages: [1]   Go Up
Jump to: