当前位置:网站首页>Sensor: introduction of soil moisture sensor (xh-m214) and STM32 drive code
Sensor: introduction of soil moisture sensor (xh-m214) and STM32 drive code
2022-07-07 02:10:00 【The moon shines on the silver sea like a dragon】
Soil moisture sensor (XH-M214) And stm32 Driver code
This paper mainly introduces :stm32f103 ADC Read voltage Collect soil moisture sensor (XH-M214) data
XH-M214 brief introduction
XH-M214 The real object looks like this :
The one that looks like a fork is a sensor , Measuring soil moisture changes with the change of soil conductivity ( Soil resistance increases with drought ). Measure the resistance between the two electrodes of the sensor .
The blue module is a voltage comparator and a voltage divider , The pin is defined as follows :
One is analog signal output , And measured soil moisture , There is also a switch signal output , Because there is a comparator , When the threshold is exceeded, the flag bit is output .
Its and schematic diagram are as follows :
Working voltage 3.3v-5v, Working current :100mA within
advantage
边栏推荐
- ROS学习(24)plugin插件
- BigDecimal 的正确使用方式
- C语言【23道】经典面试题【下】
- ROS learning (21) robot slam function package -- installation and testing of orbslam
- Seconds understand the delay and timing function of wechat applet
- Shell script quickly counts the number of lines of project code
- 初识MySQL
- String to date object
- 开发中对集合里面的数据根据属性进行合并数量时犯的错误
- npm install 编译时报“Cannot read properties of null (reading ‘pickAlgorithm‘)“
猜你喜欢
sql中批量删除数据---实体中的集合
ROS学习(24)plugin插件
ROS学习(22)TF变换
使用Ceres进行slam必须要弄清楚的几个类和函数
Reptile practice (VI): novel of climbing pen interesting Pavilion
Livox激光雷达硬件时间同步---PPS方法
Centos8 install MySQL 8.0 using yum x
解密函数计算异步任务能力之「任务的状态及生命周期管理」
Vingt - trois mille feuilles? "Yang mou" derrière l'explosion de la consommation végétale
Schedulx v1.4.0 and SaaS versions are released, and you can experience the advanced functions of cost reduction and efficiency increase for free!
随机推荐
ROS学习(25)rviz plugin插件
Flir Blackfly S 工业相机:通过外部触发实现多摄像头同步拍摄
SchedulX V1.4.0及SaaS版发布,免费体验降本增效高级功能!
ROS学习(23)action通信机制
Schedulx v1.4.0 and SaaS versions are released, and you can experience the advanced functions of cost reduction and efficiency increase for free!
STM32F4---通用定时器更新中断
Get to know MySQL for the first time
Domestic images of various languages, software and systems. It is enough to collect this warehouse: Thanks mirror
Hutool post requests to set the body parameter to JSON data
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 2)
Modify the system time of Px4 flight control
New job insights ~ leave the old and welcome the new~
将截断字符串或二进制数据
C language [23] classic interview questions [Part 2]
刨析《C语言》【进阶】付费知识【二】
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
C语言【23道】经典面试题【下】
激光雷达:Ouster OS产品介绍及使用方法
Flir Blackfly S 工业相机:配置多个摄像头进行同步拍摄
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW