当前位置:网站首页>Esp8266 Arduino programming example ADC
Esp8266 Arduino programming example ADC
2022-07-27 09:32:00 【Vision & IOT intelligence】
ADC
ESP8266-12E There is an easy to access ADC Pin , This article will demonstrate how to collect ADC Pin level value .
ESP8266 ADC The resolution is 10 position , It means , It can be downloaded from ADC The range of values read by the pin is 0~1023.
If you use bare chips ,ESP8266 ADC The input voltage range of the pin is 0 To 1V. However , majority ESP8266 Development boards are equipped with internal voltage dividers , Therefore, the input range is 0 To 3.3V. therefore , To make a long story short :
- ESP8266 In the development board ADC Voltage range :0 to 3.3V( for example :ESP8266 12-E NodeMCU Kit、WeMos D1 Mini、…)
- ESP8266 In the chip ADC Voltage range :0 To 1V( for example :ESP-07 chip 、ESP-12E chip ……)
ESP8266 NodeMCU Of ADC The pins are as follows :

1、 Hardware preparation
- ESP8266 NodeMCU Development board
- One potentiometer
- 100 Ohmic and 220 One ohmic resistor ( If you use bare chips )
- There are several DuPont lines
- A data line
2、 Software preparation
- Arduino IDE or VSCode + PlatformIO
In the previous article , How to build ESP8266 The development environment is introduced in detail , Please refer to :
边栏推荐
- Binary tree traversal
- [leetcode -- the second day of introduction to programming ability] operator (the number of bit 1 / the difference between the sum of the products of integers)
- 工程材料期末考试试卷
- HBuilder 微信小程序中运行uni-app项目
- Community attribute of BGP
- C# 给Word每一页设置不同文字水印
- ES6 new - string part
- Read the paper snunet CD: a densely connected Siamese network for change detection of VHR images
- Two tips in arkui framework
- 快应用JS自定义月相变化效果
猜你喜欢

Monitoring artifact: Prometheus easy to get started, really fragrant!

面试官:什么是脚手架?为什么需要脚手架?常用的脚手架有哪些?

Interviewer: what is scaffolding? Why do you need scaffolding? What are the commonly used scaffolds?

Vscode uses remote SSH connection and the solution of connection failure

Read the paper snunet CD: a densely connected Siamese network for change detection of VHR images

vscode使用remote-ssh连接以及连接失败的解决方法
![[wechat applet] lunar calendar and Gregorian calendar are mutually converted](/img/6e/ad01756f8da54901a64c5323e4b747.png)
[wechat applet] lunar calendar and Gregorian calendar are mutually converted

BGP联邦实验

拟搬迁!211中国石油大学(华东)新校区,正式启用!

Longest string without duplicate characters
随机推荐
Cross domain and processing cross domain
工程材料期末考试试卷
Explicit animation in arkui
The whole process of principle, simulation and verification of breath lamp controlled by FPGA keys
Read the paper snunet CD: a densely connected Siamese network for change detection of VHR images
JS call and apply
工程材料知识点总结(全)
【云驻共创】华为云:全栈技术创新,深耕数字化,引领云原生
[C language - zero foundation _ study _ review _ lesson 4] data types and operations
STL container -- Application of set set
七月集训(第26天) —— 并查集
七月集训(第16天) —— 队列
Two tips in arkui framework
Monitoring artifact: Prometheus easy to get started, really fragrant!
NCCL (NVIDIA Collective Communications Library)
七月集训(第04天) —— 贪心
Lua function nested call
What if the parameters in QT are structs or custom classes when sending signals?
《工程测量学》考试复习总结
【线性代数01】矩阵的转置和逆