HOMECOURSESSTUDENTSDONATIONSVIDEOSEVENTSTUTORIALSLINKSNEWSCONTACT


TUTORIALS 》 GPS Geo-tracking system using LinkIt ONE

The LinkIt ONE development platform is an open source, high performance board for prototyping Wearables and IoT devices. It is based on MediaTek Aster (MT2502) combined with high performance Wi-Fi (MT5931) and GPS (MT3332) chipsets. It also provides similar pin-out features to Arduino boards, making it easy to connect various sensors, peripherals, and Arduino shields. LinkIt ONE is an all-in-one prototyping board for IoT/wearables devices. Integrating GSM, GPRS, Wi-Fi, GPS, Bluetooth features into a basic Arduino form factor.
LinkIt ONE :: SKU 102030002 LinkIt ONE :: SKU 102030002 LinkIt ONE :: SKU 102030002

* image courtesy LinkIt ONE
* For more details visit: Seeed Studio :: LinkIt ONE
* Product wiki: LinkIt ONE Introduction


Project Introduction: This is the simple project which let you track any vehicle movement, live by using GPS coordinates to be plotted into Google maps, using Google maps api. Right now in this prototype its implemented as one single trip will be monitored and this can be further extended to store and monitor multiple trips based on requirements.

Architecture overview: There were three main entities involved in the whole process as shown below:

  • LinkIt ONE board
  • Cloud server (123systems, DigitalOcean, Amazon EC2, etc)
  • Web browser (mobile,client computer, etc)

GPS Geo-tracking system using LinkIt ONE board3
GPS Geo-tracking system using LinkIt ONE board2
GPS Geo-tracking system using LinkIt ONE board5
GPS Geo-tracking system using LinkIt ONE board1
GPS Geo-tracking system using LinkIt ONE board4

GPS Geo-tracking system using LinkIt ONE setup

Linkit ONE Board: We have to deploy the code here which should receive GPS data as gpsSentenceInfoStruct, parse with comma separated value and upload into cloud server with predefined interval. (Ex: Udp.beginPacket(gpsReceiver, 1234);) (Fileused: gps_gprs.ino)

Cloud server:

  • Receive and update data into text file: In cloud server its expected, udp server is listening in port 1234 and whenever it receives data from Linkit ONE board it just updates the received data into text file “track.txt” with newline for every entry. This is done in track_udpserver.c (Ex: 2017-1-8,7:4:39,12.924245,77.648439,902.70,0.73,-88.50,282.93,0.00,0.00,1,13)
  • Exposing the data into maps as a web service: Using jquery (jquery-3.1.0.min.js) the track.txt file has to be parsed and plotted into Google maps using maps.googleapis. (This is done in track.php). And php has to be configured and run using apache web server. (Fileused: track.php, track_udpserver.c)

