Computers & Electronics
XY-MD02 Temp Humidity Serial UART Communication
8K views
·
Oct 23, 2023
To get started with the XY-MD02 temperature and humidity sensor, we will be using the program PuTTY for serial communication. We will use RS485 serial communication to establish a connection and show how to read the values and parameters of the XY-MD02 sensor effectively. Additionally, we will explore the automatic polling feature, which allows for continuous monitoring of the sensor's data.
PuTTY is a versatile tool for connecting the computer and the XY-MD02 sensor. By utilizing RS485 communication, we can effectively retrieve temperature and humidity readings from the sensor. Setting up PuTTY on a Windows 11 64-bit computer, ensuring a seamless connection to the XY-MD02 sensor, will be demonstrated. These step-by-step instructions on how to read the temperature and humidity values from the XY-MD02 sensor are critical in understanding serial UART communication. This 1:1 communication will enable you to accurately monitor the environmental conditions in your desired setting. Let's get started.
More information can be obtained at our website. This includes all of the links mentioned in this video. https://accautomation.ca/xy-md02-temp-humidity-serial-uart-communication/
XY-MD02 Temperature Humidity Sensor - Modbus RTU (RS485)
Purchase
Amazon.com
https://amzn.to/3PbBryH
Amazon.ca
https://amzn.to/3Etmy65
Manual
https://accautomation.ca/purchase-find-parts/xy-md02-temp-humidity-sensor-modbus-rtu/
Connection to Raspberry Pi
https://www.instructables.com/XY-MD02-Temperature-and-Humidity-Sensor-Module-Mod/
00:00 XY-MD02 Temp Humidity Serial UART Communication
01:34 Hardware XY-MD02 Sensor
03:36 Installing PuTTY
05:30 Reading the Temperature and Humidity of the XY-MD02
07:54 Reading the Parameters of the XY-MD02
09:05 Automatic Polling XY-MD02 using PuTTY
Previously, we looked at the following that involves the XY-MD02 Temperature and Humidity Sensor:
Integrating an XY-MD02 Sensor with Modbus RTU into Click PLC
https://accautomation.ca/integrating-xy-md02-sensor-modbus-rtu-click-plc/
https://youtu.be/fMfWQZ90X8o
XY-MD02 Sensor Setting - Modbus RTU Network
https://accautomation.ca/xy-md02-sensor-setting-modbus-rtu-network/
https://youtu.be/-ZJnaKNHLR0
ACC Automation
https://www.accautomation.ca
Show More
Show LessComments
loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text