Chapter 17. Analog-to-Digital Converters - ADC

In this chapter, we will present a specific peripheral type that can be used to get analogical signals from the environment. Our embedded kits are digital devices, but to interact with the environment, we need the ability to convert information from our world (the analogical one) to the digital world.

In particular, we will see the ADC class, which belongs to the Industrial I/O (IIO) devices and its specific sysfs interface. We'll see how we can use special software and hardware triggers in order to start conversions at a specific time or when some events occur.

What is an analog-to-digital converter device?

An analog-to-digital converter (ADC) is a device that can convert an analog signal into a digital ...

Get GNU/Linux Rapid Embedded Programming 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.