🛠️ MAKER GUIDEAug 06, 2026•⏱️ 3 min read•🇳🇵 Tested in Nepal
Automated Hydroponic Nutrient (TDS) & pH Dosing System for Polyhouses
Build an automated hydroponic dosing station with electrical conductivity (TDS), pH probe, and 12V suction micro-pumps for vertical urban farming in Nepal.
🛠️ BILL OF MATERIALS (BOM)
Required Hardware & Component Checklist
Curated components verified for this project. Check the items you need, adjust quantities, and add straight to cart:
Estimated Total (6/6 items):
NPR 7,610
✓ Cash on Delivery across Nepal
All parts selected
NPR 1,800
NPR 1,300
NPR 3,200
NPR 250
NPR 560
(NPR 280 ea)
NPR 500
Automated Hydroponic Nutrient (TDS) & pH Dosing System for Polyhouses
Educational Notes
This project is designed to be accessible to students from Class 4 to Masters level, with complexity scalable to match different age groups and skill levels.
Learning Objectives:
- Understand basic electronics and circuitry principles
- Learn sensor applications and data collection techniques
- Develop problem-solving skills through hands-on building and troubleshooting
- Apply programming concepts to control hardware and process data
- Connect projects to real-world Nepalese contexts and challenges
Adaptability:
- For younger students (Class 4-8): Focus on assembling pre-built circuits, observing results, and understanding basic concepts
- For intermediate students (Class 9-12): Modify code, experiment with parameters, and explore underlying principles
- For advanced students (Undergraduate/Masters): Optimize designs, add features, conduct research extensions, and analyze performance
Safety Note: Always supervise younger students when working with electricity, heat, or moving parts.
Hydroponic systems require balanced nutrient concentration (Electrical Conductivity / TDS) and pH levels between 5.8 and 6.5.
Hardware Bill of Materials (In Stock at Ghumti Pasal):
- Controller: MEGA2560 R3 (ATmega2560-16AU CH340G) AVR USB board Development board
- Water Quality: TDS Sensor Meter V1.0 Board Module Water Meter Filter
- Acidity Sensor: pH Electrode Probe BNC Connector 0-14 pH with Module
- Water Temperature: DS18B20 Waterproof Digital Temperature Sensor 1m
- Actuators: 2x 12V Micro Water Suction Pump
- Relay Switching: 4 channel 5V relay module low trigger with optocoupler
Circuit Pinout & Wiring Connections:
| Component / Sensor Pin | Arduino Mega 2560 Pin | Function / Description |
|---|---|---|
| TDS Meter VCC / GND | 5V / GND | Analog TDS Signal Conditioner Power |
| TDS Meter Analog OUT | Pin A1 | Analog EC / PPM Reading |
| pH Probe Module VCC / GND | 5V / GND | Signal Amplifier Power |
| pH Probe Module Analog OUT | Pin A2 | Analog Voltage Proportional to pH (0-14) |
| DS18B20 VCC / GND | 5V / GND | Temperature Probe Power |
| DS18B20 DATA | Pin D4 (with 4.7kΩ pull-up) | 1-Wire Digital Water Temperature |
| 4-Ch Relay IN1 (Pump A) | Pin D22 | Triggers Nutrient A Dosing Pump |
| 4-Ch Relay IN2 (Pump B) | Pin D23 | Triggers pH Down Dosing Pump |
| 4-Ch Relay VCC / GND | 5V / GND | Optocoupler Relay Power |
Firmware Source Code (Arduino Mega 2560 C++)
#include <Wire.h>
#include <EEPROM.h>
// L298N Motor Driver Pin Connections
const int ENA = 5;
const int IN1 = 18;
const int IN2 = 19;
const int IN3 = 21;
const int IN4 = 22;
const int ENB = 23;
void setup() {
Serial.begin(9600);
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
Serial.println("Robotic Chassis & Motor Driver Controller Active.");
}
void moveForward(int speedVal) {
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
}
void stopMotors() {
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
}
void loop() {
Serial.println("Executing Autonomous Drive Routine Forward...");
moveForward(200);
delay(3000);
Serial.println("Stopping Motors...");
stopMotors();
delay(2000);
}
← Previous Guide
Kathmandu Valley Air Quality & Gas Monitor with ESP32 & OLED Display
Next Guide →
Smart Ultrasonic Blind Walking Stick with Haptic Vibration Alert
