Hello,
I'm trying to use a maestro gsm module to control my central by receiving exact 4 character texts ( NORM = normal, HOUR will extend the heating etc)
using 20M2 chip and a rs232 to ttl adapter.
SEROUT using pinc.7 8MHZ I want to send AT+CMGR= 1 ,13(CR) ( will delete all message at reading, so the the message I want will always be message 1
SERIN using pinc.0 8MHZ I want extract the number calling and the four character after the CR so it does not matter if I mis the first character, I can use a qualifier on say "07"
Allow I've tried this on my pc using a terminal emulator and all is well what I get back from the picaxe is
b0 = a
b1= T
b2 =+
b3= C
b4= m
b5=g
b6 = r
b7= "="
b8 = 1
b9 = 1
b10 = 3 I,ve turned echo off (ATE0)
Even if I just try sending AT I should get back "OK" but still get just the command back.
If I don't put enough variables in the SERIN line it the DEBUG hangs which makes me think the data is coming from the modem; my logic probe also see the data coming in from pin c.0
thanks tim
I'm trying to use a maestro gsm module to control my central by receiving exact 4 character texts ( NORM = normal, HOUR will extend the heating etc)
using 20M2 chip and a rs232 to ttl adapter.
SEROUT using pinc.7 8MHZ I want to send AT+CMGR= 1 ,13(CR) ( will delete all message at reading, so the the message I want will always be message 1
SERIN using pinc.0 8MHZ I want extract the number calling and the four character after the CR so it does not matter if I mis the first character, I can use a qualifier on say "07"
Allow I've tried this on my pc using a terminal emulator and all is well what I get back from the picaxe is
b0 = a
b1= T
b2 =+
b3= C
b4= m
b5=g
b6 = r
b7= "="
b8 = 1
b9 = 1
b10 = 3 I,ve turned echo off (ATE0)
Even if I just try sending AT I should get back "OK" but still get just the command back.
If I don't put enough variables in the SERIN line it the DEBUG hangs which makes me think the data is coming from the modem; my logic probe also see the data coming in from pin c.0
thanks tim