LOCOTRACK (GPS Speed Display)
by Arya Widyatmaka in Circuits > Arduino
433 Views, 1 Favorites, 0 Comments
LOCOTRACK (GPS Speed Display)
This is a speed meter project and GPS data acquisition
This project is based on my idea inspired by a train detection system in Indonesia called "Locotrack" but in this project I created it only displays GPS data and coordinate locations only.
The project uses the Ublox Neo 6M module as the GPS data receiver and arduino UNO as the main controller. The data obtained is speed data, location coordinates and TASPAT (in Indonesian stands for "Speed Limit" or speed limit) which is then displayed on the LCD screen.
All components and modules in this project powered by rechargeable Lithium Polymer batteries, therefore in this project is very important for using a battery charging module in order for the battery to be recharged safely
Supplies
1. Arduino Uno R3 or SMD version
2. GPS Ublox Neo6M
3. Battery Module or Powerbank Module
4. LCD 20x4
5. I2C Backpack
6. Jumper cables
7. Resistor 220 Ohm
8. LiPo Battery min 2200mAh or higher
Determine the Right Container
You can use a simple project box as in this example. You can also use a used shoebox, or get creative and create your own case.
Decide how you want to install the battery and display screen. The screen used in this project uses a 20x4 LCD screen that requires more space so you need to measure the width, length and height of the screen to make a hole on one side of the container for the screen to be mounted. for other components, I just determine the size by trying all the components if it can be loaded well and sturdy.
Wiring
In this part of the wiring section, I advise you to be careful when connecting the battery with the battery module, Watch the polarity, reverse polarity may cause damage the module.
The module on this project uses two different data communication systems, for the GPS module (Ublox Neo6M) using serial and LCD screen using I2C. in order to communicate with Arduino UNO.
On Arduino, the serial pins I use are pins 2 as TXD and 3 as RXD that are customized using the SoftwareSerial library so as not to affect native serial pins.
And I added a battery voltage sensor connected resistor 220ohm with pin A0 so that the battery voltage level can be displayed on the LCD
OK, This is diagram on this project:
The Code
In this part of the code I use the TinyGPS++ library and LiquidCrystal_I2C that you can get by downloading it through the Library Manager on the Arduino IDE, or you can use the library that I packed into this code file that I shared: