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
- DHT11 Temperature & Humidity Sensor – ৳115
- NPK 7-in-1 Soil Sensor – ৳12,990
- TFT 1.8 inch SPI Color Display – ৳580
- Arduino Uno R4 WiFi – ৳2,290
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 probe | Brown/Red (V+) / Black (GND) | 12V adapter + / − (wire colours vary: check the label on the cable) |
| NPK probe | Yellow (A) / Blue (B) | MAX485 module A / B |
| MAX485 module | VCC / GND | 5V / GND (join the 12V supply GND to Arduino GND) |
| MAX485 module | RO / DI | D0 (RX) / D1 (TX): the Uno R4 hardware Serial1 |
| MAX485 module | DE + RE (tied together) | D2 |
| DHT11 | VCC / DATA / GND | 5V / D4 / GND |
| TFT 1.8" (ST7735) | CS / A0(DC) / RESET | D10 / D9 / D8 |
| TFT 1.8" (ST7735) | SDA / SCK / LED | D11 / D13 / 3.3V (VCC 5V, GND) |
Steps
- Read the sensor's label or datasheet for its Modbus settings. Most of these probes ship at 4800 baud, address 0x01.
- 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.
- Use the ModbusMaster library to do this for you: node.begin(1, Serial1) with preTransmission / postTransmission callbacks that switch D2.
- 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.
- 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)