CHAPTER 12Wireless Communication and Control
This chapter describes how a Beagle board can be configured to wirelessly communicate to the internet and to wirelessly interface to devices and sensors using different communication standards. The chapter begins with a description of how Bluetooth communications can be used to develop a wireless remote-control framework using mobile apps. Next, a description is provided about how the board can be configured to connect to the internet using USB Wi-Fi adapters. The discussion on Wi-Fi continues with a description of how the low-cost NodeMCU (ESP8266) Wi-Fi microcontroller can be used to build a local network of wireless things, which can communicate sensor values to the Beagle board and to an IoT PaaS. The ZigBee protocol is then used to build peer-to-peer wireless networks that use the popular XBee ZigBee devices. Finally, NFC/RFID is used to build a simple security access control system. By the end of this chapter, you should be able to choose an appropriate wireless communication standard to suit your needs, and you should be able to build sophisticated wireless IoT applications.
EQUIPMENT REQUIRED FOR THIS CHAPTER:
- Beagle board (any model)
- BeagleBone Black Wireless or USB Bluetooth adapter
- Access to an Android mobile device
- BeagleBone Black Wireless or USB Wi-Fi adapter
- NodeMCU microprocessor (ESP8266 version 2)
- ZigBee modules (ideally the Digi XBee S2/S2C ZigBee model)
- An XBee USB Explorer and two XBee-to-breadboard adapters
Get Exploring BeagleBone, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.