Sensors, Uncategorized

Easily Testing 7 In 1 Soil Sensor With Arduino

In this tutorial, we will learn how to use a 7 in 1 soil sensor with Arduino and program it to see all data on a serial monitor

Connections:

RS485 interface is connected to the Arduino board as follows:

RE pin to Arduino pin 6

DE pin to Arduino pin 7

RO pin to Arduino pin 8

DI pin to Arduino pin 9

The RS485 A and B pins are connected to the corresponding pins of the sensor

The snubber circuit is connected to the sensor as follows:

Snubber -ve pin to Arduino or sensor ground pin

Snubber +ve pin to Arduino 5V and sensor +v pin

Diagram-

Setup Pic:

Video link-

https://drive.google.com/file/d/1wTBBZKngc2TXyntnJmJhXCjvJyVEvdRg/view?usp=drivesdk

Note : Make sure you are using power supply is noise less , if there is noise in power supply you will loss data, and receive random values (255/225)

Leave a Reply

Your email address will not be published. Required fields are marked *