component: Pushbutton

1 articles found.

XBee Arduino Interfacing

XBee radio module, wire antenna, blue circuit board, pin header connections

Hello friends! We have already covered the Introduction to XBee Module and Interfacing of XBee with Computer . In this tutorial, we will connect our configured radios to two Arduino UNO Rev3 boards and use a pushbutton on one board to control the built-in LED on the other. We will build the project in stages. First, we will establish the power and serial connections. Next, we will define the messages sent between the boards. Finally, we will write separate sender and receiver sketches and examine how they handle button bounce, incomplete messages, and a lost wireless connection. The example assumes two compatible radios already configured for transparent serial communication at 9600 baud. The address values carried forward from the previous lesson apply to classic S1 802.15.4 firmware. Rad ...