GPS Not working with Paparazzi with AR Drone 2.0 Help

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

GPS Not working with Paparazzi with AR Drone 2.0 Help

Nathan Speidel
Hello again all!!

My partner and I are still having trouble getting the GPS to work with the Paparazzi software.   I thought I would try to post a summary of what we've done and hopefully someone can help.  

We are using the AR Parrot Drone 2.0.

We have tried two GPS units:   

A UBlox GPS which can be seen here: 

and we have also tried the AR Flight recorder: 

We had to wire the UBlox GPS to a SparkFun USB to Serial chip, which can bse seen here:

I have attached pictures of the back of the chip.   We soldered on some breakaway headers to the USB to serial chip, because we weren't sure what to wire the GPS to.   As you can see in the picture the GPS had 6 wires.   I think we figured out that the orange and white wires were for the compass, so we didn't wire those to anything.   We wired the black, green, red and yellow wires in various configurations including 

1. TXD, RDX, VCC, GND, 
2. TXD, RXD, 3.3v, GND
3. TX-O, RX-I, 3v3v, GND
4. TX-O, RX-I, VCC, GND

etc

When we have the UBlox gps set up and we plug in the drone, the GPS lights up.   We can then run Paparazzi Center on my Linux machine and connect to the Drone wifi.   We can upload the software to the drone, but then when we execute the "Flight UDP/WiFi" session, the GPS doesn't appear to be working.    We can select the GPS tab and it just shows zeros. 

This same problem happens if we start the session with the AR Drone Flight Recorder plugged in. 

Does anyone have any thoughts about what to do next? 

What would be the next thing to do for troubleshooting? 

Inline image 2Inline image 3Inline image 1

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

MikeK

Hey Nathan.

I've actually been through most of what you're going through now pretty recently and should be able to answer most of your questions.

I'll start by saying that you should avoid the Flight Recorder - it requires some additional setup to get working, but the quality of the GPS is too low to fly autonomously.

UBlox GPS is great - a little configuration is necessary to set this up.

Connecting by cables - you need to connect: ground to ground
RX to TX
TX to RX
and power to power.

I can't get your cable to load, but most people seem to use the FTDI 3v3 WE TTL serial to USB cables - but if your cable is up to spec, it should work.

To troubleshoot, you should telnet to the AR Drone (connect to 192.168.1.1 I believe), and you have busybox to debug the device - you can use dmesg to determine if the driver loaded, and see if the serial file exists. There's some additional information on the wiki about this, I suggest you read up on that.

I'll help you more if you bug me on gitter - got to go to bed now.

Hope this helps
-Kenshin

On Feb 24, 2016 10:19 PM, "Nathan Speidel" <[hidden email]> wrote:
Hello again all!!

My partner and I are still having trouble getting the GPS to work with the Paparazzi software.   I thought I would try to post a summary of what we've done and hopefully someone can help.  

We are using the AR Parrot Drone 2.0.

We have tried two GPS units:   

A UBlox GPS which can be seen here: 

and we have also tried the AR Flight recorder: 

We had to wire the UBlox GPS to a SparkFun USB to Serial chip, which can bse seen here:

I have attached pictures of the back of the chip.   We soldered on some breakaway headers to the USB to serial chip, because we weren't sure what to wire the GPS to.   As you can see in the picture the GPS had 6 wires.   I think we figured out that the orange and white wires were for the compass, so we didn't wire those to anything.   We wired the black, green, red and yellow wires in various configurations including 

1. TXD, RDX, VCC, GND, 
2. TXD, RXD, 3.3v, GND
3. TX-O, RX-I, 3v3v, GND
4. TX-O, RX-I, VCC, GND

etc

When we have the UBlox gps set up and we plug in the drone, the GPS lights up.   We can then run Paparazzi Center on my Linux machine and connect to the Drone wifi.   We can upload the software to the drone, but then when we execute the "Flight UDP/WiFi" session, the GPS doesn't appear to be working.    We can select the GPS tab and it just shows zeros. 

