One more question.
For the GPS to be correctly connected to Ardupilot what wires do i need?
Tx (of the GPS going to IN )
Rx (of GPS going to OUT ) is this needed too????????????
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.
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
GPS Data refresh rate: 10Hz
So my Locosys LS20033 came with only three wires going to Autopilot (That is the FY-21AP)
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.
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"
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