GPS is a Node.js application based on GPS.js that allows you to view NMEA data coming from a GPS module on Google Maps.
It is designed to be used with an Arduino microcontroller, but can be used with any device that can send NMEA data over a serial port.
- Realtime data visualization
- Keeps track of every GPS fix (until you reload the page)
- Runs on every platform that supports Node.js
- Open source
- Free
- It's easy to use
- Node.js (v19.5.x)
- Git (optional)
- Arduino IDE
- Supported web browser (Chrome, Firefox, Edge, Safari, etc.)
- Arduino
- GPS module (NEO-6M)
- Radio module (APC220) (optional)
- USB to UART Bridge (CP210x) (optional)
- Breadboard
- Jumper wires
- USB cable
- Computer
Open this section if you are using the radio module
Disconnect the APC220 from the Arduino before proceeding.
-
Upload the apc220Cfg.ino sketch to your Arduino
-
Disconnect the Arduino from your computer
-
Connect the APC220 to the Arduino on the GND, 13, 12, 11, 10, 9 and 8 pins
-
Connect the Arduino to your computer
-
Open the Serial Monitor
-
Type
m
and press Enter- It should bring up a menu like this:
-
Follow the 'Write example' instruction and if you want, change the frequency
- Save the frequency you chose (you will need it to configure the other APC220 module)
-
Disconnect the Arduino from your computer
-
Disconnect the APC220 from the Arduino and connect the other APC220 module to the Arduino
-
Reconnect the Arduino to your computer
-
Repeat steps 6 and 7
To receive data from the APC220 module, you can use another Arduino with the APC220 module connected to it or you can use an UART to USB bridge. This project is designed to work with CP210x.
-
Visit the Silicon Labs website
-
If you are using Windows, download the driver with the name
CP210x Windows Drivers
-
Extract all the files from the ZIP file in a folder
-
Run the
CP210xVCPInstaller_x64.exe
file and follow the instructions to install the driver
There are two versions of the Arduino sketch:
- One with the APC220 module (radio_arduino.ino)
- One without the APC220 module (basic_arduino.ino)
- Upload one of the two sketches to your Arduino
- Disconnect the Arduino from your computer
-
Connect the GPS module to the Arduino using the following pins:
GPS Module -> Arduino VCC -> 3.3V GND -> GND RX -> Digital 4 TX -> Digital 3
(APC220 Only)
- Connect the APC220 module to the Arduino on the GND, 13, 12, 11, 10, 9 and 8 pins
- Connect the Arduino to your computer
- Install the required software (Node.js)
- Clone this repository by running
git clone https://github.com/CoccodrillooXDS/GPS
or download the repository as a ZIP file and extract it - Open Terminal or Command Prompt in the repository folder
- Run
npm install
to install the dependencies - Run
node server
to start the application - Open a web browser and visit
http://localhost:3000
You can contribute to the project by creating a pull request or an issue.
To contribute, you can fork the repository and after you made your changes, you can create a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.