Hi all!
I'm trying to get data through serial port from a Venus GPS (Serial interface) and a BMP180 pressure&temp sensor (I2C interface).
I can get both sensors send data alternatively but either one or the other, here is the serial monitor out and the code
Thanks for your help
BMP180 init success
baseline pressure: 767.58 mb
BMP180 init success
relative altitude: 0.2 meters, 1 feet
GPS data
GPS data
GPS data
GPS data
Lat: 0000.0000N Long: 00000.0000E
GPS data
GPS data
GPS data
GPS data
Lat: 0000.0000N Long: 00000.0000E
GPS data
GPS data
and so on...
Code is in attachement
gps_bmp_2.ino (4.7 KB)
Serial.println("GPS data");
displayGPS();
Parsing data without knowing what the data is is silly.
Print out the data in sentence.
HI there!
It is only a debug print to know where in the sketch I am. I've changed the code and seems that sketch get stuck in displayGPS function, but this is the exact copy of the original Venus GPS sketch
Serial MOnitor out
PS data
1
BMP180 data
relative altitude: -0.0 meters, -0 feet
0
GPS data
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
Lat: 0000.0000N Long: 00000.0000E
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
Lat: 0000.0000N Long: 00000.0000E
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
DisplayGPS
and so on
New code attached
gps_bmp_3.ino (5.04 KB)
New code attached
Which still doesn't print the characters read from the GPS or what is stored in sentence. You are STILL stabbing in the dark. Get a flashlight, damn it.