Hi all
Quite a few people on this forum have helped me with this project so I'd like to share the results. Many thanks to those people.
My parents have a remote control which allows them to open the gate. However, the range is pretty poor which means you have to use it close to the gate and wait a while for it to open (1st world problems!).
This device allows you to send a text message to the device which opens the gate. It has a GSM device, an Atmega 328, a USB to serial converter (to allow you to upload code to the 328),a reed relay (a relay which simulates a button press on the remote), a 12v to 5v linear regulator and an existing remote which I took apart. I placed everything on a stripboard which is halfway between a breadboard and a PCB.
Photos: https://i.imgur.com/z9atCBS.jpg
https://i.imgur.com/NcojXTI.jpg
Code attached.
I realise my soldering and circuit layout leaves something to be desired but it's my first project using an atmega without arduino. It also works!
Any suggestions for improvements (hardware or code) welcomed.
Thanks
GateNoWait.ino (7.8 KB)
Settings.cpp (3.95 KB)
Settings.h (1.1 KB)