Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Automated Hydroponic System with Raspberry Pi and Arduino Control

View and Edit Project In Cirkit DesignerImage of Automated Hydroponic System with Raspberry Pi and Arduino Control

Circuit Documentation

Summary

This circuit is designed to control a system that includes stepper motors, a solenoid, a water pump, and various sensors. It utilizes two Nema 17 stepper motors for precision movement, controlled by TB6600 stepper motor drivers. A 12V power supply is regulated down to 5V using a buck converter to power the relay modules, sensors, and an Arduino Mega 2560, which serves as the main microcontroller. The circuit also includes a Raspberry Pi 4B for higher-level functions, interfacing with the Arduino via serial communication. A solenoid and water pump are controlled via relay modules, and sensor data is collected from an ultrasonic sensor, an IR sensor, a DHT11 temperature and humidity sensor, and an RTC module for timekeeping. A 7-inch WaveShare HDMI screen is powered by the Raspberry Pi for display purposes.

Component List

Motors

Motor Drivers

Power Supply and Conversion

Control Modules

Sensors and Modules

Actuators

Display

Relay Modules

Wiring Details

Nema 17 42-STH48 Stepper Motor

TB6600 Stepper Motor Driver

12V Power Supply

Buck Converter

Relay Module 5V-30V

Solenoid

Water Pump

HC-SR04 Ultrasonic Sensor

IR Sensor

RTC DS3231

DHT11 Sensor V2

Raspberry Pi 4B

7 inch WaveShare (H)

Documented Code

Arduino Mega 2560 Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not contain any functional code. It needs to be populated with the logic to control the circuit as per the requirements.