Welcome to Make: Sensors. Soon you’ll be making gadgets that can sense it all—from dangerous gases to acceleration. In this book, you’ll use sensors to measure the physical world, represent the result as a numeric value, and take some action based on that value.
For example, a sensor could measure heat, pressure, light, or acceleration and report a value such as 22 C, 1015 millibars, light is detected, or 2.3 g acceleration (in the case of light, notice that we represented it as a Boolean or yes/no value rather than a numeric quantity; you’ll see examples of this later).
A microcontroller board is the brain of the robot, system, or gadget you’re building. You’ll write your own software to run on the microcontroller. In this book, you’ll ...