ESP32 Automated Irrigation Control System Project - PART 1 - Problem/Design/Water-Valve

Описание к видео ESP32 Automated Irrigation Control System Project - PART 1 - Problem/Design/Water-Valve

After receiving a water bill for over $400 due to an under ground pipe rupture, I became motivated to re-design my outside irrigation system to ensure that such an incident would never again occur. A simple evaluation of the existing system quickly revealed the shortcomings of the design. It was an accident waiting to happen. I can't rely on city environmental services to monitor stuff like this, even though its their job. We can do better.

An overall plan is designed for the replacement of the existing system with a new automated system controlled by an esp32 incorporating both an electric ball valve as well as a water meter. The basic plan is discussed. The project however will need to be broken into smaller projects as separate libraries will need to be made for the valve and meter.

An electrical design is made for functionality of the valve as well as signaling for the ESP32 so that software can be written around it. A DPDT relay is employed, wired as a flip-flop for this unit. With this a quick program is assembled just to check functionality of the relay and then power supply through the relay. With this working, the valve is then tested.

The library was built around the valve with features I felt would be beneficial toward the functionality if the valve. It has already been published to Arduino and PlatformIO library manager. Simply search for Ballvalve in the library manager of the respective IDE and install. Instructions are contained in the example code.

Next Step will be development for the water meter.

5 Wire Motorized Ball valve
https://amzn.to/3Tr81yf

Buck Converter
https://amzn.to/3n1WZ6o

Power Transformer 120vac
https://amzn.to/3Jsqg1I

Water Meter
https://amzn.to/42mNRd1

AC/DC Converter
https://amzn.to/3mY6OCx

DPDT Relay
https://amzn.to/3lluL6d

2.4G WiFi Antenna for FPV TX Antenna with RP-SMA Female Cable Dipole Whip
https://amzn.to/3FvAhtI

HiLetgo ILI9341 2.8" SPI TFT LCD Display Touch Panel 240X320 with PCB 5V/3.3V STM32
https://amzn.to/3TqgW3e

Knurled Insert Nuts - 50Pcs M4 x 6mm Length x 6.4mm OD Female
https://amzn.to/3JiCObY

I2C TWI Serial LCD 2004 20x4 Display Module with I2C Interface Adapter Blue Backlight
https://amzn.to/3lmS6oa

HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board
https://amzn.to/3Fv4KZ5

Screw Terminal Block Breakout Module Board for ESP32-DevKitC
https://amzn.to/3yLGr5q

2Pin Panel Mount 13mm Waterproof Power Connector IP67
https://amzn.to/3n1DDhH

SP13 6pin Waterproof Aviation Cable Connectors Plug Socket IP67
https://amzn.to/3n3cR8H

360 Degree Rotary Encoder Module KY-040 Brick Sensor
https://amzn.to/3ljdPgD

KUOYUH Circuit Breaker 91 Series 50VDC 125/250VAC (1A-2A) (2.0A)
https://amzn.to/3YQZ42l

5PCS Green AC/DC12-24V LED Indicator Lights
https://amzn.to/3YXiLWl

3pcs PCF8575 IO Expander Board Module I2C to 16IO IIC I2C I/O Extension
https://amzn.to/40f9jhZ

4pcs 2A 5V Charge Discharge Integrated Module 3.7V/4.2V PCB Board Module for 18650 Lithium Battery
https://amzn.to/3yTPkK1

10pcs AMS1117-3.3 DC-DC Step-Down Power Module AMS1117-3.3V Buck Module LDO 800MA
https://amzn.to/3n3JYti

#esp32 #platformio #arduinoide #automation #maker

Комментарии

Информация по комментариям в разработке