O'Reilly logo

Embedded C Programming by Mark Siegesmund

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20

Analog Techniques

Abstract

This chapter explains how to work with analog voltages from a C program. The math involved with resolution, range, and accuracy is explained for all topics in this chapter.

Digital to analog converters (DACs) are explained with C examples. Analog audio formats for CD players and MP3 players are also explained. The digital communications interface (DCI) is briefly introduced. C code and all the considerations for analog to digital converters (ADC) are also covered in this chapter.

Many examples of filtering analog data are shown and explained. The use in C of the voltage reference, comparator, and voltage detect peripherals is included.

Examples and exercises are for the popular PIC® microcontroller manufactured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required