Hello
I have no idea where I put this my A6 modem problem.
I am new to A6 modem.
AI-Thinkers A6 module is connected to my microcontroller (PIC16F886).
Power supply is 2A 5V.
The A6 and the microcontroller have build together to same PCB.
This is SMS message device.
It controls 3 digital inputs, one temperature sensor and one relay.
I have made similar devices 20 years, but with normal GSM modems.
I can see what happens in the modem with external RS232 outputs and inputs.
With other A6 modem in the same microcontroller comes every SMS messages right with 9600 bps.
Yes A6 modem works with 9600 bps when I give ten AT-commands at start with 1 s delay.
I have put other A6 modem to circuit board with external wires to microprocessor.
Here is working message:
+CIEV: "MESSAGE",1+CMT: "+358456056670",,"2018/10/13,20:51:28+03"Atn1+358442453526
This is normally +CMT: message
With other A6 it starts to work normally, but in receiving SMS message it is not normal.
I have reseted A6 to AT&F.
I have put AT+CMGF=1.
Also I have put AT+CNMI=1,2,0,0,0.
A6 receiving SMS-messages:
1 Sometimes comes:
+CIEV: "+358456056670",,"2018/10/
24,14:51:05+03"Atn2+358442453526
2 Sometimes:
+CIEV: "ME<0xFB>SAG<0xC5>03"Atn2+358442453526
3 Sometimes:
+CIEV: <0x80>bb<0x92><0x82><0x8A><0xC2>z<0x8A><0x82>z<0x92><0xA2>b<0x8A><0xA2>
4 Sometimes:
+CIEV:
5 Sometimes:
+CIEV: <0xF8><0x8A><0xC2>z<0x8A><0x82>z<0x92><0xA2>
6 sometimes:
+CIEV: Z<0x9A><0xAA><0xC2><0xA2><0xAA><0xB2><0x82><0xAA><0xB2><0xB2><0xBA><0x82>bb&SH<0xF8>
7 sometimes:
+CIEV:Z<0x9A><0xAA><0xC2><0xA2><0xAA><0xB2><0x82><0xAA><0xB2><0xB2><0xBA><0x82>bb
<0x92><0x82><0x8A><0xC2>z<0x8A><0x82>z<0x92>
8 sometimes
+CIEV: "+358456056670",,"2018/10/24,15:19:13+03"Atn2+35844
It seems that +CIEV: command comes mostly, but then SMS message is mostly rubbish.
Have anybody found similar data from modems?
It is strange that every message comes different.
I could change A6 modem to working one, but I suspecting that I have done something wrong.
Before A6 I tried M590 modems three pieces, but one was dead, one was taking a lot of the current (>2A), one seems to work, but do not make connection to network.
Only two times with 10 sec at time at two days.
It seems that M590 is not reliable enough.
So do anybody have had same kind of the problem with A6?
OH3GDO