|
|
|
|
|
|
||
|
|
Quote:
Found one error already, so new files have been uploaded to the original posting. - Thomas |
|
|
||
|
|
||
|
|
Quote:
![]() I don't have time right now, but I will check it later and attach it to first post if it's okay with you. |
|
|
||
|
|
||
|
|
Quote:
Thomas |
|
|
||
|
|
|
|
Zambia, Lusaka, Lusaka
Joined Jun 2005
325 Posts
|
Hey i wanted to know if this would work:
http://shop.moderndevice.com/products/rbbb-kit ??? Thanks Willie |
|
|
|
|
|
|
|
This is only meant for this very specific GPS, but the config-commands probably works for other sirf-based gps as well.
As Mrfliboy showed earlier, he had a few problems with a specific GPS. I was offered a GPS if I could take a look at it, and figured I could just as well share the result here rather than over PM ![]() This is the GPS-device: http://www.rcgroups.com/forums/showthread.php?t=1470762 It should be pretty straight forward, but without a data-sheet, name or anything, it turned out to be a little challenge ![]() I had no connector for the GPS-module, but the wires could be soldered on directly. Connecting the GPS directly to a FTDI converter worked fine, but when connecting to Arduino I wasn't able to get any output at all. A scope quickly revealed the problem. This is the serial data-stream when connected to the FTDI-converter: A serial data-stream is suppose to look like this: When connecting the GPS to Arduino, the data-stream wasn't present at all. A few tests quickly revealed, that the serial-output expected a logic high to pull low. For some reasen this is not made on the GPS-module? The solution is too add a little pull-up resistor. Next was the NMEA-strings. As default it was sending a lot more info than necessary. For this project only 2 strings are needed. So how do you configure a GPS without knowing the specific commands, having the datasheet etc? Good question. As the GPS had a SIRF-chip i figured defaults sirf-commands was a good place to start. A little search later, and I found this document containing commands for a sirf gps chipset which seems to work: http://gpsd.berlios.de/vendor-docs/s...ns-XT5x-v2.pdf In short: The quick and dirty solution (can't use GPS input): If you connect GPS TX to GPS RX the output should behave normally. This can easily be done by just connecting TX and RX solder-pads on the GPS, and leave Arduino TX unconnected. It's a quick and easy solution, but as you can't use GPS RX you want be able to configure the GPS. A better solution: The serial-output needs a pull-up resistor (resistor connected to high/5 volt) to work probably. Connect the GPS TX pin to 5 volt with a 10K ohm resistor (or something like that). You can now connect the GPS as usually. ---------------------------------------------------- This is the arduino-code for configuring the GPS: // Disable everything: Serial.print("$PSRF103,00,01,00,01*25"); Serial.print(13,BYTE); Serial.print(10,BYTE); Serial.print("$PSRF103,01,01,00,01*24"); Serial.print(13,BYTE); Serial.print(10,BYTE); Serial.print("$PSRF103,02,01,00,01*27"); Serial.print(13,BYTE); Serial.print(10,BYTE); Serial.print("$PSRF103,03,01,00,01*26"); Serial.print(13,BYTE); Serial.print(10,BYTE); Serial.print("$PSRF103,04,01,00,01*21"); Serial.print(13,BYTE); Serial.print(10,BYTE); Serial.print("$PSRF103,05,01,00,01*20"); Serial.print(13,BYTE); Serial.print(10,BYTE); // Enable GGA Serial.print("$PSRF103,00,00,01,00*24"); Serial.print(13,BYTE); Serial.print(10,BYTE); // Enable RMC Serial.print("$PSRF103,04,00,01,00*20"); Serial.print(13,BYTE); Serial.print(10,BYTE); |
|
|
||
|
|
Quote:
![]() But Arduino Nano costs 16.90$ incl shipping from deal extreme (including cable and FTDI converter) - so don't pick it due to the lower price ![]() http://www.dealextreme.com/p/arduino-nano-v3-0-81877 |
|
|
||
|
|
||
|
|
Quote:
|
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion Diy osd | karl k | Video Piloting (FPV/RPV) | 2 | May 03, 2011 12:31 AM |
| Idea New DIY OSD? | atari7202 | Video Piloting (FPV/RPV) | 1 | Mar 25, 2011 12:08 AM |
| Discussion see my own diy OSD video | Passion | Aerial Photography | 7 | May 27, 2010 01:28 AM |
| Discussion REAL homebrew DIY OSD - Check it out! | jafoca | Video Piloting (FPV/RPV) | 8 | Jun 29, 2009 06:52 PM |
| Discussion picoOSD DIY PIC12F683 based OSD in C | kbosak | Video Piloting (FPV/RPV) | 6 | Jan 31, 2008 07:47 AM |