This same problem happens if we start the session with the AR Drone Flight Recorder plugged in. 

Does anyone have any thoughts about what to do next? 

What would be the next thing to do for troubleshooting? 

Inline image 2Inline image 3Inline image 1

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

Pascal Fust
I guess that's already a good start checking your wiring. To me it seems, as if you connected TX with TX, and RX with RX.

Just my 5 coins to add to that story, so far...
Cheers, 
Pascal 

2016-02-25 8:11 GMT+01:00 nihsnek <[hidden email]>:

Hey Nathan.

I've actually been through most of what you're going through now pretty recently and should be able to answer most of your questions.

I'll start by saying that you should avoid the Flight Recorder - it requires some additional setup to get working, but the quality of the GPS is too low to fly autonomously.

UBlox GPS is great - a little configuration is necessary to set this up.

Connecting by cables - you need to connect: ground to ground
RX to TX
TX to RX
and power to power.

I can't get your cable to load, but most people seem to use the FTDI 3v3 WE TTL serial to USB cables - but if your cable is up to spec, it should work.

To troubleshoot, you should telnet to the AR Drone (connect to 192.168.1.1 I believe), and you have busybox to debug the device - you can use dmesg to determine if the driver loaded, and see if the serial file exists. There's some additional information on the wiki about this, I suggest you read up on that.

I'll help you more if you bug me on gitter - got to go to bed now.

Hope this helps
-Kenshin

On Feb 24, 2016 10:19 PM, "Nathan Speidel" <[hidden email]> wrote:
Hello again all!!

My partner and I are still having trouble getting the GPS to work with the Paparazzi software.   I thought I would try to post a summary of what we've done and hopefully someone can help.  

We are using the AR Parrot Drone 2.0.

We have tried two GPS units:   

A UBlox GPS which can be seen here: 

and we have also tried the AR Flight recorder: 

We had to wire the UBlox GPS to a SparkFun USB to Serial chip, which can bse seen here:

I have attached pictures of the back of the chip.   We soldered on some breakaway headers to the USB to serial chip, because we weren't sure what to wire the GPS to.   As you can see in the picture the GPS had 6 wires.   I think we figured out that the orange and white wires were for the compass, so we didn't wire those to anything.   We wired the black, green, red and yellow wires in various configurations including 

1. TXD, RDX, VCC, GND, 
2. TXD, RXD, 3.3v, GND
3. TX-O, RX-I, 3v3v, GND
4. TX-O, RX-I, VCC, GND

etc

When we have the UBlox gps set up and we plug in the drone, the GPS lights up.   We can then run Paparazzi Center on my Linux machine and connect to the Drone wifi.   We can upload the software to the drone, but then when we execute the "Flight UDP/WiFi" session, the GPS doesn't appear to be working.    We can select the GPS tab and it just shows zeros. 

This same problem happens if we start the session with the AR Drone Flight Recorder plugged in. 

Does anyone have any thoughts about what to do next? 

What would be the next thing to do for troubleshooting? 

Inline image 2Inline image 3Inline image 1

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

Nathan Speidel
Yes you are correct!!

We had the wiring wrong.  

We also had to use the TX-O and  RX-I on the front of the chip.  (pic attached)

The picture attached is our setup now and it's working!!

We are looking into setting up waypoints, etc now.  

We are extremely excited.   Thank you guys!


On Wed, Feb 24, 2016 at 11:51 PM, Pascal Fust <[hidden email]> wrote:
I guess that's already a good start checking your wiring. To me it seems, as if you connected TX with TX, and RX with RX.

Just my 5 coins to add to that story, so far...
Cheers, 
Pascal 

2016-02-25 8:11 GMT+01:00 nihsnek <[hidden email]>:

Hey Nathan.

