Project showcase
GPS + Bluetooth + Android

GPS + Bluetooth + Android © CC BY

I took an HC-05 and added it to my handheld GPS device to get coordinates on my Android tablet.

  • 10,616 views
  • 1 comment
  • 9 respects

Components and supplies

GPS Module (Generic)
UBLOX NEO6M
×1
Logo jycgurodtz
UTSOURCE Electronic Parts
everything above can be found here for a low price
×1
Arduino uno rev3 a000066 aaf xlzfmaw5ga
JLCPCB Arduino Uno
×1
29425990 844294485757334 4135592617402433536 o 4wf7ylby4k
JLCPCB Customized PCB
×1

About this project

I want to make an handheld GPS device in order to understand its working and how can I implement this in other projects so I created this setup.

Thanks UTSOURCE.net to offer electronic components for this project!

you can check UTSOURCE.net, they deal in all kinds of electronic components, for example, Arduino board, GPS module, and many more.

watch the video on my channel


Code

CodeC/C++
#include <TinyGPS++.h>
#include <SoftwareSerial.h>

static const int RXPin = 4, TXPin = 3;
static const uint32_t GPSBaud = 9600;

// The TinyGPS++ object
TinyGPSPlus gps;

// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);

void setup(){
  Serial.begin(9600);
  ss.begin(GPSBaud);
}

void loop(){
  // This sketch displays information every time a new sentence is correctly encoded.
  while (ss.available() > 0){
    gps.encode(ss.read());
    if (gps.location.isUpdated()){
      Serial.print("Latitude= "); 
      Serial.print(gps.location.lat(), 6);
      Serial.print(" Longitude= "); 
      Serial.println(gps.location.lng(), 6);
    }
  }
}

Schematics

Schematics
Neo 6m arduino xidynofyf1

Comments

Similar projects you might like

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 4,436 views
  • 2 comments
  • 19 respects

GPS Location Display With GPS And TFT Display Shields

Project tutorial by Boian Mitov

  • 16,750 views
  • 6 comments
  • 36 respects

GPS Data Logger, Real-Time Curve, Max Height and Max Speed

Project tutorial by yvesmorele

  • 4,628 views
  • 4 comments
  • 28 respects

Connecting "stuff" via Bluetooth / Android / Arduino

Project tutorial by MJRoBot

  • 16,185 views
  • 22 comments
  • 41 respects
Add projectSign up / Login