I would like to find out if it is possible to control the pins on an Arduino Uno board using AT Commands from a SIM808 GSM module. I am working on a Home Alarm System which I want to be activated via either an SMS, USSD application or mobile app. Kindly assist.
I think you've got something mixed up. Let's say your module is connected to an Arduino. In this case, AT commands are sent in the direction from the Arduino to the modem, and not vice versa. That is, you cannot control the Arduino using AT-commands.
This is done differently - you somehow communicate with the modem from the outside, for example using SMS - and the Arduino reads these messages, decrypts and executes the commands written in them.
However, for this you must write an SMS processing program on Arduino.
hi,
Your advice was good and it worked. However, I tried it once and the LED was switching on with an SMS command but when I try it again there is no response.
I have tried and tried. What could be the problem and is there some code I can refer to?
Regards,