LoNet - GSM/GPRS/GPS Breakout

From Wiki 来自痴汉的爱
Jump to: navigation, search



LoNet is a GSM and GPS two-in-one function module. It is based on the latest GSM/GPS module SIM808 from SIMCOM, supports GSM/GPRS Quad-Band network and combines GPS technology for satellite navigation.

It features ultra-low power consumption in sleep mode and integrated with charging circuit for Li-Ion batteries, that make it get a super long standby time and convenient for projects that use rechargeable Li-Ion battery. It has high GPS receive sensitivity with 22 tracking and 66 acquisition receiver charnels. Besides, it also supports A-GPS that available for indoor localization.

The module is controlled by AT command via UART and supports 3.3V and 5V logical level. It comes with a mini GPS and GSM antenna, but not includes Li-Po battery. In addition, to use this module, you still need an unlock SIM-Card supporting GPRS service.


  • Quad-band 850/900/1800/1900MHz
  • GPRS multi-slot class12 connectivity: max. 85.6kbps(down-load/up-load)
  • GPRS mobile station class B
  • Controlled by AT Command (3GPP TS 27.007, 27.005 and SIMCOM enhanced AT Commands)
  • Supports charging control for Li-Ion battery
  • Supports Real Time Clock
  • Supply voltage range 3.4V ~ 4.4V
  • Integrated GPS/CNSS and supports A-GPS
  • Supports 3.0V to 5.0V logic level
  • Low power consumption, 1mA in sleep mode
  • Supports GPS NMEA protocol
  • Compact size 27mm x 46mm x 10mm
  • Standard SIM Card

GPS Specifications

  • Receiver channels: 22 tracking / 66 acquisition
  • Coarse/Acquisition code: GPS L1
  • Tracking sensitivity: -165dBm
  • Cold start time: 30s (typ.)
  • Hot start time: 1s (typ.)
  • Warm start time: 28s (typ.)
  • Horizontal position accuracy: < 2.5m CEP
  • Power consumption - Acquisition: 42mA
  • Power consumption - Continuous tracking: 24mA
  • Update rate: 5Hz

Interface Functions

Lonet pcb top.jpg Lonet pcb bottom.jpg
  • GPS Antenna: this is an uFL GPS antenna connector. You can connect either passive or active GPS antenna to it. Active GPS antenna runs at 2.8V voltage.
  • MicroUSB: the charging interface for Li-Ion battery, of input voltage range from 5V to 7V. Beside, it is also the software debugging interface for SIM808 that you can upgrade firmware and debug software.
  • Power Button: this is the hard power switch for the module. When the module is power up, you can turn on or turn off the module by pressing the button for 2s.
  • Net Indicator: Red LED, it will tell the what status is about the module linking to network. It can be turned off by LEDs_EN jumper pad.
  • Status Indicator: Green LED, it will tell whether the module is on, light when the module is running. It can be turned off by LEDs_EN jumper pad.
  • Li-ion Battery: this is power supply for the module, input voltage is from 3.4V to 4.4V. It uses the JST-2.0mm connector, that make it convenient to connect to 3.7V Li-Po Battery.
  • GSM Antenna: this is an uFL GSM antenna connector, just connect it to a GSM antenna for receiving GSM signal.
  • SIM - Card Holder: SIM card holder for standard SIM card
  • Microphone: this is the reserved interface for 2.8V microphone. By using the microphone, you can make voice calls and collect speech data around the module.
  • LEDs_EN: this is the switch for Net and Status indicator. It is by default connected, if you want to save power and disable these LEDs, you can cut off the connection with a knife.

Pin Definitions

  • PWR: this is soft power switch for the module, you can pull it to high level for at least 2s to power up or power down the module.
  • RI: this pin will tell you whether the module is on and is there any calls and messages received. It will be pulled to high level when the module is on. And it will change to low for 120ms when a call or message is received.
  • RST: this is reset pin for the module. By default it has a high pull-up. If you absolutely got the module in a bad space, you can pull it to low level for 100ms to perform a hard reset.
  • RXD / TXD: Serial port, the module uses it to send and receive commands and data. TXD is output, and RXD is input. They can be connected to the 3.3V and 5V level.
  • VIO: this is the reference logic level for serial port of the module, the input voltage depends on the logical level of the miccontroller you use. If you use a 5V miccontroller like Arduino, you should have it be 5V, and a 3V logic miccontroller you should set it to 3V.
  • BAT: this pin is connected to Li-Ion battery pin, if you want to use only one Li-Ion battery as your power supply, you can use it to drive you miccontroller.
  • DTR: this is wake up pin for module in sleep mode. By default it has a high pull-up, and you can set the module into sleep mode by AT command “AT+CSCLK=1”. In the meantime, the serial port will be disabled. To wake up the module and enable serial port, you can pull this pin to low level for about 50ms.

LED Status

LED Status Function
Status Indicator (Green) Off Power of LoNet is off
On Power of LoNet is on
Net Indicator (Red) Off Power of LoNet is off
64ms on/800ms off LoNet can't find the network
64ms On/3000ms Off LoNet has connected to network
64ms ON/3000ms Off GPRS communication


Getting Started - Assembly

