当前位置:网站首页>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
边栏推荐
- 【唯一】的“万字配图“ | 讲透【链式存储结构】是什么?
- Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
- MySQL's most basic select statement
- Treadpoolconfig thread pool configuration in real projects
- Golang foundation - data type
- New job insights ~ leave the old and welcome the new~
- Flir Blackfly S 工业相机 介绍
- Seconds understand the delay and timing function of wechat applet
- 红外相机:巨哥红外MAG32产品介绍
- JS ES5也可以創建常量?
猜你喜欢
张平安:加快云上数字创新,共建产业智慧生态
场景实践:基于函数计算快速搭建Wordpress博客系统
Can't you understand the code of linked list in C language? An article allows you to grasp the secondary pointer and deeply understand the various forms of parameter passing in the function parameter
刨析《C语言》【进阶】付费知识【二】
处理streamlit库上传的图片文件
Errors made in the development of merging the quantity of data in the set according to attributes
ROS learning (XX) robot slam function package -- installation and testing of rgbdslam
The GPG keys listed for the "MySQL 8.0 community server" repository are already ins
JS how to quickly create an array with length n
企业中台建设新路径——低代码平台
随机推荐
刨析《C语言》【进阶】付费知识【完结】
一片葉子兩三萬?植物消費爆火背後的“陽謀”
Unicode string converted to Chinese character decodeunicode utils (tool class II)
sql中批量删除数据---实体中的集合
使用Ceres进行slam必须要弄清楚的几个类和函数
The foreground downloads network pictures without background processing
开发中对集合里面的数据根据属性进行合并数量时犯的错误
STM32F4---通用定时器更新中断
Golang foundation - data type
JVM memory model
uva 1401 dp+Trie
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
初识MySQL
Recognition of C language array
6 seconds to understand the book to the Kindle
Shortcut keys commonly used in idea
Flir Blackfly S工业相机:颜色校正讲解及配置与代码设置方法
大咖云集|NextArch基金会云开发Meetup来啦!
Box stretch and pull (left-right mode)
How to use strings as speed templates- How to use String as Velocity Template?