Chapter 8. Introduction to Arduino Networking
So far, we used a hardwired serial connection to interact with Arduino, a serial monitor to observe the Arduino serial data, and a Python serial library (pySerial
) to transfer data between the Arduino and Python applications. During this entire exchange, the range of communication was limited due to the hardwired serial connection. As a solution, you can use a wireless protocol such as ZigBee, Bluetooth, or other RF channels to establish a communication channel for a remote serial interface. These wireless protocols are extensively used in remote hardware applications, and they use the serial interface to transfer data. Due to their use of serial communication, these protocols require very little to no additional programming changes on the Arduino or Python side. You may require additional hardware to enable these protocols, however. The major benefit of these protocols is that they are really easy to implement. However, they are restricted with...