XY-MD02 Temperature Humidity Modbus Sensor
'Video thumbnail for XY-MD02 Sensor Setting - Modbus RTU Network'
play_arrow
9:23
XY-MD02 Sensor Setting - Modbus RTU Network
XY-MD02 Sensor Setting - Modbus RTU Network

26K views · Oct 16, 2023 accautomation.ca

The XY-MD02 temperature and humidity sensor uses Modbus RTU for communication. Modbus RTU (serial) works as a master (client) to slave (server) communication protocol. To add this sensor to an existing network as another unit number, you must set it up first. We will be using the Simply Modbus Master software in demo mode to set the parameters of the XY-MD02 sensor. We will test the default values of the sensor and then adjust the parameters for our network. 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-sensor-setting-modbus-rtu-network/ 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 Sensor Setting - Modbus RTU Network 01:09 Hardware XY-MD02 Modbus RTU 02:01 Software Installation XY-MD02 Modbus RTU 04:36 Software Configuration XY-MD02 Modbus RTU 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 ACC Automation https://www.accautomation.ca

'Video thumbnail for Integrating an XY MD02 Sensor with Modbus RTU into Click PLC'
play_arrow
8:18
Integrating an XY MD02 Sensor with Modbus RTU into Click PLC
Integrating an XY MD02 Sensor with Modbus RTU into Click PLC

10K views · Sep 11, 2023 accautomation.ca

Using Modbus RTU (RS485), we will connect the XY-MD02 Temperature and Humidity Sensor to the Click PLC. The Click will be the Client (Master), and the Sensor will be the Server (Slave). This is an ideal sensor to place in a panel to ensure that the panel is within a working temperature and humidity range. The XY-MD02 is an industrial Modbus RTU device that reads temperature and humidity. We will create a Click PLC program that will read the temperature and humidity from the sensor. We will also read the parameters from this sensor, like unit number, baud rate, temperature offset, and humidity offset. 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/integrating-xy-md02-sensor-modbus-rtu-click-plc/ XY-MD02 Temperature Humidity Sensor - Modbus RTU (RS485) Purchase Amazon.com https://amzn.to/3PbBryH Amazon.ca https://amzn.to/3Etmy65 Manual http://www.sah.rs/media/sah/techdocs/xy-md02-manual.pdf Connection to Raspberry Pi https://www.instructables.com/XY-MD02-Temperature-and-Humidity-Sensor-Module-Mod/ 00:00 Integrating an XY-MD02 Sensor with Modbus RTU into Click PLC 01:58 Wiring the XY-MD02 to a Click PLC 02:51 Click PLC Modbus RTU Program 06:20 Monitoring the Click Ladder Logic Program Previously, we looked at the following: Click Plus Software Installation https://accautomation.ca/click-plus-software-installation-version-3-00/ https://youtu.be/6uQQzyZ-O3s Establish Communication https://accautomation.ca/click-plus-establish-communication/ https://youtu.be/1Bnx3IROCqk MQTT Communication https://accautomation.ca/click-plus-plc-mqtt-communication/ https://youtu.be/wzUBolN9KjQ Data Logging https://accautomation.ca/click-plus-data-logging-csv-file-sql-database/ https://youtu.be/ydoWvMzHSKc Click Plus Real Time Clock https://accautomation.ca/click-plus-real-time-clock-setup-and-use/ https://youtu.be/0Vlqo8p0vCI Click PLC Serial Communication Timing https://accautomation.ca/click-plc-serial-communication-timing/ https://youtu.be/wbG_BKcdU1k Retentive Data Memory Registers https://accautomation.ca/click-plc-retentive-data-memory-registers/ https://youtu.be/9sCfu10xyu0 Click PLC Analog Input Non-Linear Scaling https://accautomation.ca/click-plc-analog-input-non-linear-scaling/ https://youtu.be/aRaugN3DYfs How to Connect Pushbutton Switch to Programmable Controller https://accautomation.ca/how-to-connect-pushbutton-switch-to-plc/ https://youtu.be/dSctVgxelZI Click to Click PLC Communication https://accautomation.ca/click-to-click-plc-communication-remote-io/ https://youtu.be/fMg1mz19-B0 Click PLC to Click PLC Communication RS485 https://youtu.be/EySxKZjm6uE Click PLC to Click PLC Communication Ethernet https://youtu.be/zLvJKxUrjww Click PLC to Click PLC Communication WiFi https://youtu.be/1cs8O8HLE6Q CLICK PLCs were designed with simplicity in mind, providing reliable control at a low, low cost and with little to no learning curve. This simplicity makes CLICK a perfect solution for small machines, home automation projects, pneumatic applications, or anywhere a simple system needs a budget-saving control solution. Building on the original CLICK's simple design, the new CLICK PLUS PLCs offer the same practical control but with surprising bells and whistles. Using the same FREE, streamlined PLC programming software as its predecessor, the CLICK PLUS PLCs provide no-headache programming combined with advanced capabilities like Wi-Fi communication and data logging. The Click and Click PLUS PLC series can be found at this URL: https://accautomation.ca/series/click-plc/ Features of the new Click PLUS PLC (C2-0xCPU) include the following: Micro USB DHCP support DNS support Wi-Fi (programming and Modbus TCP) Bluetooth (Wi-Fi) provisioning SD Card (Data Logging) Data Logger Network Time Service MQTT (Publish/Subscribe) Required PLC Password Disable Ports Strong Password Support Disable Ping Response Encrypted Password Transfer We are using the Click and Click PLUS PLCs for several reasons. Here are just a few. - Investment is low for the hardware, and the software is free - Standalone PLC with built-in I/O - Communication ability - Ethernet Port, RS232, RS485 - support for Modbus RTU, Modbus TCP, etc. - Ability to expand the system with various modules, including RTD and Thermocouple inputs directly. https://www.accautomation.ca

'Video thumbnail for XY-MD02 Temp Humidity Serial UART Communication'
play_arrow
12:00
XY-MD02 Temp Humidity Serial UART Communication
XY-MD02 Temp Humidity Serial UART Communication

15K views · Oct 23, 2023 accautomation.ca

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