Resetting Arduino with remote GSM - text / AT Commands

Hi all - we are looking for some quick help,

We are using 6nos of A6 GSM modules located at different location for monitoring and sending an SMS once every 24 hours, system seems to be working fine but some times - message stops coming from some of the location - we need to physically reset locally and it starts working normally until it stops next time some times it is over few days some time in a day.

We want to reset the controller from remote by just giving a ring to that module / sending an SMS,could anyone help on to solve this pl.

Thanks,

Ramesha

progam_Sample.ino (3.01 KB)

If the system stops sending SMSs then it is quite likely that it will not receive one either. You really need to get to the bottom of why they stop.

What are the symptoms of the problem beyond the SMS not being sent ? Could you log pertinent data to an SD card for debugging after the event ?

Have you tried using a hardware RTC instead of what seems to be a software implementation ? What is the advantage of using a software RTC over doing the timing using millis() ?

We are getting the sensor data onto Arduino, Arduino is active not hanging.

We tried using RTC module but there was a challenge the GSM module was not getting triggered hence we have used software RTC.

Read it one of the threads - with weak/dropped signal the GSM module buffer piles up, hence we are looking at some way to cut the call from remote with AT command! that we are not tried

Problem is happening to weak tower/signal, there is option only to increase the audio gain and not RF gain.

As the accuracy of the software RTC depends on the accuracy of the Arduino oscillator you might as well use millis() for timing so that one complicating factor is eliminated.

I note that you are using SoftSerial at a high baud rate and that you start it using

mySerial.begin(115200);

3 times in the program. Try using a much slower baud rate and start it only once in setup()

Which Arduino boards are you using ?

We tried decreasing the baud rate but this GSM module works only at that baud rate!

rockwellramesha:
We tried decreasing the baud rate but this GSM module works only at that baud rate!

Surely the baud rate can be changed. SoftSerial does not work reliably at 115200

From AliExpress

Baud rate: 115200bps and it can also be set by AT command

Baud rate can be changed but the GSM module doesn't respond

What are you using to change the baud rate ?

AT Commands