The module comes with a mini GPS and GSM antenna, but not includes Li-Po battery. In addition, to use this module, you still need a unlock SIM-Card that supports GPRS service. Ready for these parts, we can start for assembly.

Installing SIM-Card

LoNet InstallSIM1.JPG LoNet InstallSIM2.JPG LoNet InstallSIM3.JPG

Attaching Antenna and Battery

LoNet Attaching1.JPG LoNet Attaching2.JPG LoNet Attaching3.JPG

Reference Circuit

Rerfer Circuit SIM808.png

Getting Started with AT Command

The module is controlled by AT command via serial port, here we use Arduino as USB to serial tool. Upload the following code to Arduino and open the serial monitor. If you use other USB to serial tools, you can use AT Command Tester or SSCOM32 to test AT commands.

// this sketch is used for testing LoNet with Arduino 

// Connect VIO to +5V
// Connect GND to Ground
// Connect RX (data into SIM808) to Digital 11
// Connect TX (data out from SIM808) to Digital 10

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup()  
  // Open serial communications and wait for port to open:


void loop() // run over and over
  if (mySerial.available())
  if (Serial.available())

Set Baud and Enable Charging Function

It is recommended to execute this process when first time to use the module. In the Serial Monitor columns of following tables, input of AT commands are in back, module returns values are in orange.

Serial Monitor Description
Send command “AT” to synchronize baud rate. Serial port of module is by default set at auto-baud mode, and in this mode, it will not output any indications when the module is on.
Set baud rate at 9600bps, supports baud rate from 1200bps to 115200bps.
Send command “AT+ECHARGE=1” to enable battery charging function. By default the charging function is closed.
Save parameter setting.
Power down the module.
+CFUN: 1
GPS Ready
Call Ready
SMS Ready
Turn on the module again by the power button, it will response status about GPS and GSM.
+CBC: 1,96,4175
Inquire charging status and remaining battery capacity.
+CSQ: 14,0
Inquire GSM signal quality.

Get location with GPS

Serial Monitor Description
Open GPS
+CGPSSTATUS: Location Not Fix
Read GPS fix status, “Location Not Fix” means that positioning is not successful. For the first time to start, it will take at least 30s. GPS must be tested by the window or outdoor.
+CGPSSTATUS: Location 3D Fix
GPS has fixed with 3D status.
Get the current GPS location information. Parameters formate: <mode>, <altitude>, <longitude>, <UTC time>, <TTFF>, <num>, <speed>, <course>
Read NMEA $GPRMC data, of which, “2234.9414 N, 11357.1187 E” is the location coordinates. For more details about NMEA sentences, check this site.
Reset GPS in Cold Start Mode.
Reset GPS in Hot Start Mode.
Close GPS.


Related Projects

It's a pity that we don't have any demo about LoNet-GSM/GPRS/GPS Breakout in the Recipe yet.

Post your awesome project about LoNet-GSM/GPRS/GPS Breakout to win $100 Coupon!. Please feel free to contact us: recipe@seeed.cc

Here we introduce some projects about GPRS Shield as a reference.

What is GPRS shield

113030009 1.jpg


  • Compatible with standard Arduino and Arduino Mega
  • Quad band support: 850/900/1800/1900MHz
  • Full control via AT commands set: Standard - GSM 07.07 & 07.05 and Enhanced - SIMCOM AT Commands
  • Support TCP/UDP protocols

SMS Remote Control


This project describes how to turn your hot water heater on and off via SMS and check if it is on or off.

It is reliable, secure, easy and flexible because of the reasons below:

  • Commands are always responded to and lost messages are re-requested
  • It uses 128 bit password protection
  • The pfodDesigner generates all the code, and you can use it to create you own custom menu.
  • All the pfod screens are available via SMS, like sub-menus, multi and single selection list, text input, data logging and plotting.

I want to make it.

Arduino Phone

Recipe - arduinophone.png

Arduino phone is a cell phone made by ourselves via combining Arduino and other shield modules.

This project tells us what you need to do when Arduino Phone apps can't fit your needs.

This Arduino Phone contains the following main functions.

  • receive & send message, letter input
  • dial & answer calls
  • real time clock display
  • A convenient and concise UI

I want to make it.

More Awesome Projects by GPRS

Share Your Awesome Projects with Us

Born with the spirit of making and sharing, that is what we believe makes a maker.

And only because of this, the open source community can be as prosperous as it is today.

It does not matter what you are and what you have made, hacker, maker, artist or engineers.

As long as you start sharing your works with others, you are being part of the open source community and you are making your contributions.

Now share your awesome projects with us on Recipe, and win a chance to become the Core User of Seeed.

  • Core Users, are those who show high interests in Seeed products and make significant contributions on Recipe.
  • We cooperate with our Core Users in the development of our new product, this, in another word, the Core Users will have the chance to experience any new products of Seeed before its official launch, and in return we expect valuable feedback from them to help us improve the product performance and user experience. And in most cases when our Core Users have some good ideas of making things, we'll offer hardware pieces, PCBA services as well as technical support. Besides, further commercial cooperation with the Core Users is highly possible.

Get more information about Core User, please email to: recipe@seeed.cc


Any tech support, please contact support@deegou.com


We do also provide PCB services ( Electronics design, prototype assembly and batch manufacturing ) If you have any requirements, please contact info@deegou.com

Personal tools