Chapter 10. Electricity and Magnetism

Hall sensors detect a magnetic field. They come in different varieties: some just detect the presence of a magnet, while others can tell you the strength of the magnetic field in teslas.

Voltage and current sensors work like a multimeter, measuring electricity passing through them. They can easily measure power that would otherwise break a microcontroller’s analog input pin.

An electronic compass can tell you where magnetic north is. Better ones combine an accelerometer, so that ...

Get Make: Sensors now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.