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: 1) Learn limits button - press once to set open position, once more to set the close position, and a 3rd time to save the settings 2) Open Button - used when setting the Open/Close limits to open the arm 3) Close Button - used when setting the Open/Close limits to close the arm 4) Single Button Push - to allow the user to press a button on the PCB instead of using the fob
Dip Switches: 1) Save 2) Mag Lock On/Off 3) Sensor On/Off 4) Phone On/Off 5) Key On/Off 6) FOBs On/Off
LEDs 1) Power 2) Button Pressed 3) Set Open Limit 4) Set Close Limit 5) Diagnostic 6) Timer Running
Potentiometer 1) Force 2) Delay 3) Time to close
Relays 1) Flashing Light 2) Mag Lock 3) 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.