当前位置:网站首页>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
边栏推荐
- Halcon knowledge: segment_ contours_ XLD operator
- Flir Blackfly S工业相机:颜色校正讲解及配置与代码设置方法
- ROS learning (XIX) robot slam function package cartographer
- ROS learning (21) robot slam function package -- installation and testing of orbslam
- Ds-5/rvds4.0 variable initialization error
- C语言关于链表的代码看不懂?一篇文章让你拿捏二级指针并深入理解函数参数列表中传参的多种形式
- 解密函数计算异步任务能力之「任务的状态及生命周期管理」
- Redis configuration class redisconfig
- 字符串的相关编程题
- MySQL execution process and sequence
猜你喜欢
Dall-E Mini的Mega版本模型发布,已开放下载
Flir Blackfly S USB3 工业相机:计数器和定时器的使用方法
ROS learning (XX) robot slam function package -- installation and testing of rgbdslam
Correct use of BigDecimal
企业中台建设新路径——低代码平台
大咖云集|NextArch基金会云开发Meetup来啦!
ROS learning (21) robot slam function package -- installation and testing of orbslam
Vingt - trois mille feuilles? "Yang mou" derrière l'explosion de la consommation végétale
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 2)
Box stretch and pull (left-right mode)
随机推荐
ROS学习(24)plugin插件
企业中台建设新路径——低代码平台
ROS learning (24) plugin
XML to map tool class xmlmaputils (tool class V)
Reptile practice (VI): novel of climbing pen interesting Pavilion
ROS learning (XX) robot slam function package -- installation and testing of rgbdslam
JS es5 peut également créer des constantes?
String to date object
传感器:土壤湿度传感器(XH-M214)介绍及stm32驱动代码
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
ROS learning (23) action communication mechanism
Schedulx v1.4.0 and SaaS versions are released, and you can experience the advanced functions of cost reduction and efficiency increase for free!
最近小程序开发记录
组合导航:中海达iNAV2产品描述及接口描述
The GPG keys listed for the "MySQL 8.0 community server" repository are already ins
长安链学习笔记-证书研究之证书模式
FLIR blackfly s industrial camera: explanation and configuration of color correction and code setting method
Flir Blackfly S 工业相机 介绍
机器人队伍学习方法,实现8.8倍的人力回报
Domestic images of various languages, software and systems. It is enough to collect this warehouse: Thanks mirror