I've actually been through most of what you're going through now pretty recently and should be able to answer most of your questions.

I'll start by saying that you should avoid the Flight Recorder - it requires some additional setup to get working, but the quality of the GPS is too low to fly autonomously.

UBlox GPS is great - a little configuration is necessary to set this up.

Connecting by cables - you need to connect: ground to ground
RX to TX
TX to RX
and power to power.

I can't get your cable to load, but most people seem to use the FTDI 3v3 WE TTL serial to USB cables - but if your cable is up to spec, it should work.

To troubleshoot, you should telnet to the AR Drone (connect to 192.168.1.1 I believe), and you have busybox to debug the device - you can use dmesg to determine if the driver loaded, and see if the serial file exists. There's some additional information on the wiki about this, I suggest you read up on that.

I'll help you more if you bug me on gitter - got to go to bed now.

Hope this helps
-Kenshin

On Feb 24, 2016 10:19 PM, "Nathan Speidel" <[hidden email]> wrote:
Hello again all!!

My partner and I are still having trouble getting the GPS to work with the Paparazzi software.   I thought I would try to post a summary of what we've done and hopefully someone can help.  

We are using the AR Parrot Drone 2.0.

We have tried two GPS units:   

A UBlox GPS which can be seen here: 

and we have also tried the AR Flight recorder: 

We had to wire the UBlox GPS to a SparkFun USB to Serial chip, which can bse seen here:

I have attached pictures of the back of the chip.   We soldered on some breakaway headers to the USB to serial chip, because we weren't sure what to wire the GPS to.   As you can see in the picture the GPS had 6 wires.   I think we figured out that the orange and white wires were for the compass, so we didn't wire those to anything.   We wired the black, green, red and yellow wires in various configurations including 

1. TXD, RDX, VCC, GND, 
2. TXD, RXD, 3.3v, GND
3. TX-O, RX-I, 3v3v, GND
4. TX-O, RX-I, VCC, GND

etc

When we have the UBlox gps set up and we plug in the drone, the GPS lights up.   We can then run Paparazzi Center on my Linux machine and connect to the Drone wifi.   We can upload the software to the drone, but then when we execute the "Flight UDP/WiFi" session, the GPS doesn't appear to be working.    We can select the GPS tab and it just shows zeros. 

This same problem happens if we start the session with the AR Drone Flight Recorder plugged in. 

Does anyone have any thoughts about what to do next? 

What would be the next thing to do for troubleshooting? 

Inline image 2Inline image 3Inline image 1

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

GPSFixed.JPG (3M) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

jose1211
In reply to this post by MikeK
Hi I have being working with flight recorder in the ARDrone 2 with paparazzi, there seems to be a problem, because there is no GPS fix. I already change the airframe file to sirf mode and comment the ublox center. But nothing happens, I will appreciate any help.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

MikeK

Hello Jose,

Conventional wisdom states that the Flight Recorder is not suitable for autonomous flights with paparazzi. It's difficult to setup, and once you do, it doesn't provide the accuracy or precision necessary.

Instead, any UBlox GPS unit should suffice - these start around $30 USD.

If you really want to get the flight recorder working, I can pull up my notes when I get back home tonight - I wrote down how to do it, but never actually did it.

-Kenshin

On Apr 7, 2016 07:44, "jose1211" <[hidden email]> wrote:
Hi I have being working with flight recorder in the ARDrone 2 with paparazzi,
there seems to be a problem, because there is no GPS fix. I already change
the airframe file to sirf mode and comment the ublox center. But nothing
happens, I will appreciate any help.



--
View this message in context: http://lists.paparazziuav.org/GPS-Not-working-with-Paparazzi-with-AR-Drone-2-0-Help-tp17728p17882.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GPS Not working with Paparazzi with AR Drone 2.0 Help

jose1211
Hi I already manage to get the 3D GPS Fix, but not successful autonomus flight. Do you have any recommendations??
Loading...