/autovalve

This repo will contain firmware for arduino based solenoid valve irrigation automation system quantun mechanics, the big bang etc...

Primary LanguageC++GNU General Public License v3.0GPL-3.0

autovalve

This repo contains Arduino-based projects for solenoid valve irrigation automation system.


  • Automated water pump controller using Arduino UNO and DS1302 RTC module

    Arduino UNO R3 with RTC module controls pump relay. Timer activates relay every hour for 40 s, irrespective of power outage.

  • ESP-01 WiFi relay controller via local network and with MIT Android app

    Control relay using ESP-01 via self-hosted web page using IP address (can be configured as dynamic or static) in browser on local network and simultaneously via Android app built using MIT App Inventor (http://ai2.appinventor.mit.edu/).

alt text

alt text

  • ESP-01 WiFi LEDs controller using 4 GPIO pins

    ESP-01 controls 4 LEDs independently via self-hosted web page using GPIO 0, 1 (TX), 2 and 3 (RX). Note: GPIO 2 should not be connected to LED at boot up but it can be set as INPUT to sensor.

  • Measure AC Current using ACS712 and ESP-01

    ADC pin

alt text

Extra GPIO pins

alt text

ADC voltage divider

alt text

  • Irrigation control system

Set timers to control 3 relays. Current sensor enables deactivation of pump if current thresholds exceeded.

  1. Using Arduino UNO, DS1302 RTC module and ACS712 current sensor

  2. Using NodeMCU v1.0 12-E, DS1302 RTC and ACS712 current sensor (web page configurable via NodeMCU WiFi Access Point)

alt text

ADC voltage divider

alt text