Smart Agriculture NPK Soil Station (7-in-1) with WiFi

Kit price: ৳15,017 (parts bought separately ৳15,975, you save ৳958)

Industrial RS485 7-in-1 soil probe (N, P, K, pH, EC, moisture, temperature) read by an Arduino Uno R4 WiFi, with air temperature and humidity and a colour display in the field. The core of most smart-farming theses.

What is in the kit

Build guide

Level: Intermediate · Build time: 2–3 days · Ideal for: Agriculture-tech theses, smart farming competitions, university research plots

A field unit that reads all seven soil values every few seconds, shows them on screen and uploads them over WiFi.

Wiring

NPK probeBrown/Red (V+) / Black (GND)12V adapter + / − (wire colours vary: check the label on the cable)
NPK probeYellow (A) / Blue (B)MAX485 module A / B
MAX485 moduleVCC / GND5V / GND (join the 12V supply GND to Arduino GND)
MAX485 moduleRO / DID0 (RX) / D1 (TX): the Uno R4 hardware Serial1
MAX485 moduleDE + RE (tied together)D2
DHT11VCC / DATA / GND5V / D4 / GND
TFT 1.8" (ST7735)CS / A0(DC) / RESETD10 / D9 / D8
TFT 1.8" (ST7735)SDA / SCK / LEDD11 / D13 / 3.3V (VCC 5V, GND)

Steps

  1. Read the sensor's label or datasheet for its Modbus settings. Most of these probes ship at 4800 baud, address 0x01.
  2. Start Serial1 at 4800 baud. Set D2 HIGH to send, LOW to receive. Send a "read holding registers" (function 0x03) request for the registers in the probe's datasheet and read the reply.
  3. Use the ModbusMaster library to do this for you: node.begin(1, Serial1) with preTransmission / postTransmission callbacks that switch D2.
  4. Check each value against the datasheet's scale (for example, pH is often sent ×100). Calibrate pH with buffer solution if your thesis needs accuracy.
  5. Add the DHT11 and the TFT (Adafruit ST7735 library), then upload to ThingSpeak or Firebase over the Uno R4's WiFi.

Not included, you will also need

  • MAX485 RS485-to-TTL module
  • 12V 1A DC adapter for the probe
  • Waterproof enclosure for field use
  • Breadboard or screw terminal board and jumper wires

Arduino libraries

  • ModbusMaster
  • DHT sensor library (Adafruit)
  • Adafruit ST7735 and ST7789
  • WiFiS3 (built in for Uno R4 WiFi)