Hi to all.
I am trying to setup my for long unused  Ardupilot + Shield according to the info on the first page of this thread but i am having a problem.

I started as proposed using only the Ardupilot board with the Control (ch 5) connected only.
Did everything as per tutorial but can't get the Sat LED blinking before the GPS Emulator step.
The only way to get a Sat blinking is by entering

#define GCS_PROTOCOL -1
any other option like the
#define GCS_PROTOCOL 0 which is by default there wont make my Sat LED blink.
If now i go on the next step (GPS Emulator) with
#define GCS_PROTOCOL -1
Then i don't get a Sat Lock.
Please help because the tutorial doesn't state what to do if someone has a problem like mine.
Teo
PS
I am using a Locosys LS20033 GPS

Views: 819

Replies to This Discussion

One more question.

For the GPS to be correctly connected to Ardupilot what wires do i need?

GND

Vin

Tx (of the GPS going to IN )

Rx (of GPS going to OUT ) is this needed too????????????

Vbackup

Theo,

Check this photo: http://ardupilot.googlecode.com/svn/images/wiring_jumpers.png look for inferior left corner

You need to connect (gps -->Ardupilot):

1. GND -->GND

2. Vbat +Vbackup  -->diode-->diode-->5V_out

3. Rx -->Txo

4. Tx -->Rxi

Rx line is important because the Ap software prepares the gps unit (baudrate, NMEA or binary)

I asked because in this fotos asks only for the Tx of the GPS to be connected to the Rxi of the Ardu.

http://api.ning.com/files/gLvOOJmqPY3IxBr2-nE18K1eYGKQO9IWHQ3pFZuKJ...

_

_

http://www.electronicarc.com/catalogo/product_info.php?cPath=43_80&...

And i got confused.

I will try with the Rx of the GPS also connected to Txo of Ardu and see if that solves my problem.

That is because remzibi osd gps unit works at 38400 (same as the Ap latest software) baud-rate by default, hence no need to configure the gps unit.

The Locosys LS20033 that comes with the FY-21AP is also configured at 38400 baud rate by default.

As per manual page 12 http://www.fpvflying.com/downloads/FY-21AP-manual.pdf

The interface and features of the GPS circuit board
TX0:Data transmission. Connect to the FY-21AP RX pin. (Although not used!! Shown on sketch of page 11 )
RX0:Data receive. Connect to FY-21AP TX pin.
Interface Features: TTL level
Baud rate: 38400
Data bits: 8
Stop bits: 1
Parity: None
GPS Data refresh rate: 10Hz

So my Locosys LS20033 came with only three wires going to Autopilot (That is the FY-21AP)

Black------GND

RED-------Vc going to both Vin and Vbackup of the GPS

Green-----Data Transmission (going to Rx of FY-21AP and in my case the IN (Rxi) of Ardupilot)

I know i must be tiring you by now but i really appreciate your help.

I am going to try with all wires connected but right now i have to wait for a replacement cable to arrive.

Theo,

If it is so (38400, NMEA output) try it with only GND, Vc and Tx connect to the Ap board.

It should work!

Do you have another gps unit you can try?

AND another Ardupilot board?

I know it is supposed to work but.....

I have tried with another GPS of the same type (Locosys LS20033) and it didn't work.

I used this GPS on a FY-21AP and it worked.

So the GPS is working properly.

Unfortunately i don't have another Ardupilot board to check.

I really want to make it work especially after i saw how well the Stabilization mode works ( Compares to my FY-21AP)

Is there a possibility that the high refresh rate of the GPS (10Hz) might be causing the problem??

I looked around the code under the GPS_NMEA tab and saw that the refresh rate can't be set over 5Hz.

If i do then while compiling it pops up a msg saying:

"NMEA_OUTPUT_10Hz was not declared in this scope"

Theo,

Connect the gps RX line to the Ap.

If all went well, the Ap will setup the gps to 38400 and 4Hz.

Open the gps cover and just solder one wire to the gps Rx pad, then solder  the other tip of the  wire to the Ap board Txo plug (underneath).

It's a simple mod.

Afterwords, you can remove the wire and protect again the gps unit with thermal sleeve.

Although a bit afraid to solder on a such small pad maybe i will try that and report back.

I did it but nothing changed.

Is there a way to copy paste what the serial monitor of Arduino is showing so as to check it yourself also?

I guess that i have two options left.

1. Use it w/o GPS for Stabilize and Circle or

2. Throw it to the BIN

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

  • X8

    X8

    130 members

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service