Getting Started with Intel Galileo by Matt Richardson

Getting Started with Intel Galileo by Matt Richardson

Author:Matt Richardson
Language: eng
Format: epub, pdf
ISBN: 9781457183089
Publisher: Maker Media, Inc.
Published: 2014-04-05T16:00:00+00:00


Analog Input

As discussed in Chapter 3, a digital pin (input or output) represents information as either on or off. But there are plenty of inputs that could have a range of values. Dials, sliders, temperature sensors, and light sensors are all examples of possible analog inputs to Galileo. Along with the function analogRead(), you can have Galileo get the value of these inputs and act on them.

On the Galileo, there are six dedicated analog input pins numbered 0 through 5 (Figure 4-5). They accept a range of voltages from 0 to 5 volts. Since Galileo and all computers work in the digital realm, the range of voltages must be converted into digital data. Therefore, these input pins connect to an analog to digital converter, or ADC, which is a chip that allows Galileo to read what voltage is being sent to each pin.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.