Go Down

Topic: Need primer on Xbee communications (Read 720 times) previous topic - next topic



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?



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.



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.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131