Professional Documents
Culture Documents
ZigBee Arduino
3.3 V 3.3 V
GND GND
Tx0 Din
Rx0 Dout
Once these connections are done, Arduinos are connected to the laptops via the USB A-B
cable. The EV code and the code for the control station are uploaded via the cables with the
help of the programs created in Arduino IDE. The user must disconnect the Tx and the Rx
connections between the Arduino and Xbee at the time of upload in order to avoid conflict.
For the implementation of the two way wireless communication between the EV and the
control station, the microcontrollers on both the ends have to be programmed in a certain
way. The functioning of the programs on both the ends is illustrated in the form of flowcharts
in the following sections.
38