Chapter 40Interfacing Hardware with Your Microcontroller or Computer

The brains of a robot don’t operate in a vacuum, even if you’ve built a vacuum-cleaning robot. They need to be attached to motors to make the robot move and to sensors to make the robot perceive its surroundings. In most cases, these outside devices cannot be directly connected to the computer or microcontroller of a robot. Instead, it is usually necessary to condition these inputs and outputs so they can be used by the robot’s brain.

In this chapter you’ll learn about the most common and practical methods for interfacing real-world devices to computers and microcontrollers. For your convenience, some of the material presented in this chapter is replicated, in context, in other ...

Get Robot Builder's Bonanza, 4th Edition, 4th 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.