- Mastering Arduino
- Jon Hoffman
- 108字
- 2021-07-23 18:57:38
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.
推薦閱讀
- 科技創(chuàng)新啟示錄:創(chuàng)新與發(fā)明大師軼事
- 科學(xué)照進(jìn)現(xiàn)實(shí):科普必讀精選集(套裝4冊)
- 科技原創(chuàng)苦旅
- 人人都該懂的科學(xué)簡史
- 圖說科學(xué)發(fā)明
- 干旱缺水的荒漠:沙漠(探究式科普叢書)
- 高校科研團(tuán)隊(duì)創(chuàng)造力的形成與提升策略研究
- 復(fù)雜性管窺
- 師夷長技(中國近現(xiàn)代科技轉(zhuǎn)型的歷史軌跡與哲學(xué)反思 第二卷)
- 危機(jī)浪潮:未來在危機(jī)中顯現(xiàn)
- 光和熱的能量釋放:火(探究式科普叢書)
- 牛津大學(xué)自然史博物館的尋寶之旅
- 小電流接地系統(tǒng)單相接地故障選線理論研究(遼寧省優(yōu)秀自然科學(xué)著作)
- 必知的科技之最
- 基于圖模型的多維時(shí)間序列分析