Web browser: This is just any web browser from client system, has to point to the web server ip address with track.php and input and track.txt as parameter to php. (Ex URL: http://x.y.z.a:801/maps/track.php?file=track.txt)

GPS Geo-tracking system using LinkIt ONE tracking on Google Maps

* All the mentioned code can be downloaded HERE for reference. Kindly contact me back for any further queries.


References:


Featured Video:



Suggested Topics:


☆ Tutorials :: Arduino UNO Projects ↗


☆ Tutorials :: Network Software Development ↗


☆ Tutorials :: Research and Projects ↗


☆ Tutorials :: Linux (user-space), Systems Architecture ↗


☆ Tutorials :: Linux Kernel Software Development ↗


☆ Tutorials :: Linux Kernel Internals (PDFs) - by Ramin Farajpour ↗


☆ Tutorials :: Software Development (Programming) Tools ↗


☆ Tutorials :: Embedded Projects ↗

Join The Linux Channel :: Facebook Group ↗

Visit The Linux Channel :: on Youtube ↗


💗 Help shape the future: Sponsor/Donate


Recommended Topics:
Featured Video:
Watch on Youtube - [219//0] 204 Job and Career Advice (QA) - Job change from Customer Support to Systems and Network Admin ↗

Adding your own Kernel Modules into Linux Kernel Source | Linux Kernel Programming ↗
Thursday' 13-Aug-2020
Whenever you do custom kernel modules, you can optionally make it a part of existing Linux Kernel source. This does not mean you are submitting your kernel module to the mainline kernel source (i.e kernel.org Linux Kernel Foundation). What I meant is, you can make your kernel module(s) part of Linux Kernel source so that when you compile your kernel you can automatically compile your kernel module(s) too. As well when you create/modify kernel .config configuration file (such as via make menuconfig, etc), you can enable or disable your kernel module(s) too.
To do the same you have to register (and include) your custom Kernel Module's Kconfig and Makefile to the existing Kconfig and Makefile of the Linux Kernel source Here is a detailed multi-episode video of mine which gives the overall idea and the big-picture.

Linux Kernel Programming | with or without Kernel Modules | Device Drivers ↗
Thursday' 13-Aug-2020
When learning Linux Kernel programming, often I notice my students and viewers gets confused and they start with learning writing Linux Kernel modules. And so they develop the common misconception about Kernel Programming in general. They assume writing code in Linux Kernel means writing kernel modules. Which is absolutely not. Kernel modules are an optional choice and are part of Linux Kernel. But besides modules, Linux Kernel has lot of other mainstream code. Hence if anyone wants to be a Kernel Developer, you should be aware that sometimes you add new code via modules, sometimes without them. And if you ask me, I am not much in favor of writing Kernel modules. Instead in my code, I try to integrate and make them a part of Linux Kernel so that they all get initialized during boot time. Here is an extensive Youtube video of mine on Linux Kernel Programming, with and without Kernel Modules.

Roadmap - How to become Linux Kernel Developer - Device Drivers Programmer and a Systems Software Expert ↗
Thursday' 13-Aug-2020
Many viewers and even sometimes my students ask me how I can become a kernel programmer or just device driver developer and so on. So I shot this video (and an add-on video) where I summarized steps and a roadmap to become a full-fledged Linux Kernel Developer.

Weekly News Digest - Week 03 - July 2020 ↗
Thursday' 13-Aug-2020
The Linux Channel :: Weekly News Digest - Week 03 - July 2020
> Linux founder tells Intel to stop inventing 'magic instructions' and 'start fixing real problems'
> QNAP launches its first 2.5GbE network switch - QSW-1105-5T
> Japan's ARM-based Fugaku is the world's fastest supercomputer
> FreeBSD Back To Seeing Progress On 802.11ac WiFi Support, Ath10k Driver
> Sparkfun Launches the ZED-F9R GPS Dead Reckoning Raspberry Pi pHAT for Mobile Robots
> ODROID-N2 Plus SBC Gets Amlogic S922X Rev. C Processor Clocked at up to 2.4 GHz
> Rock Pi E SBC Comes with WiFi, Bluetooth, Two Ethernet Ports, and Optional PoE

Linux Software Development and Tools ↗
Thursday' 13-Aug-2020

Compiling a C Compiler with a C Compilter | Compile gcc with gcc ↗
Thursday' 13-Aug-2020
The fundamental aspect of a programming language compiler is to translate code written from language to other. But most commonly compilers will compile code written in high-level human friendly language such as C, C++, Java, etc. to native CPU architecture specific (machine understandable) binary code which is nothing but sequence of CPU instructions. Hence if we see that way we should able to compile gcc Compiler source code with a gcc Compiler binary.

Programming Language Performance and Overheads ↗
Thursday' 13-Aug-2020
A detailed Youtube video series of various programming language performance and overheads - a big picture

PyDelhi + PyData + ILUG-D + Linux Chix meetup mash @ Sarai on 17-Dec-2016 ↗
Thursday' 13-Aug-2020

Generic VLOGs ↗
Thursday' 13-Aug-2020
My general and tech VLOGs

C Programming Language Basics - Pointers in C ↗
Thursday' 13-Aug-2020


Trending Video:
Watch on Youtube - [215//0] 168 PyDelhi + PyData + ILUG-D + Linux Chix meetup mash @ Sarai on 17-Dec-2016 ↗

CEO, CTO Talk ↗
Thursday' 13-Aug-2020



Recommended Video:
Watch on Youtube - [221//0] 0x1ce New Job Offer? verify in Glassdoor before you join #TheLinuxChannel #KiranKankipati ↗