members
Basics: Project 064a Ai Thinker A7 GSM GPRS GPS module
of Acoptex.com in UNO
Basics: Project 064a
Project name: Ai Thinker A7 GSM GPRS GPS module
Tags: Arduino, Arduino Uno, A7 GSM GPRS GPS module, 3 in 1 module, A7 Ai Thinker, Ai Thinker, GPS G165 antenna, GSM/GPRS antenna, update firmware, use of GPS
Attachments: ATcommandssketch; library1, sketch1; call and sms sketches
In this project, you needed these parts :
1.Aruduino Uno R3 (you can also use the other version of Arduino)
2.A7 GSM GPRS GPS module with GSM/GPRS antenna and GPS G165 antenna 1 pc
3.Arduino IDE (you can download it from here)
4.Jumper cables M-M, F-M
5.Micro SIM card 1 pc (unlocked)
6. USB to TTL/Serial adaptor/converter 1 pc
7. To power module: 5V-9V DC 2A power adapter or Litium Ion battery 3.7VDC
or
In this project we will learn how to connect A7 GSM GPRS GPS module to Arduino board and use it to call, write SMS, get GPS data, update firmware.
Understanding the USB to TTL converter
You can read more about them here.
Understanding the A7 GSM GPRS GPS module
A7 module is a GSM/GPRS/GPS function module. It supports GSM/GPRS Quad-Band(850/900/1800/1900) network. Also, it supports voice calls, SMS messages, GPRS data service and GPS function. We can use it make a simple phone. The module is controlled by AT command via UART and supports 3.3V and 4.2V logical level.
Features:
- Support the GSM / GPRS four bands, including 850,900,1800,1900MHZ
- Support China Mobile and China Unicom’s 2G GSM network worldwide
- GPRS Class 10
- Support voice calls
- Support SMS text messaging
- Support GPRS data traffic, the maximum data rate, download 85.6Kbps, upload 42.8Kbps
- Supports standard GSM 07.07,07.05 AT commands and extended commands Ai-Thinker
- Support GPS and AGPS
- Supports two serial ports, a serial port to download an AT command port
- AT command supports the standard AT and TCP / IP command interface
- Support digital audio and analog audio support for HR, FR, EFR, AMR speech coding
- Support ROHS, FCC, CE, CTA certification
- SMT 42PIN
Specifications:
- Operating temperature -30 ℃ to + 80 ℃
- Operating Voltage 3.3V-4.2V
- Power voltage> 3.4V
- Sensitivity <-105
- Standby average current 3ma less
- 1KG peak suction
A7:
- A7 size 22.8×19.8×2.5mm;
- Operating temperature -30 °C +80 °C;
- Working voltage 3.3V-4.2V;
- Boot voltage>3.4V;
- Standby average current 3ma below, A7 increase 2m;
- Support GSM/GPRS four frequency bands, including 850, 900, 1800, 1900MHZ;
- GPRS Class 10;
- Sensitivity <-105;
- Support voice calls;
- Support SMS SMS;
- GPIO level is 2.8V;
- Support GPRS data service, maximum data rate, download 85.6Kbps, upload 42.8Kbps;
- Support standard GSM07.07, 07.05 AT commands and Ai-Thinker extension commands;
- Support two serial ports, one download serial port, one AT command port;
- AT commands support standard AT and TCP/IP command ports;
- Support digital audio and analog audio, support HR, FR, EFR, AMR speech coding;
- Support GPS+AGPS (A7 only);
- GPS position information supports single serial NEMA output and reading through AT port (only applicable to A7);
- Support ROHS, FCC, CE, CTA certification;
- SMT 42PIN package;
You can find A7 datasheet here and specification here.
You can find the AT commands list here. Other information about A7 is here.
Handling GPS Data
Once the GPS receiver has transmitted the NMEA sentences to the Arduino, and they have been properly read and stored in nice and "simple format", then what follows?
There are several options to convert the "simple format" data into more general format (GPX, KMZ, etc.). For instance:
- GPS Visualizer is a free online utility "that creates maps and profiles from geographic data". You can input a CSV or tabbed file, a spreadsheet, or drag and drop the data. The appearance of the page is a bit odd but the content is good.
- GPS Prune is intended to view, edit and convert GPS data. It allows to load text files as well as NMEA files, among quite a number of other options.
- GPS Babel seems to be the most known GPS data converter. It reads text files with NMEA sentences.
U‑center GNSS evaluation software for Windows
The u‑center GNSS evaluation software for automotive, mobile terminal and infrastructure applications provides a powerful tool for evaluation, performance analysis and configuration of u‑blox GNSS receivers. Its unique flexibility makes the u‑center GNSS evaluation software an invaluable tool for evaluation, analysis and configuration of u‑blox GNSS receivers. u‑blox GNSS receivers can be configured using the u‑center evaluation software.
- Highly interactive and easy to use
- Full support of all u‑blox GNSS receivers
- Extensive configuration and control features
- Real‑time display from a GNSS receiver via RS232 and USB interface
See more details here. On request from our visitors we will publish the link to previous version of u-center which we used for this project - you can download it here.
Signals and connections of the USB to TTL converter
You can read more about them here.
Signals and connections of A7 GSM GPRS GPS module
EN - module power control enable pin (can control power switch, default high level enable)
V_BAT - lithium battery power supply pin (3.5-4.2V). this module has 2 V_BAT pins
GND - ground pin. this module has 5 ground pins
U_RXD - serial port for AT commands (receive pin)
U_TXD - serial port for AT commands (transmit pin)
H_TXD - kernal firmware update pin (transmit pin)
H_RXD - kernal firmware update pin (receive pin)
232_TXD - RS232 level control (transmit pin)
232_RXD - RS232 level control (receive pin)
GPS_TXD - GPS data (transmit pin)
PWR_KEY - module power on control pin, V_BAT short circuit start
SLEEP - high level - enter into low consumption, low level - quits
U_CTS - serial port for AT commands CTS pin
U_RTS - serial port for AT commands RTS pin
RESET - module hardware reset pin
MIC- - microphone -
MIC+ - microphone +
REC- - loudspeaker -
REC+ - loudspeaker +
Wiring
The following picture shows the needed connections with the Arduino Uno
1. Using Arduino board
2. Using USB to TTL converter
3. Firmware update
Step by Step instruction
1. Configuring the A7 GSM GPRS GPS module with Arduino board.
- Do wiring.
- Attach GSM, GPS antennas to A7 GSM GPRS GPS module.
- Insert a valid unlocked SIM card to SIM card slot of A7 GSM GPRS GPS module.
- You can power up A7 GSM GPRS GPS module with power supply adapter (5-9DC 2A) POWER JACK interface, with V_IN pin (5-9VDC 2A) and with Lithium Ion battery V_BAT (3.5-4.2VDC).
- We used the 6V DC 2A power adapter. Push the power switch to ON position - TO THE RIGHT. When the module powered on, the LED power on indication (POWER) will be ON.
- Press MODULE START UP KEY (PWR KEY) for 2 seconds. Status indication LEDs (D2) will be ON.
- Open Arduino IDE.
- Plug your Adruino Uno board into your PC and select the correct board and com port
- By default this module respond on 115200 bps. So if you did not change the baud rate before - modify ATcommandssketch - replace both baud rates from 9600 to 115200.
- Verify and upload this sketch to your Adruino Uno
- Open up serial monitor and set your baud to 115200 baud and select Both NL&CR.
- First you need to check if AT commands are working - enter “AT” and press Send button.This would print "OK" which signifies of working connection and operation of the module.
- A7 GPS GPRS GSM module does not work well with Arduino on 115200. We suggest you to change that baud rate to 9600.
- Enter "AT+IPR=9600" and press Send button. Returns "OK". It is 9600 bps now.
- Modify ATcommandssketch - replace both baud rates from 115200 to 9600.
- Verify and upload this sketch to your Adruino Uno
- Open up serial monitor and set your baud to 9600 baud.
- Your serial communication is more stable now.
- Requests TA serial number identification. Enter "AT+GSN" and press Send button. Returns "867567021271462 OK" . IMEI 867567021271462
- Checks fixed local rate. Enter "AT+IPR?" and press Send button. Returns "+IPR: 9600 OK" /9600 bps/
- Requests TA model identification. Enter "AT+GMM" and press Send button. Returns "A7 OK".
- Requests TA revision identification. Enter "AT+GMR" and press Send button. Returns "V03.03.20161229019H03 OK". This is the firmware version.
- Requests TA manufacturer identification. Enter "AT+GMI" and press Send button. Returns "Ai Thinker Co.LTD OK".
- Requests manufacturer specific information about the TA. Enter "ATI" and press Send button. Returns "Ai Thinker Co.LTD A7 V03.03.20161229019H03 OK".
- Reboots the module. Enter "AT+RST=1" and press Send button.
- Call Control Commands. If you call the cell number of Micro Sim Card then message RING will be shown. 1) Answer a call. Enter "ATA" and press Send button. Returns "+CIEV: "CALL",1 CONNECT"; 2) Make a call. Enter number to call "ATD+37163055289" and press Send button. Returns "ATD+37163055289 OK +CIEV: "CALL",1 +CIEV: "SOUNDER",1 "; 3) Disconnect existing call. Enter "ATH" and press Send button. Returns "+CIEV: "CALL",0 OK"; 4) Insert the headset into the headphone/earphone jack, enter "AT+SNFS=0" and press Send button to enable them. Returns "OK" ("AT+SNFS=1" used for loudspeaker selection).
- SMS Commands. If you send SMS, for example, with Test word to A7 GPS GSM GPRS module you will get this info "+CIEV: "MESSAGE",1 +CMT: "+3712345678",,"2018/03/18,15:33:08+02",145,17,0,0,"+37068499190",145,4 Test". Use the sms sketch attached to send SMS message from Arduino IDE.
- GPS commands. By default this mode is OFF. You need to enable GPS every time (if you power off the module GPS will switch off too). 1) Sets GPS on. Enter "AT+GPS=1" and press Send button. Returns "OK"; 2) Sets assisted GPS(AGPS) on. Enter "AT+AGPS=1" and press Send button. Returns "+CIPRCV:26 +TCPCLOSED:0 OK CONNECT OK OK"; 3) Get GPS information. Enter "AT+GPSRD=1" and press Send button. Returns "OK" and sends GPS NMEA data to serial port. This is the raw GPS data. If you want to stop data from GPS enter "AT+GPSRD=0" and press Send button.Returns "OK".
- Check the list of all AT commands here.
2. Configuring the GSM GPRS GPS Bluetooth module USB to TTL converter
For using this USB to UART Converter you need a software tool. Most of the development tools like MikroC Pro, Arduino has a UART Tool along with it. You can use different software tools: Terminal, USR-TCP232-Test V1.4, AiThinker_Serial_Tool_V1.2.3, coolterm, sscom3.2 , KiTTY, putty,tera term, Access port and so on. We recommend you to use AiThinker_Serial_Tool_V1.2.3 or sscom3.2, as you can save your AT commands and it's very easy to use.
- Do wiring.
- Plug your USB to TTL converter into your PC USB port.
- Attach GSM, GPS antennas to A7 GSM GPRS GPS module.
- Insert a valid unlocked SIM card to SIM card slot of A7 GSM GPRS GPS module.
- You can power up A7 GSM GPRS GPS module with power supply adapter (5-9DC 2A) POWER JACKinterface, with V_IN pin (5-9VDC 2A) and with Lithium Ion battery V_BAT (3.5-4.2VDC).
- We used the 6V DC 2A power adapter. Push the power switch to ON position - TO THE RIGHT. When the module powered on, the LED power on indication (POWER) will be ON.
- Press MODULE START UP KEY (PWR KEY) for 2 seconds. Status indication LEDs (D2) will be ON.
- Set the baud rate 115200, data bits 8, parity bits none,stop bits one.
- Initial message from A7 GPS GSM GPRS module:
- First you need to check if AT commands are working - enter “AT” and press Send button.This would print "OK" which signifies of working connection and operation of the module.
- Requests TA serial number identification. Enter "AT+GSN" and press Send button. Returns "867567021271462 OK" . IMEI 867567021271462
- Checks fixed local rate. Enter "AT+IPR?" and press Send button. Returns "+IPR: 115200 OK" /115200 bps/
- Requests TA model identification. Enter "AT+GMM" and press Send button. Returns "A7 OK".
- Requests TA revision identification. Enter "AT+GMR" and press Send button. Returns "V03.03.20161229019H03 OK". This is the firmware version.
- Requests TA manufacturer identification. Enter "AT+GMI" and press Send button. Returns "Ai Thinker Co.LTD OK".
- Requests manufacturer specific information about the TA. Enter "ATI" and press Send button. Returns "Ai Thinker Co.LTD A7 V03.03.20161229019H03 OK".
- Reboots the module. Enter "AT+RST=1" and press Send button.
- Call Control Commands. If you call the cell number of Micro Sim Card then message RING will be shown. 1) Answer a call. Enter "ATA" and press Send button. Returns "+CIEV: "CALL",1 CONNECT"; 2) Make a call. Enter number to call "ATD+37163055289" and press Send button. Returns "ATD+37163055289 OK +CIEV: "CALL",1 +CIEV: "SOUNDER",1 "; 3) Disconnect existing call. Enter "ATH" and press Send button. Returns "+CIEV: "CALL",0 OK";4) Insert the headset into the headphone/earphone jack, enter "AT+SNFS=0" and press Send button to enable them. Returns "OK" ("AT+SNFS=1" used for loudspeaker selection).
- SMS Commands. If you send SMS, for example, with Test word to A7 GPS GSM GPRS module you will get this info "+CIEV: "MESSAGE",1 +CMT: "+3712345678",,"2018/03/18,15:33:08+02",145,17,0,0,"+37068499190",145,4 Test". 1) Select SMS message format Enter "AT+CMGF=1" and press Send button. Returns "OK". This is to read and write SMS messages as strings instead of hexadecimal characters. 2) Send SMS message. Enter "AT+CMGS=”+37163058092”" and press Enter button. Replace the above phone number with your own cell phone number. The modem will respond with: > You can now type the message text and send the message using the - key combination: TEST After some seconds the modem will respond with the message ID of the message, indicating that the message was sent correctly: "+CMGS: 62". The message will arrive on the mobile phone shortly.
- GPS commands. By default this mode is OFF. You need to enable GPS every time (if you power off the module GPS will switch off too). 1) Sets GPS on. Enter "AT+GPS=1" and press Send button. Returns "OK"; 2) Sets assisted GPS(AGPS) on. Enter "AT+AGPS=1" and press Send button. Returns "+CIPRCV:26 +TCPCLOSED:0 OK CONNECT OK OK"; 3) Get GPS information. Enter "AT+GPSRD=1" and press Send button. Returns "OK" and sends GPS NMEA data to serial port. If you want to stop sending data to serial port enter "AT+GPSRD=0" and press Send button. Returns "OK" .
- Check the list of all AT commands here.
3. Updating firmware of the A7 GSM GPRS GPS module
VERY IMPORTANT NOTE:
Before doing firmware update:
- Follow the steps as described above. Check your module firmware version. Enter “AT+GMR” and press Send button.
- Always make sure that you have your firmware version on hands so you can restore previous version if next firmware version is bad.
- Read all information about firmware update available on Web.
- Just think if you realy need to do it as it is a risk to damage the module!!!
- If you decided to do it make sure that the next firmware version which you are planing to upload is not older than existing.
- Firmware download link: GPRS firmware release. We did not find any firmware files for A7 IC but with this link you can get firmware files for A6, A9 too.
- Do wiring for firmware update.
- Plug your USB to TTL converter into your PC USB port.
- You can power up A7 GSM GPRS GPS module with power supply adapter (5-9DC 2A) POWER JACKinterface, with V_IN pin (5-9VDC 2A) and with Lithium Ion battery V_BAT (3.5-4.2VDC).
- We used the 6V DC 2A power adapter. Push the power switch to ON position - TO THE RIGHT. When the module powered on, the LED power on indication (POWER) will be ON.
-
- Press MODULE START UP KEY (PWR KEY) for 2 seconds. Status indication LEDs (D2) will be ON.
- Download Ai-Thinker GSM Module Download Tool here.
- Unzip the package and open Ai-Thinker GSM Module Download Tool v11.00.04.exe.
- Select the firmware to be downloaded.
- Press Start button. The Ai-Thinker GSM Module Download Tool will automatically detect the serial port for download.
- When a download finished click the X in the upper right corner to close the Ai-Thinker GSM Module Download Tool.
4. Using Tiny GPS ++ library
- Do wiring.
- Attach GSM, GPS antennas to A7 GSM GPRS GPS module.
- Insert a valid unlocked SIM card to SIM card slot of A7 GSM GPRS GPS module.
- You can power up A7 GSM GPRS GPS module with power supply adapter (5-9DC 2A) POWER JACKinterface, with V_IN pin (5-9VDC 2A) and with Lithium Ion battery V_BAT (3.5-4.2VDC).
- We used the 6V DC 2A power adapter. Push the power switch to ON position - TO THE RIGHT. When the module powered on, the LED power on indication (POWER) will be ON.
- Press MODULE START UP KEY (PWR KEY) for 2 seconds. Status indication LEDs (D2) will be ON.
- Open Arduino IDE.
- Plug your Adruino Uno board into your PC and select the correct board and com port
- By default this module respond on 115200 bps. So if you did not change the baud rate before - modify ATcommandssketch - replace both baud rates from 9600 to 115200.
- Verify and upload this sketch to your Adruino Uno
- Open up serial monitor and set your baud to 115200 baud and select Both NL&CR.
- First you need to check if AT commands are working - enter “AT” and press Send button.This would print "OK" which signifies of working connection and operation of the module.
- A7 GPS GPRS GSM module does not work well with Arduino on 115200. We suggest you to change that baud rate to 9600.
- Enter "AT+IPR=9600" and press Send button. Returns "OK". It is 9600 bps now.
- Modify ATcommandssketch - replace both baud rates from 115200 to 9600.
- Verify and upload this sketch to your Adruino Uno
- Open up serial monitor and set your baud to 9600 baud.
- Your serial communication is more stable now.
- Enable GPS. Enter "AT+GPS=1" and press Send button. Returns "OK".
- Set assisted GPS(AGPS) on. Enter "AT+AGPS=1" and press Send button. Returns "+CIPRCV:26 +TCPCLOSED:0 OK CONNECT OK OK".
- GPS information you can get in two different ways: 1. Using GPS_TXD pin of the A7 GPS GSM GPRS module instead of U_TXD and get it directly from GPS; 2. Send GPS data to serial port. Enter "AT+GPSRD=1" and press Send button. Returns "OK" and sends GPS NMEA data to serial port. If you want to stop sending data to serial port enter "AT+GPSRD=0" and press Send button. Returns "OK" .
- Verify and upload sketch1 to your Adruino Uno
- Open up serial monitor and set your baud to 9600 baud.
- You will see the GPS data in serial monitor.
Code
We have attached 2 sketches (call and sms). You need to change pins (to use hardware serial communication for these sketches).
Making a CALL.Remember to disconnect connections at Rx/Tx before uploading the code.The mobile number to be called is stored in an Array of char variable. In the void setup() code we begin Serial communication at 9600 baud.Though the default baud rate of A7 GSM is 115200, it is effective to use 9600 baud. ATD command followed by the number to be called is used to make a call. A semicolon at the end is not a must.The call will be made even if you do not use a semicolon. After a delay of 8 secs ATH command is sent to terminate the call. You can open the Serial monitor of Arduino & watch the AT commands landing.You should set the baud rate as 9600 in the Serial monitor as well. The void loop() function is left empty.In case you try the code inside loop , the call will be repeatedly made for ever.
Sending SMS. AT+CMGF=1 which will allow you to read and write SMS messages as strings instead of hexadecimal characters. Serial.println is used to send the AT command with a New line (Enter). After a delay of 2 seconds next command AT+CMGS=”phone_no.” is sent.The target phone number is to be given within double quotes. Note the usage of Serial.write(0x22) which is the ASCII equivalent for double quotes. 0D followed by 0A are the ASCII equivalents for CARRIAGE RETURN & LINE FEED. The delay of 2 seconds is a must after setting the GSM to text mode AT+CMGF=1. Try this code without the delay, you won’t get response. After the 0D , 0A a delay of 2 seconds is provided & then the message to be sent is given. CTRL+Z is finally given to send the message. This is provided by the ASCII equivalent 1A or char(26).
Summary
We have learnt how to connect A7 GSM GPRS GPS module to Arduino board and use it.
Notes:
- It takes for about half a minute or one to read the data by the GPS module initially when you run it, so do not panic for this it’s very usual.
- It happens in some case that it is unable to detect the data that might be the issue with antenna, so unplug the antenna( if it is detachable) and attach it again.
- If, code says “Check Connection”, then you should definitely check it twice, before giving up. Also, sometimes interchanging the TX and RX pins is preferable and surprisingly works.
Assisted GPS (AGPS):
Standalone GPS provides first position in approximately 30–40 seconds. A standalone GPS needs orbital information of the satellites to calculate the current position. The data rate of the satellite signal is only 50 bit/s, so downloading orbital information like ephemerides and the almanac directly from satellites typically takes a long time, and if the satellite signals are lost during the acquisition of this information, it is discarded and the standalone system has to start from scratch. In A-GPS, the network operator deploys an A-GPS server, a cache server for GPS data. These A-GPS servers download the orbital information from the satellite and store it in the database. An A-GPS-capable device can connect to these servers and download this information using mobile-network radio bearers such as GSM, CDMA, WCDMA, LTE or even using other radio bearers such as Wi-Fi. Usually the data rate of these bearers is high, hence downloading orbital information takes less time.
A-GPS has two modes of operation:
Mobile Station Assisted (MSA)
In MSA mode A-GPS operation, the A-GPS capable device receives acquisition assistance, reference time and other optional assistance data from a mobile service provider. The mobile service provider continuously logs GPS information (mainly the almanac) from the GPS satellites using an A-GPS server in its system. With the help of the above data (the data received from the mobile device and the data already present in A-GPS server) the A-GPS server calculates the position and sends it back to the A-GPS device.
Mobile Station Based (MSB)
In MSB mode A-GPS operation, the A-GPS device receives ephemeris, reference location, reference time and other optional assistance data from the A-GPS server. With the help of the above data, the A-GPS device receives signals from the visible satellites and calculates the position.
GPS Visualizer: Do-It-Yourself Mapping
You can check the GPS data logged with GPS Visualizer, an online utility that creates maps and profiles from geographic data. It is free and easy to use, yet powerful and extremely customizable. Input can be in the form of GPS data (tracks and waypoints), driving routes, street addresses, or simple coordinates. Use it to see where you've been, plan where you're going, or quickly visualize geographic data (scientific observations, events, business locations, customers, real estate, geotagged photos, etc.).
GPS Visualizer can read data files from many different sources, including but not limited to: GPX (a standard format used with many devices and programs, including Garmin's eTrex, GPSMAP, Oregon, Dakota, Colorado, & Nüvi series), Google Earth (.kml/.kmz), Google Maps routes (URLs), FAI/IGC glider logs, Fugawi (.trk/.wpt), Furuno, Garmin Fitness (.fit), Garmin Forerunner (.xml/.hst/.tcx), Garmin MapSource/BaseCamp/HomePort (.gdb), Geocaching.com (.loc), Google Spreadsheets, IGN Rando (.rdn), iGO (.trk), Lowrance (.usr), Microsoft Excel, NMEA 0183 data, OziExplorer (.plt/.wpt), Suunto X9/X9i (.sdf), Timex Trainer, TomTom (.pgl), U-blox (.ubx), XML feeds, and of course tab-delimited or comma-separated text.
Libraries:
- SoftwareSerial library included in Arduino IDE. The library has the following known limitations:If using multiple software serial ports, only one can receive data at a time.Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).On Arduino or Genuino 101 the current maximum RX speed is 57600bpsOn Arduino or Genuino 101 RX doesn't work on Pin 13 The library has the following known limitations: If using multiple software serial ports, only one can receive data at a time;Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69);Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI);On Arduino or Genuino 101 the current maximum RX speed is 57600bps; On Arduino or Genuino 101 RX doesn't work on Pin 13. You can read about it here.
- TinyGPS++ library. Download, unzip and add to libraries in our PC, for example C:\Users\toshiba\Documents\Arduino\libraries. This link you can find in Preferences of Adruino IDE program which installed in your PC. The TinyGPS++ library allows you to get way more information than just the location, and in a simple way. Besides the location, you can get: date, time, speed, course, altitude, satellites, hdop and so on. You can read more about the TinyGPS++ library here.
Sketch:
- See attachment on the begining of this project description.
Other projects of Acoptex.com










Viewed: 43425 times