RS485 Soil Moisture & Temperature Sensor In-Depth Tutorial with Arduino

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this is the industrial grade and highly accurate soil moisture and temperature sensor that works on RS4 Advent protocol earlier we used resistance and capacitive soil moisture sensor for many projects but the problem with this sensor is they have a very short lifespan and they coded weight passage of time they also have non-linearity issues and don't measure soil values correctly all these problems are solved by this sensor the center works at 5 volt only and can be interfaced with any microcontroller using the rs-485 communication protocol in this project we will be interfacing this sensor with Arduino Max 485 module and OLED display we will test the value of soil moisture and temperature and display them on OLED display we will also conduct various tests and figure out if the sensor is perfect or not so without getting any delayed let's get started [Music] [Music] this video is sponsored by Altium 365 the Altium 365 is an Electronics product design platform that unite specific design mcad these are management and teamwork with Altium 365 you can do the PCB designing task you can share your project over a Wi-Fi review purposes interact with mechanical designer for mechanical design it also provides centralized cloud storage it helps you with components management is it has the fastest shirts engine it can also allow your team to work together on a single product finally you can send your design to a manufacturing unit to get started with the free trial check the first link in the description welcome back again let's take a look at this sensor this sensor is designed to check Soul worms and wetness it is compared with high quality German sensor to make sure it is accurate this sensor is quick to give results and works reliably one of its best feature is that it can be left in the ground for a long time it won't covered and is completely waterproof the center Works between the voltage range of 4.5 to 30 volt DC with a typical power consumption of 0.4 watt the moisture measurement range is between 0 to 100 percentage the temperature it can measure is between -40 to 60 degree celsius the probe material is made of 304 stainless steel with ip68 production class the sensor can be used in two ways in the first method you can insert the three needles in the soil vertically make sure the needle does not hit any hard objects the second method is for long term usage in this method take a bit and bury the center once the center reading gets stable you can use this for several days months or even longer to rate the soil humidity and temperature value using this sensor will need the following components I have used Arduino nanoboard since the sensor output is rs485 we need a modbus RDU module this is the max 485 module from Maxim integrated that can be easily interfaced with a mode for sensor and a microcontroller to display the measured value I have used a 0.96 inches I Square c o LED display a breadboard is required as well for prototyping and assembly here is the connection diagram for this project all the connections between Arduino Max 485 and soil sensors are properly defined I made the same Connection in the breadboard as per the circuit diagram to power the hardware I used a 5 volt Supply from Arduino Nano then I developed the sample code to read the sensor values from the manufacturer data set I got to know how to read the sensor value is all the inquiry frame and response frame is preferably explained here I will display the soil moisture and temperature values in OLED display then I uploaded the code to the Arduino Nano board once the code is operated the OLED will serve the room temperature values correctly but for soil moisture values it appears 0 is it is exposed to dry air if it does the needles with your hand there is conductivity and thus such change can be observed in the OLED display after removing the fingers the values go to zero again to test the sensor in the field you need to tip the center in the soil but for demonstration I will use this glass of soil when the sensor is dipped in this mud you can see there is a change in the soil moisture valid the soil is dry currently and it's showing the quantity of moisture available when the water contained in the soil is increased there is a rise in soil moisture value displayed on the OLED screen for filled and practical dusting you can dip the sensor in the soil this is how you can use this soil humidity and temperature sensor with Arduino to read the soil moisture and temperature value that is all from the video part today you can purchase this sensor from rinkage official website more details on this sensor can be found here as well the detailed documentation of the project has been published on our website howelectronics.com you may go through all the details specifications working schematic coding results and demonstration in case you have thoughts you can ask us questions in the comment section thank you so much for watching this video see you in the next video
Info
Channel: How To Electronics
Views: 8,657
Rating: undefined out of 5
Keywords: Soil Moisture Sensor, rs485 soil sensor, rs485 soil moisture sensor arduino, Soil Humidity Sensor, Soil Wetness Sensor, RS485 Soil Humidity Temperature Sensor, Soil Moisture Sensor Arduino, Soil Moisture Sensor MAX485, Soil Temperature Sensor Arduino, RS485 Soil Temperature Sensor
Id: ycR_teDyE6o
Channel Id: undefined
Length: 6min 44sec (404 seconds)
Published: Mon Sep 18 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.