The purpose of this project is to provide directions on how to setup the DIYmall GPRS/GPS SIM908 Module so that you can get GPS/NMEA data from it.
The code I setup issues a few commands to the board to get the NMEA data going, and then begins to send the data to the computer. The SIM908 board has two serial connections - one for the GPRS (which is where the commands are mainly issued) and one just for the GPS data.
GPRS/GPS Board Preparation
- Insert SIM card ( from what I can tell the board will NOT respond without a SIM card
- Connect antennas, I would recommend putting the GPS antenna near a window if you can
- Connect power, leave power switch off for now
- My code connects to the GPRS connection of the board at 57600 baud, the default is different so I would recommend issuing the "AT+IPR=0" command to set the board to auto-mode. I have written another project on Hackster to discuss how to issue AT commands to your board.
Load my sample code on your board.
NOTE: On the SIM908 board, there are two 4-pin headers next to the DC power jack labeled J5 and J6.
Sim908 board <> UNO
VCC_MCU (J5) <> 5V
GND (J5) <> GND
GPS TX (J5) <> D4
GPS RX (J6) <> D5
GPRS RX (J5) <> D3
GPRS TX (J6) <> D2
Test the setup
1) Connect UNO to computer USB for power and data
2) Open Arduino IDE serial monitor, set baud to 57600.
3) On the SIM908 board, turn on the power switch (one red LED should light up)
4) On the SIM908 board, press the power button for a few seconds
5) Notice there is a blinking LED near the GSM antenna, this will blink slower (once every 3 seconds I think) once the board is connected
6) Press the reset button on your Arduino.
7) You should start to see data in the serial monitor.
Find some software that can read/interpret the NMEA data. I found a few at this link that worked just fine: