Chapter 7. Controlling the Physical World
Most Makers will want to build a project that can manipulate and interact with the physical world by controlling sensors, motors, components, and devices. Controlling the devices and modules is mostly accomplished with programming, but there are some prerequisites to fulfill in Linux before you can jump into controlling them. In this chapter, I will explain how to control the general-purpose input/output (GPIO) pins, the inter-integrated circuit (I²C) protocol, and the serial peripheral interface (SPI) protocol and even how to interact with an Arduino. Though I won’t be able to go into details about how the programming works, I will provide some examples in Python that illustrate the fundamentals of ...
Get Linux for Makers, 1st 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.