D4R/Naze telemetry problem..

Post Reply
Alex__
Posts: 4
Joined: Sun Feb 22, 2015 11:01 pm

D4R/Naze telemetry problem..

Post by Alex__ »

Hi people,

So i recently went from a Naze 32 Acro to a Naze 32 Full.
To get my voltage readings, i hook it up to the FrSky telemetry pins on the Naze and run green and black wire to my D4R-II telemetry port. (just like i did with my old Naze)

From my PDB i run 3S voltage to the Naze "Voltage reading" pins.
I activate VBAT, TELEMETRY in baseflight / cleanflight ( yes, ive tried both).


Now to the problem or mistake by me... :)

On my old Naze i got the total voltage value on my flight battery. (around 12 volts)
On my new Naze i get about 5-6 volts. (Which could be the simulated "per cell?)

On my Taranis i have tried both "Cell" and Cells" but these give me the same value.
Vfas is not working either.

Mind that the readings come when i arm the board. as it should.



I really want my total voltage reading and nothing else.

Please help! what am i missing?


Setup:

Naze 32 "Full"
Kiss ESC 18A
Cobra 2208 2000KV
HQ PROP 6045
D4R-II with Telemetry
Taranis X9DPRO
GoPro Hero 3
ImmersionRC 600mw
Fatshark 600TVL
Fatshark Attitude V2

running on 3S Nano-tech battery.


Dump:

Code: Select all

 
aux 0 48
aux 1 512
aux 2 1024
aux 3 512
aux 4 0
aux 5 0
aux 6 0
aux 7 0
aux 8 128
aux 9 0
aux 10 0
aux 11 0
aux 12 0
aux 13 256
aux 14 0
aux 15 0
aux 16 0
aux 17 0
aux 18 0
aux 19 0
aux 20 0
aux 21 0
aux 22 0
aux 23 0
mixer QUADX
feature -PPM
feature -VBAT
feature -INFLIGHT_ACC_CAL
feature -SERIALRX
feature -MOTOR_STOP
feature -SERVO_TILT
feature -SOFTSERIAL
feature -LED_RING
feature -GPS
feature -FAILSAFE
feature -SONAR
feature -TELEMETRY
feature -POWERMETER
feature -VARIO
feature -3D
feature -FW_FAILSAFE_RTH
feature PPM
feature VBAT
feature SERVO_TILT
feature FAILSAFE
feature TELEMETRY
map AETR1234
set looptime = 2000
set emf_avoidance = 0
set midrc = 1500
set minthrottle = 900
set maxthrottle = 1850
set mincommand = 800
set mincheck = 1100
set maxcheck = 1900
set deadband3d_low = 1406
set deadband3d_high = 1514
set neutral3d = 1460
set deadband3d_throttle = 50
set motor_pwm_rate = 400
set servo_pwm_rate = 50
set pwm_filter = 0
set retarded_arm = 0
set disarm_kill_switch = 1
set fw_althold_dir = 1
set reboot_character = 82
set serial_baudrate = 115200
set softserial_baudrate = 9600
set softserial_1_inverted = 0
set softserial_2_inverted = 0
set gps_type = 0
set gps_baudrate = 0
set gps_ubx_sbas = 0
set gps_autobaud = 0
set serialrx_type = 0
set spektrum_sat_bind = 0
set spektrum_sat_on_flexport = 0
set telemetry_provider = 0
set telemetry_port = 0
set telemetry_switch = 0
set vbatscale = 110
set currentscale = 400
set currentoffset = 0
set multiwiicurrentoutput = 0
set vbatmaxcellvoltage = 43
set vbatmincellvoltage = 33
set vbatwarningcellvoltage = 35
set power_adc_channel = 0
set align_gyro = 0
set align_acc = 0
set align_mag = 0
set align_board_roll = 0
set align_board_pitch = 0
set align_board_yaw = 90
set yaw_control_direction = 1
set acc_hardware = 0
set mag_hardware = 0
set max_angle_inclination = 500
set moron_threshold = 32
set gyro_lpf = 42
set gyro_cmpf_factor = 600
set gyro_cmpfm_factor = 250
set pid_controller = 0
set deadband = 0
set yawdeadband = 0
set alt_hold_throttle_neutral = 40
set alt_hold_fast_change = 1
set throttle_correction_value = 0
set throttle_correction_angle = 800
set rc_rate = 90
set rc_expo = 75
set thr_mid = 50
set thr_expo = 67
set roll_pitch_rate = 24
set yaw_rate = 36
set tpa_rate = 47
set tpa_breakpoint = 1500
set failsafe_delay = 10
set failsafe_off_delay = 200
set failsafe_throttle = 900
set failsafe_detect_threshold = 985
set auto_disarm_board = 5
set rssi_aux_channel = 0
set rssi_adc_channel = 0
set rssi_adc_max = 4095
set rssi_adc_offset = 0
set yaw_direction = 1
set tri_unarmed_servo = 1
set fw_roll_throw = 0.500
set fw_pitch_throw = 0.500
set fw_vector_trust = 0
set gimbal_flags = 1
set acc_lpf_factor = 4
set accxy_deadband = 40
set accz_deadband = 40
set acc_unarmedcal = 1
set small_angle = 25
set acc_trim_pitch = 0
set acc_trim_roll = 0
set baro_tab_size = 21
set baro_noise_lpf = 0.600
set baro_cf_vel = 0.985
set baro_cf_alt = 0.965
set accz_lpf_cutoff = 5.000
set mag_declination = 0
set gps_pos_p = 11
set gps_pos_i = 0
set gps_pos_d = 0
set gps_posr_p = 20
set gps_posr_i = 8
set gps_posr_d = 45
set gps_nav_p = 14
set gps_nav_i = 20
set gps_nav_d = 80
set gps_wp_radius = 200
set nav_controls_heading = 1
set nav_speed_min = 100
set nav_speed_max = 300
set nav_slew_rate = 30
set p_pitch = 24
set i_pitch = 28
set d_pitch = 32
set p_roll = 20
set i_roll = 24
set d_roll = 31
set p_yaw = 63
set i_yaw = 18
set d_yaw = 13
set p_alt = 40
set i_alt = 25
set d_alt = 60
set p_level = 90
set i_level = 10
set d_level = 100
set p_vel = 120
set i_vel = 45
set d_vel = 1
set fw_gps_maxcorr = 20
set fw_gps_rudder = 15
set fw_gps_maxclimb = 15
set fw_gps_maxdive = 15
set fw_climb_throttle = 1900
set fw_cruise_throttle = 1500
set fw_idle_throttle = 1300
set fw_scaler_throttle = 8
set fw_roll_comp = 1.000
set fw_rth_alt = 45



/ Alex, Sweden

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: D4R/Naze telemetry problem..

Post by waltr »

set vbatscale = 110 ???

Alex__
Posts: 4
Joined: Sun Feb 22, 2015 11:01 pm

Re: D4R/Naze telemetry problem..

Post by Alex__ »

Vbat scale is at 110 if you look at my dump

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: D4R/Naze telemetry problem..

Post by waltr »

Yes it is but is this correct?????????????????

Alex__
Posts: 4
Joined: Sun Feb 22, 2015 11:01 pm

Re: D4R/Naze telemetry problem..

Post by Alex__ »

well.. what i can see from tutorials and other setups, is that this value is only supposed to be adjusted 1-5 points to get the correct reading. But then we are talking about going from, for example 11,9 volts to 12,2.. (small adjustments) not from 5 volts to 12.

but i will try and adjust it more.

Alex__
Posts: 4
Joined: Sun Feb 22, 2015 11:01 pm

Re: D4R/Naze telemetry problem..

Post by Alex__ »

Tried the max value in cleanflight (255) but the highest i can get is 7,2 volts...
so thats not it..

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: D4R/Naze telemetry problem..

Post by waltr »

Ok, that isn't it.

The way I setup for flight battery telemetry is (using CF):

With the proper Voltage Divider (FrSky FBVS resistor values) connect to the D4R's AD2 pin. Then in the Taranis set the AD2 scaling for the max Voltage of the divider you selected.
I use the 6:1 divider so the full scale Voltage is 19.8V. Now the flight battery Voltage is shown in the Taranis Telemetry screen and you can setup an audible alarm.
This works much better than trying to use the VBAT pin on the Naze board and now the Naze beeper pins can be used for model discovery by setting feature -VBAT (VBAT off).
I also found not reason to use the Serial Telemetry connection between the Naze and the D4R.

Post Reply