Page 1 of 1

GPS Not Communicating With Naze32 - RESOLVED

Posted: Wed Oct 29, 2014 6:57 pm
by Crady
I just received my House uBlox 6M GPS Module V2 from RTF Quads and I cannot get any data from the module when connected to my Rev 5 Naze32 board.

The module has power, and I've doubled-checked the Tx/Rx connections as per the example photos.

In Baseflight I have GPS enabled, GPS type set to 1 (Ublox), and baud rate set to 0 (115K)-- all correct as per RTF Quads -- but when I view the GPS tab in Baseflight the lat. & long. coords are all 0's and it says my altitude is 65519 m (woohoo!). I also have GPS enabled on my MinimOsd board but no GPS data is being received from the Naze32.

Radio is an FrSky Delta 8 set to CPPM mode and everything else appears to be working correctly.

I've included my settings from the CLI for reference.

Anyone else run into this, and if so were you able to resolve it?

:?:




21:26:29 -- Running - OS: Windows, Chrome: 37.0.2062.120, Configurator: 0.54.2
21:26:30 -- Serial port successfully opened with ID: 19
21:26:30 -- Unique device ID received - 0x66eff494849835087201216
21:26:30 -- Running firmware released on: Oct 1 2014
Setup
Configuration
PID Tuning
Receiver
Mode Selection
Servos
GPS
Motor Testing
Raw Sensor Data
Logging
CLI


# set
Current settings:
looptime = 3500
emf_avoidance = 0
midrc = 1500
minthrottle = 1050
maxthrottle = 1850
mincommand = 1000
mincheck = 1100
maxcheck = 1900
deadband3d_low = 1406
deadband3d_high = 1514
neutral3d = 1460
deadband3d_throttle = 50
motor_pwm_rate = 400
servo_pwm_rate = 50
retarded_arm = 0
disarm_kill_switch = 1
flaps_speed = 0
fixedwing_althold_dir = 1
reboot_character = 82
serial_baudrate = 115200
softserial_baudrate = 9600
softserial_1_inverted = 0
softserial_2_inverted = 0
gps_type = 1
gps_baudrate = 0
gps_ubx_sbas = 0
serialrx_type = 0
sbus_offset = 988
telemetry_provider = 0
telemetry_port = 0
telemetry_switch = 0
vbatscale = 110
currentscale = 400
currentoffset = 0
multiwiicurrentoutput = 0
vbatmaxcellvoltage = 0
vbatmincellvoltage = 0
power_adc_channel = 0
align_gyro = 0
align_acc = 0
align_mag = 0
align_board_roll = 0
align_board_pitch = 0
align_board_yaw = 90
yaw_control_direction = 1
acc_hardware = 0
mag_hardware = 0
max_angle_inclination = 500
moron_threshold = 32
gyro_lpf = 42
gyro_cmpf_factor = 600
gyro_cmpfm_factor = 250
pid_controller = 0
deadband = 0
yawdeadband = 0
alt_hold_throttle_neutral = 40
alt_hold_fast_change = 1
throttle_correction_value = 0
throttle_correction_angle = 800
rc_rate = 90
rc_expo = 0
thr_mid = 50
thr_expo = 0
roll_pitch_rate = 0
yaw_rate = 0
tpa_rate = 0
tpa_breakpoint = 1500
failsafe_delay = 10
failsafe_off_delay = 200
failsafe_throttle = 1200
failsafe_detect_threshold = 985
rssi_aux_channel = 0
rssi_adc_channel = 0
rssi_adc_max = 4095
rssi_adc_offset = 0
yaw_direction = 1
tri_unarmed_servo = 1
gimbal_flags = 4
acc_lpf_factor = 4
accxy_deadband = 40
accz_deadband = 40
acc_unarmedcal = 1
small_angle = 25
acc_trim_pitch = 2
acc_trim_roll = -2
baro_tab_size = 21
baro_noise_lpf = 0.600
baro_cf_vel = 0.985
baro_cf_alt = 0.965
accz_lpf_cutoff = 5.000
mag_declination = 1640
gps_pos_p = 11
gps_pos_i = 0
gps_pos_d = 0
gps_posr_p = 20
gps_posr_i = 8
gps_posr_d = 45
gps_nav_p = 14
gps_nav_i = 20
gps_nav_d = 80
gps_wp_radius = 200
nav_controls_heading = 1
nav_speed_min = 100
nav_speed_max = 300
nav_slew_rate = 30
p_pitch = 35
i_pitch = 30
d_pitch = 23
p_roll = 35
i_roll = 30
d_roll = 23
p_yaw = 85
i_yaw = 45
d_yaw = 0
p_alt = 50
i_alt = 0
d_alt = 0
p_level = 90
i_level = 10
d_level = 100
p_vel = 120
i_vel = 45
d_vel = 1


end

Re: GPS Not Communicating With Naze32

Posted: Thu Oct 30, 2014 9:59 am
by pjman
Sounds like a stupid question but i am guilty of this mistake - have you got the battery plugged in or just powering from the usb?

Re: GPS Not Communicating With Naze32

Posted: Thu Oct 30, 2014 6:42 pm
by Crady
Not a stupid question. Always with battery.

; )

Re: GPS Not Communicating With Naze32

Posted: Thu Oct 30, 2014 6:46 pm
by Crady
RESOLVED.

In the Baseflight GUI under the 'Configuration' tab is an option for "Enable GPS (PPM or 3rd serial port required)"

The keyword here is "or" which needs to be changed to "and". I had PPM enabled but that was not sufficient.

Once I enabled the 3rd serial port the green light on the GPS module began to blink and coordinates started streaming in.

:mrgreen: :mrgreen: :mrgreen: