LoNet 808 – Mini GSM + GPS Board
Contents [hide]
Description
LoNet 808 is a mini board based on the latest SIM808 module, it offers 2G GSM and GPRS data along with GPS technology for satellite navigation. Also supports assisted-GPS (A-GPS) for indoor localisation.
The board features ultra-low power consumption, working current is low to 1mA when in sleep mode. That gives your the project incredibly long standby times. It uses a serial port communication, supports common 3GPP TS 27.007, 27.005 and SIMCOM enhanced AT commands. Integrated with battery charging circuit, it is powered by 3.7V Lipo battery and can be charged by 5V micro-USB directly.
It comes with a mini GPS and GSM antenna, however a external Lipo battery is required.
Features
- 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 Features
- 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
Related Products
- Li-ion Battery for power supply (http://www.seeedstudio.com/depot/Polymer-Lithium-Ion-Battery-2200mAh-37V-p-1709.html?cPath=1_3)
- DC/DC Voltage Regulator (http://www.seeedstudio.com/depot/Adjustable-DCDC-Power-Converter-125V-35V3A-p-1534.html?cPath=1_4)
- MicroUSB Cable (http://www.seeedstudio.com/depot/USB-To-Uart-5V3V3-p-1832.html)
- USB to UART Tool (http://www.seeedstudio.com/depot/USB-To-Uart-5V3V3-p-1832.html)
- Solder Panel (http://www.seeedstudio.com/depot/3W-Solar-Panel-138X160-p-954.html?cPath=1_118)
Hardware Interface
- 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.
- 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.
- MicroUSB – the charging interface for Li-Ion battery, of input voltage range from 5V to 7V.
- GSM Antenna – this is an uFL GSM antenna connector, just connect it to a GSM antenna for receiving GSM signal.
- 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.
- Net Indicator – Red LED, it will tell the what status is about the module linking to network.
- Status Indicator – Green LED, it will tell whether the module is on, light when the module is running.
- Breakout Pin – see Pin Definitions for more details.
- SIM – Card Holder – SIM card holder for standard SIM card
- Power Supply Pin – used for power soldering and testing.
Pin Definitions
NAME | I/O | DESCRIPTION | NOTE |
---|---|---|---|
BAT | I/0 | Power input / output | 3.4V – 4.4V DC |
GND | I/0 | Power ground / logic ground | |
VIO | I | Logic level reference | 2.8V – 5.0V DC |
DTR | I | Sleep mode controlled pin | Pull high for sleep mode |
PWR | O | Power switch | Active low in 2s |
RI | O | Event/ message pin | |
TXD | O | Transmit data | UART output from SIM808 |
RXD | I | Receive data | UART Input to SIM808 |
RST | I | Reset pin | Active low |
Pin Description
- 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 microcontroller.
- 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.
Indicator LEDs
INDICATOR LEDS | STATUS | BEHAVIOR |
---|---|---|
Operating Status (Green) | Off | SIM808 is not running |
On | SIM808 is running | |
Network Status (Red) | Off | SIM808 is not running |
64ms on/ 800ms Off | SIM808 not registered to the network | |
64ms On/ 3000ms Off | SIM808 registered to the network | |
64ms On/ 300ms Off | PPP GPRS communication is established |
Reference Circuit
Connect to Microcontroller
Connect to PC
Testing AT Command with Arduino
// this sketch is used for testing LoNet with Arduino // Connect VIO to +5V // Connect GND to Ground // Connect RX (data into SIM800L) to Digital 11 // Connect TX (data out from SIM800L) to Digital 10 #include <SoftwareSerial.h> SoftwareSerial mySerial(10, 11); // RX, TX void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); mySerial.begin(9600); } void loop() // run over and over { if (mySerial.available()) Serial.write(mySerial.read()); if (Serial.available()) { while(Serial.available()) { mySerial.write(Serial.read()); } mySerial.println(); } }
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 tables, input of AT commands are in back, module returns values are in orange.
SERIAL MONITOR | DESCRIPTION |
---|---|
AT OK |
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. |
AT+IPR=9600 OK |
Set baud rate at 9600bps, supports baud rate from 1200bps to 115200bps. |
AT+ECHARGE=1 OK |
Send command “AT+ECHARGE=1” to enable battery charging function. By default the charging function is closed. |
AT&W OK |
Save parameter setting. |
AT+CPOWD=1 NORMAL POWER DOWN |
Power down the module. |
RDY +CFUN: 1 GPS Ready +CPIN: READY Call Ready SMS Ready |
Turn on the module again by the power button, it will response status about GPS and GSM. |
AT+CBC +CBC: 1,96,4175 OK |
Inquire charging status and remaining battery capacity. |
AT+CSQ +CSQ: 14,0 OK |
Inquire GSM signal quality. |
Get location with GPS
SERIAL MONITOR | DESCRIPTION |
---|---|
AT+CGPSPWR=1 OK |
Open GPS |
AT+CGPSSTATUS? +CGPSSTATUS: Location Not Fix OK |
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. |
AT+CGPSSTATUS? +CGPSSTATUS: Location 3D Fix OK |
GPS has fixed with 3D status. |
AT+CGPSINF=0 +CGPSINF: 0,2234.931817,11357.122485, 92.461185,20141031041141.000, 88,12,0.000000,0.000000 |
Get the current GPS location information. Parameters formate: <mode>, <altitude>, <longitude>, <UTC time>, <TTFF>, <num>, <speed>, <course> |
AT+CGPSOUT=32 OK $GPRMC,043326.000,A, 2234.9414,N,11357.1187,E, 0.000,143.69,311014,,,A*50 |
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. |
AT+CGPSRST=0 OK |
Reset GPS in Cold Start Mode. |
AT+CGPSRST=1 OK |
Reset GPS in Hot Start Mode. |
AT+CGPSPWR=0 OK |
Close GPS. |
Downloads
- LoNet_808_Schematic.pdf
- SIM800_ATCommand_Manual_V1.02.pdf
- SIM808_Hardware_Design_V1.00.pdf
- SIM808_GPS_Application_Note_V1.00.pdf
- Design file in Eagle Format
Related Resources
Support
Any question, document mistakes and suggestions , please contact deray@deegou.com.
We are not good at programming, for basis questions we will try to help. But for complex problem, we may not be able to help.
To the end, thank you for your reading.