Chapter 21

Sensors

Abstract

In mechatronics and embedded control, a microcontroller interfaces with sensors and actuators. This chapter describes a number of popular sensors in mechatronics. For each sensor, the transduction principle is briefly described, an example sensor model is given, and details of how to interface it with the PIC32 are covered. Sensors discussed include buttons and switches, light sensors (photocells, photodiodes, phototransistors, photointerrupters, and reflective object sensors), potentiometers, incremental and absolute optical encoders, magnetic encoders, resolvers, linear variable differential transformers, accelerometers, gyros, inertial measurement units (IMUs), Hall effect sensors, ultrasonic distance sensors, ...

Get Embedded Computing and Mechatronics with the PIC32 Microcontroller 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.