I recently tried to design a circuit that would meet the following criteria:
I wish to select control a 240V motors run time and have a 20 second delay on motor start.
The motor is to be housed in a PELI case and fitted with a panel top that will house LCD display, keypad and push button.
I want an operator via the following steps to be able to set motor to run for chosen time in minutes.
Operator will turn power on.
Display will ask for run time (minutes)
Operator will set run time via keypad (with ability to cancel if wrong numbers entered etc)
Display will confirm run time and ask operator to press start
Operator will push start button
20 second delay with start
After 20 seconds motor will run for chosen time and then stop.
System will be ready to use again
I am using an UNOR3 board but not having any luck with the code I have written.
Products being used:
Including solderless prototype boards and dupont wires.
I have attached code, not sure if issue lies with code or wiring.
ARDUNIO MOTOR CODE.txt (1.82 KB)