Can some one help me. I have been throughout the forum and can't seem to find a direct detailed answer to my question.

I know there is an article with an option to connect a GPS module via "bypass" through the APM2 to connect to the u-center, however, I would like a direct connection to u-center.

Can I connect a GPS NEO-6m or LEA-6H module to my Win7 laptop's "Ublox u-Center" program via the USB connection, directly?

I believe I read somewhere that it can be done.

I am not worried about what actual physical cables to use, I'll make a custom one, I just need to know what wire assignment are to what connection to the laptop USB port?

I know the compass uses 3.3v but the GPS portion of the circuit works on 5v which is the computer's USB voltage.

On the GPS module we have the 4 pins; VCC, RXD, TXD, GND

VCC  to  5v+(laptop USB port)

GND to USB Ground

and the other 2..... RXD and TXD I can try one combo and swap if needed. If I connected the voltage portion of the wires correctly, I imagine there is no risk in hardware damage to the computer or GPS module since those 2 other connections are only for data? Is this correct?

Will this work? Has anyone done this before?

Also a typical USB computer port has 5 connection "vias" doesn't it? 4 actual connection tracks and the USB casing which is ground, correct?

If so, I would have to play around with 3 connections to find which 2 will work for RXD and TXD?????

GPS NEO-6M.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Oh, I forgot...RS232 serial ports use voltages which are incompatible with TTL devices.  Data high is defined as (about) +12 V while data low is -12 V.  A naked RS232 port is definitely contraindicated here!

    • Thanks Mike,

      I just tried a direct connection to the computer just a few hours ago and it did not work, now that you explained data transfer rates of a usb port, now I know why.

      I did, however try a USB to TTL and it did work, as far as establishing a connection.

      It did actually connect to the U-Center with no problems but I have a problem that seems an enigma. It just doesn't make sense after everything I read. The transfer (save or load configuration) does not work.

      As I am trying to load the 3DR-Ublox.txt to the GPS every command line times out and does not transfer successfully....even with a retry count of 10. (baud rate is set correctly at 38,400) When I try a basic "save configuration" same thing happens.

      I followed the instructions as per Jabram that provides a lot of tutorials and videos over the forums, which was quite easy to follow and it makes sense, but it just does work for me.

      Also tried different versions of U-Center.

      It is like it can not communicate with U-center in that regard (saving or uploading) but in every other sense it works with the U-Center.

      After debugging, I get all the graphs moving and can lock 12 satellites outside, etc.

      My GPS LEA-6H and NEO-6M work but I want to be able to have full function; save, upload configurations etc.

      Let me know how you make out......and if anyone had this problem and found the fix, please let me know. 

  • Hi, Greg...

    I'm going to try a direct connection as well; however, it will require a USB/FTDI converter.  The GPS side of the system should be TTL (hi/lo logic or +5 V/0V) while the USB side will not obey those rules.  The data transfer rates for USB are pretty high compared to serial standards.  Even 115200 baud corresponds to less than 1 MB/s while USB 2.0 runs at 480 MB/s.  Handshaking in the converter takes care of this problem.   Converters are cheap, running about 3-7 dollars.  VCC from the converter will go to VCC on the board, GND will go to GND.  You should expect to swap TXD and RXD since both devices are "computers".

    I have the necessary plugs on order, and expect to hook it up in 3 days or so.  I'll let you know how it works.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…