
159Chapter 7: Sensors
ONBOARD SENSORS
As the cost of components decreases, more microcontroller boards
are being released with onboard sensors. This can be very useful for
prototyping—you can immediately get started working with sensor data
without having to do any wiring or circuit building.
The CPX is an example of a microcontroller board that features built-in
sensors. The sensors include light, sound, temperature, and accelerometer.
There are also two buttons and a slide switch, as well as a set of capacitive
touch pins. To get started with these, check out Adafruit’s CPX guide (learn.
adafruit.com/adafruit-circuit-playground-express).
Keep ...