官术网_书友最值得收藏!

Analog input pins

The Arduino Uno contains a built-in Analog-To-Digital (ADC) converter with six channels, which gives us six analog input pins. The ADC converts an analog signal into a digital value. While the digital pins have two values, either high or low, the analog input pins have values from 0 to 1023 relative to the reference value of the Arduino. The Arduino Uno has a reference value of 5V.

The analog input pins are used to read analog sensors such as rangefinders and temperature sensors. The six analog pins can also be configured as digital pins if we run out of digital pins in our project.

主站蜘蛛池模板: 新乡市| 禹城市| 张家川| 鹤峰县| 丘北县| 桑日县| 南溪县| 开阳县| 桓仁| 酉阳| 乡城县| 珲春市| 微山县| 大庆市| 开鲁县| 略阳县| 五指山市| 博兴县| 南通市| 乌鲁木齐县| 库车县| 赤壁市| 怀集县| 历史| 永登县| 福建省| 汕尾市| 特克斯县| 遂溪县| 咸阳市| 榆树市| 广水市| 乐业县| 固原市| 浦城县| 临澧县| 江川县| 巴彦淖尔市| 新丰县| 巴南区| 灵丘县|