Page 1 of 1

GSM serial data

Posted: Sun Apr 23, 2017 12:55 pm
by AndreyB
Has anyone played with little GSM modules? Which one? How did it go? How hard was it?

Wonder what are the options for telemetry over GSM. I guess it would have to be GSM>TCP/IP on the internet, unless there are some serial P2P options via GSM/GPRS/2G/3G?

Re: GSM serial data

Posted: Sun Apr 23, 2017 1:26 pm
by puff
I'd say the simplest is to use wifi board (esp something) and connect it to wifi hotspot on any Android smartphone - no need to get extra sim, etc. However, that would still require you to have sort of a cloud and make your code connect to it to upload logs or to wait to connection, etc.

Re: GSM serial data

Posted: Sun Apr 23, 2017 1:28 pm
by AndreyB
puff wrote:I'd say the simplest is to use wifi board (esp something) and connect it to wifi hotspot on any Android smartphone - no need to get extra sim, etc.
This sounds like a good idea for TCP/IP prototyping but extra point of failure, extra device extra pairing etc involved.

Re: GSM serial data

Posted: Sun Apr 23, 2017 1:34 pm
by puff
Vice versa, proving that it works would be even simpler: if you can open a website on your smartphone, it is highly likely that the devices connected to the hotspot have the connection. While checking the network coverage, connection status, errors (sms for balance? Indeed?) on a modem is a completely different story..

Sent from my XT1058 using Tapatalk

Re: GSM serial data

Posted: Mon Apr 24, 2017 3:07 am
by kb1gtt
We should have talked about this while I was there. I've done it with a plc. Key issue was getting a data plan that worked.

Re: GSM serial data

Posted: Mon Apr 24, 2017 8:18 am
by Rhinoman
I've used them, they are fairly straightforward but you need to be somewhere were there is a reliable signal - not in the English countryside!

Re: GSM serial data

Posted: Mon Apr 24, 2017 11:18 am
by AndreyB
Any specific part numbers knows to work? Did you guys use them in TCP/IP or serial mode? If serial mode what was the destination?

Re: GSM serial data

Posted: Mon Apr 24, 2017 11:26 am
by andreika
I've used good old SIM300D via UART - worked like a charm :)

Re: GSM serial data

Posted: Mon Apr 24, 2017 2:13 pm
by puff
I've always been wondering, what does it mean "via UART"? How does it look like?
You use AT commands to set up a connection to some IP address? And then instead of AT commands you start sending your data?

Re: GSM serial data

Posted: Mon Apr 24, 2017 2:26 pm
by Dron_Gus
puff wrote:I've always been wondering, what does it mean "via UART"? How does it look like?
You use AT commands to set up a connection to some IP address? And then instead of AT commands you start sending your data?
Yes. You can switch between data and command mode with special sequence or RTS/CTS or other flow control signal.
Or you can use some AT command (AT+CIPSEND IRC) to send some data in command mode. Data usually coded to ascii string.
Above is applied to GSM modules with integrated TCP/IP stack.

Re: GSM serial data

Posted: Mon Apr 24, 2017 2:44 pm
by puff
Dron_Gus wrote:GSM modules with integrated TCP/IP stack
does this mean GPRS? Is 3G any different?

Re: GSM serial data

Posted: Tue Apr 25, 2017 8:12 am
by Dron_Gus
puff wrote:
Dron_Gus wrote:GSM modules with integrated TCP/IP stack
does this mean GPRS? Is 3G any different?
GPRS, EDGE, LTE, etc. AT commands all the same. May be some differences between manufacturers, because AFAIR AT commands for integrated TCP/IP stack is not covered with any standard.

Re: GSM serial data

Posted: Tue Apr 25, 2017 8:19 am
by Rhinoman
I used serial mode with a SIM900 module, it can be done with a USB-TTL adapter. I have also used TCP/IP with a 3G module but that was a complete system using Ethernet so it was a 'bolt in'.