I am about to embark on a project, and need some help starting off.
My electric gate PCB has malfunctioned, and I am wondering how feasible it is to use an Arduino to control the opening and closing. It is a single gate system.
The pieces that still work are:
LYN400 24V actuator arm. This is 24V 48W. It has 6 wires. 2 for power (reb/blue) and the other 4 are "sensors" (brown/green/white/yellow)
24V Flashing Light (2 wires)
24V Maglock (2 wires)
Add On Fob controller (4 wires, 2 for power and 2 for the "button pushed" sensor)
Video Intercom system to send a signal to open the gate (2 wires)
A key switch (2 wires)
2 x InfraRed sensors (2 wires on each)
2 x 12V batteries
Mains transformer
To mimic the functionality of the broken PCB, there will need to be the following:
Buttons:
- Learn limits button - press once to set open position, once more to set the close position, and a 3rd time to save the settings
- Open Button - used when setting the Open/Close limits to open the arm
- Close Button - used when setting the Open/Close limits to close the arm
- Single Button Push - to allow the user to press a button on the PCB instead of using the fob
Dip Switches:
- Save
- Mag Lock On/Off
- Sensor On/Off
- Phone On/Off
- Key On/Off
- FOBs On/Off
LEDs
- Power
- Button Pressed
- Set Open Limit
- Set Close Limit
- Diagnostic
- Timer Running
Potentiometer
- Force
- Delay
- Time to close
Relays
- Flashing Light
- Mag Lock
- Gate Arm
I have the following already:
Arduino Uno
6mm x 6mm x 6mm push buttons
5v 4-Channel Relay Module Board (High Power Relays 250V 10A AC)
LEDs
For the potentiometers, I searched on ebay and came up with "Single Turn Finger Preset Trimmer Potentiometer". I am not sure what resistance to get.
So, with the above in mind, I am looking for some advice on a PCB layout of how it all needs to be wired together, and any resistors/capacitors etc that I may need. I am keen to get on and do the programming, but its the wiring side that I will struggle with. Is there anything else that I will need to buy?
Also, I am not sure how the 4 "sensor" wires on the actuator will be plumbed in. Any advice on what these wires will be would be excellent also.
Thanks in advance for any help.