当前位置:网站首页>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 :
边栏推荐
- Two tips in arkui framework
- [cloud native kubernetes practice] deploy the rainbow platform under the kubernetes cluster
- 全排列递归思路整理
- 拟搬迁!211中国石油大学(华东)新校区,正式启用!
- 七月集训(第06天) —— 滑动窗口
- [C language - zero foundation lesson 14] variable scope and storage class
- Wechat applet 5 - foundation strengthening (not finished)
- [wechat applet] lunar calendar and Gregorian calendar are mutually converted
- Analog library function
- C language exercises
猜你喜欢
随机推荐
IDL MODIS generate lookup table
DNS域名空间
ES6 new - object part
Day 7 of learning C language
IDL calls 6S atmospheric correction
Google Earth Engine APP——打印点的坐标到控制台上和map上,设置样式并更新
How to register code cloud account
七月集训(第10天) —— 位运算
七月集训(第09天) —— 二分查找
Full Permutation recursive thought sorting
七月集训(第12天) —— 链表
Qt中发送信号时参数为结构体或者自定义的类怎么办?
The fifth day of learning C language
C language exercises
七月集训(第13天) —— 双向链表
七月集训(第08天) —— 前缀和
七月集训(第11天) —— 矩阵
七月集训(第16天) —— 队列
ES6 new - string part
IDL 6S lookup table









