Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enable Blackbox logging whilst not flying
#1
I have an SPRacing F3 EVO board and i want to test the gyro sensors on the bench with just a battery connected. However to enable Blackbox logging CleanFlight/BetaFlight require that the system be "ARMED". Is there a way to fool the system into thinking it is armed just for testing purposes? I hope to compare multiple boards at the same time so want to do it all without having to arm the systems with a radio.
Reply
Login to remove this ad | Register Here
#2
You can arm the quad on the bench, just enable "motor stop" and disable air mode Smile
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#3
why not do it with the props off?
Reply
#4
(19-Jan-2017, 06:28 PM)Oscar Wrote: You can arm the quad on the bench, just enable "motor stop" and disable air mode Smile

Thanks - I tried your suggestion but it does not seem to activate the Blackbox logging. The only way I can get it to log on the bench is to go through the GUI and manually activate the motors in Motor Test Mode - this activates the logging. What I would like is to just plug in the battery and for it to start logging automatically without having to go through the GUI. I have included the informative parts of the dump file below:

# feature
feature -RX_PPM
feature -VBAT
feature -INFLIGHT_ACC_CAL
feature -RX_SERIAL
feature -MOTOR_STOP
feature -SERVO_TILT
feature -SOFTSERIAL
feature -GPS
feature -FAILSAFE
feature -SONAR
feature -TELEMETRY
feature -CURRENT_METER
feature -3D
feature -RX_PARALLEL_PWM
feature -RX_MSP
feature -RSSI_ADC
feature -LED_STRIP
feature -DISPLAY
feature -OSD
feature -BLACKBOX
feature -CHANNEL_FORWARDING
feature -TRANSPONDER
feature -AIRMODE
feature -SDCARD
feature -VTX
feature -RX_SPI
feature -SOFTSPI
feature -ESC_SENSOR
feature RX_PPM
feature VBAT
feature MOTOR_STOP
feature GPS
feature FAILSAFE
feature CURRENT_METER
feature RSSI_ADC
feature BLACKBOX
feature SDCARD


# map
map AETR1234


# serial
serial 20 1 115200 57600 0 115200
serial 0 0 115200 57600 0 115200
serial 1 0 115200 57600 0 115200
serial 2 2 115200 57600 0 115200



