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

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.

主站蜘蛛池模板: 天气| 沐川县| 榆树市| 芜湖县| 沁水县| 曲松县| 始兴县| 宜兴市| 石渠县| 皮山县| 德昌县| 溧水县| 大足县| 定兴县| 乐安县| 黄平县| 赤城县| 衡阳县| 宜良县| 开原市| 塔河县| 宣城市| 安塞县| 青海省| 两当县| 固原市| 前郭尔| 精河县| 五家渠市| 望谟县| 武威市| 江口县| 连平县| 黑山县| 进贤县| 穆棱市| 嘉黎县| 离岛区| 长宁县| 彝良县| 莱州市|