CHAPTER 9Interacting with the Physical Environment

In this chapter, you will learn how to build on your knowledge of GPIO and bus interfacing. In particular, you can combine hardware and software to provide the Beagle boards with the ability to interact with their physical environments in the following three ways: First, by controlling actuators such as motors, the board can affect its environment, which is important for applications such as robotics and home automation. Second, the board can gather information about its physical environment by communicating with sensors. Third, by interfacing to display modules, the board can present information. This chapter explains how each of these interactions can be performed. Physical interaction hardware and software provides you with the capability to build advanced projects, such as to build a robotic platform that can sense and interact with its environment. The chapter finishes with a discussion on how you can build your own C/C++ code libraries and interact with them to build highly scalable projects.

EQUIPMENT REQUIRED FOR THIS CHAPTER:

  • Beagle board, DMM, and oscilloscope
  • DC motor and H-bridge interface board
  • Stepper motor, EasyDriver interface board, and a 5 V relay
  • Op-amps (LM358, MCP6002/4), diodes, resistors, 5 V relay
  • TMP36 temperature sensor and Sharp infrared distance sensor
  • MCP3208 SPI ADC, op-amp (MCP6002/4), diodes, and resistors
  • LCD character display module
  • MAX7219 seven-segment display module
  • ADXL335 analog three-axis ...

Get Exploring BeagleBone, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.