# master
set task_statistics = ON
set mid_rc = 1500
set min_check = 1100
set max_check = 1900
set rssi_channel = 0
set rssi_scale = 30
set rc_interpolation = AUTO
set rc_interpolation_channels = RP
set rc_interpolation_interval = 19
set rssi_ppm_invert = OFF
set input_filtering_mode = OFF
set roll_yaw_cam_mix_degrees = 0
set max_aux_channels = 6
set debug_mode = NONE
set min_throttle = 1070
set max_throttle = 2000
set min_command = 900
set digital_idle_percent =  3.000
set 3d_deadband_low = 1406
set 3d_deadband_high = 1514
set 3d_neutral = 1460
set 3d_deadband_throttle = 0
set use_unsynced_pwm = OFF
set motor_pwm_protocol = ONESHOT125
set motor_pwm_rate = 400
set disarm_kill_switch = OFF
set gyro_cal_on_first_arm = OFF
set auto_disarm_delay = 5
set small_angle = 25
set fixedwing_althold_dir = 1
set reboot_character = 82
set serial_update_rate_hz = 100
set gps_provider = UBLOX
set gps_sbas_mode = EGNOS
set gps_auto_config = ON
set gps_auto_baud = OFF
set gps_wp_radius = 200
set nav_controls_heading = ON
set nav_speed_min = 100
set nav_speed_max = 300
set nav_slew_rate = 30
set beeper_inversion = ON
set beeper_od = OFF
set serialrx_provider = SPEK1024
set sbus_inversion = ON
set spektrum_sat_bind = 0
set spektrum_sat_bind_autoreset = 1
set telemetry_switch = OFF
set telemetry_inversion = ON
set sport_halfduplex = ON
set frsky_default_lattitude =  0.000
set frsky_default_longitude =  0.000
set frsky_coordinates_format = 0
set frsky_unit = IMPERIAL
set frsky_vfas_precision = 0
set frsky_vfas_cell_voltage = OFF
set hott_alarm_sound_interval = 5
set pid_values_as_telemetry = OFF
set ibus_report_cell_voltage = OFF
set battery_capacity = 0
set vbat_scale = 110
set vbat_max_cell_voltage = 43
set vbat_min_cell_voltage = 33
set vbat_warning_cell_voltage = 35
set vbat_hysteresis = 1
set current_meter_scale = 400
set current_meter_offset = 0
set multiwii_current_meter_output = OFF
set current_meter_type = ADC
set battery_meter_type = ADC
set battery_notpresent_level = 55
set use_vbat_alerts = ON
set use_consumption_alerts = OFF
set consumption_warning_percentage = 10
set align_gyro = DEFAULT
set align_acc = DEFAULT
set align_mag = DEFAULT
set align_board_roll = 0
set align_board_pitch = 0
set align_board_yaw = 0
set gyro_lpf = OFF
set gyro_sync_denom = 8
set gyro_isr_update = OFF
set gyro_use_32khz = OFF
set gyro_lowpass_type = PT1
set gyro_lowpass = 90
set gyro_notch1_hz = 400
set gyro_notch1_cutoff = 300
set gyro_notch2_hz = 200
set gyro_notch2_cutoff = 100
set moron_threshold = 48
set imu_dcm_kp = 2500
set imu_dcm_ki = 0
set alt_hold_deadband = 40
set alt_hold_fast_change = ON
set deadband = 0
set yaw_deadband = 0
set throttle_correction_value = 0
set throttle_correction_angle = 800
set yaw_control_direction = 1
set yaw_motor_direction = 1
set servo_center_pulse = 1500
set tri_unarmed_servo = ON
set servo_lowpass_freq = 400
set servo_lowpass_enable = OFF
set servo_pwm_rate = 50
set gimbal_mode = NORMAL
set airmode_activate_throttle = 1350
set failsafe_delay = 10
set failsafe_off_delay = 10
set failsafe_throttle = 1000
set failsafe_kill_switch = OFF
set failsafe_throttle_low_delay = 100
set failsafe_procedure = DROP
set rx_min_usec = 885
set rx_max_usec = 2115
set acc_hardware = AUTO
set acc_lpf_hz = 10
set accxy_deadband = 40
set accz_deadband = 40
set acc_unarmedcal = ON
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 baro_hardware = AUTO
set mag_hardware = AUTO
set mag_declination = 2470
set pid_process_denom = 16
set blackbox_rate_num = 1
set blackbox_rate_denom = 16
set blackbox_device = SDCARD
set blackbox_on_motor_test = ON
set magzero_x = 0
set magzero_y = 0
set magzero_z = 0
set ledstrip_visual_beeper = OFF
set sdcard_dma = OFF
set displayport_msp_col_adjust = 0
set displayport_msp_row_adjust = 0
Reply
#5
Are you trying to do this without using your transmitter? I don't think it will "arm" without a Tx signal (I suspect the motor tab provides the "signal" when connected to betaflight) . Seems like it could work if you arm via switch on the Tx and just leave the throttle alone.
Reply
#6
(19-Jan-2017, 11:58 PM)sloscotty Wrote: Are you trying to do this without using your transmitter?  I don't think it will "arm" without a Tx signal  (I suspect the motor tab provides the "signal" when connected to betaflight) .  Seems like it could work if you arm via switch on the Tx and just leave the throttle alone.

@sloscotty thanks for the suggestion. Yes I'm trying to do this without a transmitter - literally just a board and a battery is the goal. I was wondering if there was a hardware hack (ie solder a across something) that would provide the arming signal?
Reply
#7
Maybe you could set the arming switch as always on in the modes tab? I haven't tested this myself, so I don't know if it will work
Reply
#8
(20-Jan-2017, 02:01 PM)oyvinla Wrote: Maybe you could set the arming switch as always on in the modes tab? I haven't tested this myself, so I don't know if it will work

This might work.  I just tested a Piko BLX and it shows Aux 4 is getting a signal with only USB plugged in (no Rx attached).  And it shows armed when I set the switch - but that's still with USB plugged in.  (I don't if any of the Aux channels would get a signal with only battery though - worth checking.)
Reply
#9
CLI  = 

set blackbox_mode = ALWAYS
save
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Star What are you flying now? Share your drones samysh 10 435 21-Jan-2024, 04:52 PM
Last Post: iFly4rotors
  My drone spins out of control but i can't see anything on the blackbox Smoses221 4 330 01-Mar-2023, 12:46 PM
Last Post: Smoses221
  First Build Complete and Flying! C17MooseLoad 6 511 08-Dec-2022, 01:23 PM
Last Post: iFly4rotors
  Blackbox Help tacomaty 3 365 07-Dec-2022, 01:36 PM
Last Post: Oscar
  Can you enable bidirectional dshot on any BlHeli32 ESC? Egg_FPV 1 1,858 01-Dec-2022, 07:28 AM
Last Post: kafie1980


Login to remove this ad | Register Here