当前位置:网站首页>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
边栏推荐
- Shell script quickly counts the number of lines of project code
- @Before, @after, @around, @afterreturning execution sequence
- Cat recycling bin
- Modify the system time of Px4 flight control
- 刨析《C语言》【进阶】付费知识【二】
- Input and output of C language pointer to two-dimensional array
- How did partydao turn a tweet into a $200million product Dao in one year
- New job insights ~ leave the old and welcome the new~
- CISP-PTE实操练习讲解(二)
- Compile command line terminal swift
猜你喜欢
Scenario practice: quickly build wordpress blog system based on function calculation
Flir Blackfly S 工业相机 介绍
Centros 8 installation MySQL Error: The gpg Keys listed for the "MySQL 8.0 Community Server" repository are already ins
ROS learning (21) robot slam function package -- installation and testing of orbslam
FLIR blackfly s industrial camera: explanation and configuration of color correction and code setting method
Mongodb checks whether the table is imported successfully
centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
张平安:加快云上数字创新,共建产业智慧生态
刨析《C语言》【进阶】付费知识【一】
Twenty or thirty thousand a leaf? "Yang Mou" behind the explosion of plant consumption
随机推荐
XML to map tool class xmlmaputils (tool class V)
Blackfly S USB3工业相机:缓冲区处理
Analyze "C language" [advanced] paid knowledge [End]
Cat recycling bin
Shortcut keys commonly used in idea
JS Es5 can also create constants?
猫猫回收站
ROS learning (26) dynamic parameter configuration
PartyDAO如何在1年内把一篇推文变成了2亿美金的产品DAO
长安链学习笔记-证书研究之证书模式
解密函数计算异步任务能力之「任务的状态及生命周期管理」
初识MySQL
Integrated navigation: product description and interface description of zhonghaida inav2
The cradle of eternity
Big guys gather | nextarch foundation cloud development meetup is coming!
Golang foundation - data type
Add PDF Title floating window
UC伯克利助理教授Jacob Steinhardt预测AI基准性能:AI在数学等领域的进展比预想要快,但鲁棒性基准性能进展较慢
Flir Blackfly S USB3 工业相机:白平衡设置方法
Yiwen takes you into [memory leak]