-
1Step 1
Programming instructions:
- Load the Arduino sketch in the Arduino IDE on your PC.
- Connect your PC to the mini-USB port of the Arduino Nano. Note that you do not need to remove the Arduino Nano from the PCB. It does not matter if power is applied to the A6 module or not.
- In the Arduino IDE, set menu option Tools/Board to "Arduino Nano w/ ATmega 328"
- Use the Arduino IDE to upload the sketch to the Arduino Nano.
- If an A6 module is available and powerd on, the LED on the Arduino Nano should begin to flash approximately once per second.
- If the flash is mostly off/partly on, the A6 module is not reporting a successful connection (this is not very reliable).
- If the flash is mostly on/partly off, the A6 module is reporting a successful connection to a GSM network.
-
2Step 2
Installation instructions:
- Connect the gate "CLOSE" and "OPEN" wires to J1. It is assumed that the gate controller expects an open-collector connection. For any other type of connection, J1 may be used to drive a pair of relays which are connected to +5v or +12v.
- Connect ground of J2 to ground of the gate controller. For example with a DEA NET230N, ground is available on terminal 28.
- Configure the gate controller to use the new connections to close and open the gate. For example with a DEA NET230N, connect terminal 25 as "CLOSE", connect terminal 27 as "OPEN", set INPUT2 as CLOSE (Parameter 018, Data 004), set INPUT1 as OPEN (Parameter 017, Data 003).
- Disable the PIN security on the SIM card, by placing it in a mobile phone and disabling SIM security.
- Place the SIM card in the A6 GSM/GPRS module (module must be unplugged from the PCB to reach the SIM slot).
- Apply 5 volts to J2 - or - apply 5 volts to the micro-USB port on the A6 module. Note that the power supply must provide at least 1 Amp. Do not use the mini-USB port on the Arduino Nano to apply power.
- Wait at least 30 seconds for the A6 module to register on a network.
-
3Step 3
User instructions:
- Make a phone call to the SIM card.
- The call will automatically end after 2 rings.
- The gate will open (if it is not already open).
- After 3 minutes, the gate will close.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.