Arduino-based design to control two solenoid valves

Project Info

Case

The task was to design an Arduino-based circuit and programming it to control two solenoid valves using a touch screen. The main goal of the design was automating the independent opening time of each of the valves based on a pre-programmed firmware. The settings of time included days of the week, the daily hour of operation, hourly setting and minute setting for valves’ function. The client had requested using Arduino in the design so that he could later develop his own firmware for any other applications.

The final design was intended to be used for irrigation purposes.

Requirements

  1. Using Arduino for the design
  2. For touch screen using a 3.5” 480X320 TFT LCD
  3. The firmware need to be able to set any day of the week starting from 8 am to 6 pm
  4. The operation would only take two 120 seconds adjustable for valve one or valve two in seconds
  5. The touch screen will be located away from the box

Solution

The solution was composed of three parts including the main board circuit, the supply circuit, and the RTC circuit. Also, a firmware was made to provide the design with the requested functionalities. For the final design, the following main components were used:

Arduino module: “Arduino Uno R3”

Micro SD card: “MICRO SD TF CARD MEMORY SHIELD MODULE SPI MICRO SD ADAPTER FOR ARDUINO”

For the relay module: “Opto-isolated 2 Channel 5V Relay Module

We chose this component because it is a 2-channel relay module board with LED indicators and can be controlled by microcontrollers such as Arduino, AVR, PIC, ARM any other microcontroller operating at 5V.

For TFT touch screen: “3.5″ TFT 320×480 + Touchscreen Breakout Board w/MicroSD Socket – HXD8357D

The screen size of this component is: 56mm x 85mm x 4mm / 2.2″ x 3.4″ x 0.2″

Description

The final design took about 6 months to get completed. Due to some changes in the original request, the firmware took most of the work time to meet all the given requirements. The final design was locally tested at the client’s location and was satisfying for him.

Client:
Jeff Jones
Date:
March 6, 2019
Location:
CA, US
Category:
Electrical and Electronic Engineering