Recently I have started looking at Arduino boards, the first thing I wanted to build was a data logger with GPS and Compass. After looking around I ended up choosing the Seeduino Stalker with a GPS XBEE and LSM303DLH accelerometer.
A few things to know about Seeduino Stalker and using the GPS XBEE
- You can not read the GPS XBEE and serial at the same, I believe this because they share the same Rx,Tx lines. I still mean try this guys suggestions http://wlba.wordpress.com/small-projects/seeeduino-stalker-v2-2/gpsbee-and-seeeduino-stalker-v2/ (Waiting on a breadboard
) - Leaving the GPS XBEE on its mount and rewiring the Tx,Rx line to different digital ports works….but gives does not give valid response. The text is valid, but the NMEA sentences are not.
- The examples on the Seeduino wiki are out of date, you can use the standard SD and NewSoftSerial libraries instead of the libraries used in the examples. Also I found the interrupt method shown in the example confusing and not needed (Might of been back then…)
- GPS XBEE will work with the TinyGPS library (This is because it sends the standard NMEA 0183 sentences)
- If you wanted to you could edit the GPS XBEE firmware and limit the types of the sentences sent to reduce processing time
- To test the GPS XBEE you can place the XBEE on the UART and view the serial monitor at 9600 baud. You should see the sentence coming in correctly. Like wise you can view it through U-centre provided by U-blox however I prefer to deal with the raw output.
- If a GPS operates at 4Hz this means that it will send GPS position 4 times a second
- When looking at TinyGPS examples the first time, I thought while(Serial.Available()){} would go on forever, then I learn’t about the point above