Category:SIM868

From ElectroDragon
Jump to navigation Jump to search

Documents

Code

Wiring

Action Wiring
  • Boot pin D4 to MCU like arduino
  • Or turn on board by pressing key manually
D4 pin -> KEY (BOOT) pin
Soft UART connection arduino D2 D3 -> TXD and RXD
Power Supply
  • 5V via diode to VBAT pin, GND to GND
  • Diode not necessary for testing, but need for final project

Demo runing video please see here., one time per second blink 1PPS LED, slow blink when network registed network LED.

Dimension, Schematic

Quick Test Commands

Power ON

  • AT+CGPSPWR=1 // turn on GPS => return +CGNSPWR: 1


  • AT+CGPSRST=1 // restart GPS // not necessary


Read

  • AT+CGNSTST=1 // send gps data to serial port UART1 // turn off AT+CGNSTST=0

or

  • AT+CGNSINF
AT+CGNSINF
+CGNSINF: 1,1,20201229132833.000,22.571187,113.887444,25.236,0.00,133.2,2,,0.9,1.1,0.8,,13,12,,,39,,
OK


For GPS (not working for SIM868, ignore this):

  • AT+CGPSINF=32 // read data once => +CGPSINF: 32,000415.000,V,0000.0000,N,00000.0000,E,0.000,0.00,060180,,,N


Debuging:

Note

  • For GPS location, must leave the antenna fully out of artitecture, at outdoor environment.

Pages in category "SIM868"

This category contains only the following page.