Skip to Content
C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming
book

C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming

by Hubert Henry Ward
December 2019
Intermediate to advanced
282 pages
4h 22m
English
Apress
Content preview from C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming
© Hubert Henry Ward 2020
H. H. WardC Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-5525-4_5

5. Real-World Inputs

Hubert Henry Ward1  
(1)
Lancashire, UK
 

In this chapter we will look at using the PIC to measure real-world signals such as signals from pressure, temperature, and speed. It will cover using the three registers that control the ADC and receiving an analogue input and displaying it as a binary value.

After reading this chapter, you will be able to use analogue inputs.

Using Analogue Inputs

As well as digital inputs, which are usually just on or off, 5v or 0V, PICs can use analogue inputs. These are inputs that can ideally take up any voltage within the range of the PIC, normally any voltage between 0 and 5V. I say ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming

Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming

Hubert Henry Ward

Publisher Resources

ISBN: 9781484255254Purchase LinkPublisher Website