Skip to content

Gouenjix/Quidle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Plant Monitor

ATmega328P-based system that auto-waters plants and controls UV grow lights based on soil moisture.


How It Works

Sensor Condition Action
Soil Moisture (A1) ADC > 400 (dry) Pump relay ON
Water Level (A2) ADC > 100 Red LED ON
Water Level (A2) ADC ≤ 100 Green LED ON
Timer (8 hrs) Within window UV light ON

Pin Map

Signal Arduino Pin AVR Pin
Soil Moisture A1 PC1 / ADC1
Water Level A2 PC2 / ADC2
Pump Relay D8 PB0
UV Light Relay D7 PD7
RGB Red D9 PB1
RGB Blue D10 PB2
RGB Green D12 PB4

PCB

PCB 3D

Full schematic and layout → images/


Flash the Firmware

Install toolchain (Ubuntu):

sudo apt install gcc-avr avr-libc avrdude

Build & flash (USBasp):

cd firmware
make
make flash

Flash via Arduino bootloader:

# Set PORT in Makefile first (e.g. /dev/ttyUSB0)
make flash-arduino

UART Output

Connect at 9600 baud, 8N1 to monitor live readings:

=== Smart Plant Monitor Boot ===
Moisture: 612
Water Level: 87

About

ATmega328P plant monitoring system — auto water pump & UV grow lights via soil moisture sensing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors