Skip to Content
Electronics for Beginners: A Practical Introduction to Schematics, Circuits, and Microcontrollers
book

Electronics for Beginners: A Practical Introduction to Schematics, Circuits, and Microcontrollers

by Jonathan Bartlett
September 2020
Beginner
503 pages
11h 49m
English
Apress
Content preview from Electronics for Beginners: A Practical Introduction to Schematics, Circuits, and Microcontrollers
© Jonathan Bartlett 2020
J. BartlettElectronics for Beginnershttps://doi.org/10.1007/978-1-4842-5979-5_15

15. Analog Input and Output on an Arduino

Jonathan Bartlett1  
(1)
Tulsa, OK, USA
 

In Chapter 14, we learned how to do basic digital input and output with an Arduino using its I/O pins. In this chapter, we will cover how to do analog input and output as well.

15.1 Reading Analog Inputs

So far we have been focusing on digital input and output—HIGH and LOW states. The Arduino Uno also supports some amount of analog input (through its analog pins) and a sort of “faked” analog output (through its pulse-width modulation (PWM) pins, which will be covered in the next section).

On the Arduino Uno, the analog input pins are grouped together in a section ...

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

Make: Electronics, 3rd Edition

Make: Electronics, 3rd Edition

Charles Platt

Publisher Resources

ISBN: 9781484259795Purchase LinkPublisher Website