Shop OBEX P1 Docs P2 Docs Learn Events
SPIN2 code for Sara-3G-Click module — Parallax Forums

SPIN2 code for Sara-3G-Click module

Hi !

Someone asked for some example SPIN2 code for the Sara-3G GSM module.

https://www.parallax.com/product/3g-sara-click/

I've attached an archive for PropellerTool that will hopefully provide a headstart.

The uBlox modules are really demanding in both the volume and order of commands required to complete tasks, and I'd recommend anyone working with these modules to follow these tips:

  1. Follow the examples exactly as shown in the uBlox AT-Command and example guides, freely downloadable from the u-Blox website at the Sara-3G product page.

  2. Whilst developing or debugging code, attach two extra PropPlugs to the Sara-3G module. Connect the Sara TX pin to PropPlug #1 RX pin. Connect the Sara RX pin to PropPlug #2 RX pin. Ensure all PropPlugs and the Sara module have a common GND connection. Open two serial terminals on your computer and now you can monitor all commands between your code and the 3G module, live as it happens!

The biggest issue I find when working on comms modules is that you often can't see what's going on at the module level, so adding extra PropPlugs to provide visibility of all the messages, replies possible errors and delays goes a long way to allowing the developer to solve problems!

Comments

Sign In or Register to comment.