I wasn't sure about where to post my question but this seem as close I can get.
I bought this cheap GPS+Antenna module from ebay. It seemed like the best bet for the money to start learning about GPSs. But as to my surprise, I found no documentation, code, manual or any kind of example.
It came with 6 wires and didn't even mention what is what. But after poking around a bit, I came across a similar device named VK16E which does have similar wiring which seems to be correct.
I have been trying to use TinyGPS++ as it seems all GPSs are encrypted the same standard way? I am using an example with no luck. GPS powers on (red led stays on) and even the led on it blinks but I get nothing in serial monitor. I am not sure if the device is bad or I am approaching it the wrong way?
I will update this question, more and more as needed.
EDIT:
I am using Arduino Leonardo and is using the Serial1 class as suggested.
Here's the link that has information about the VK16HX module (http://www.aliexpress.com/item/5pcs-lot-VK16HX-GPS-wireless-module-with-25-25-4mm-ceramic-antenna-free-shipping/1707909061.html).
Here's the link to the "similar" module to VK16HX, is called VK16E (http://www.aliexpress.com/item/Free-Shipping-1pc-VK16E-GMOUSE-GPS-Module-SIRF3-chip-ceramic-antenna-TTL-signal-9600-baud/1227622444.html).
Currently, i have connected module's VCC, TX, RX, GND to Leonardo's 3.3V, RX(PIN0), TX(PIN1), FIRST GND, respectively.
Here's the code i am using:
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
#define RXPIN 0
#define TXPIN 1
SoftwareSerial gpsSerial(RXPIN, TXPIN); // create gps sensor connection
TinyGPSPlus gps; // create gps object
void setup(){
Serial1.begin(9600); // connect Serial
gpsSerial.begin(9600); // connect gps sensor
}
void loop(){
while(gpsSerial.available() > 0) // check for gps data
gps.encode(gpsSerial.read()); // encode gps data
if (gps.location.isUpdated())
{
// display position
Serial1.print("LAT="); Serial1.println(gps.location.lat());
Serial1.print("LONG="); Serial1.println(gps.location.lng());
//Serial1.print("ALT="); Serial1.println(gps.altitude.meters());
}
}