Home Forums Everything about everything else Blackbox plot issue

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39774
    wynnsquad
    Participant

    Hello,

    Just got my blackbox logger and took my first few logs. Everything seems OK except that I don’t get nice lines showing the values of my copter over time. Instead I just get a bunch of little colored boxes.

    Has anyone encountered this before or know what the problem might be? Its as if the sample rate is really really low and the dots are too far apart to be connected.

    See a snapshot below.

    Thank you!

    Attachments:
    #39776
    lauka
    Participant

    You need to lower the logging rate in the configurator. Currently it’s logging too fast for your logger or sd card.

    #39780
    biggestRCEfan
    Participant

    Repeat post: previous doesn’t show:

    Wynn, The parameters I have set up in betaflight related to this are:

    # get black
    blackbox_rate_num = 1
    Allowed range: 1 – 32

    blackbox_rate_denom = 1
    Allowed range: 1 – 32

    blackbox_device = SERIAL
    Allowed values: SERIAL, SPIFLASH, SDCARD

    blackbox_on_motor_test = OFF
    Allowed values: OFF, ON

    I should increase _denom to 2 (I think) as I have a similar issue but not as bad. The result as I understand it will be that the sample rate is multiplied by blackbox_rate_num/blackbox_rate_denom, which will be half the sample/log rate. On the bottom status line of the enclosed image it shows Sample rate = 1/1, After this change it should show 1/2.

    My blackbox config file is:

    250000,26,3,0,1,1,0
    baud,escape,esc#,mode,verb,echo,ignoreRX

    #39786
    wynnsquad
    Participant

    Thank you lauka and RCEfan,

    I’ll fiddle with my logging rate to see if I can get it right.

    I also found Here that I might be using an SD card that’s known to be unreliable so that could be contributing too. I’ll report back on my findings.

    #39789
    biggestRCEfan
    Participant

    Yes Wynn, sorry I forgot that I did a similar research and found the enclosed SD card to be good for the logging application. The 1/2 sampling is working for me, removing those data drops.

    #39796
    wynnsquad
    Participant

    RCEfan,

    Nice! Mine is working now too. First I tried just switching my SD card to a much higher quality one (similar to the one you posted above) but I didn’t get a noticeably better result. Then I cut my sample rate to 1/2. Now it started looking like the snap of your log from a few posts ago. Finally I set my baud rate to 250000 and it appears to be working as expected.

    Thanks again for the help!

    Attachments:
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Everything about everything else’ is closed to new topics and replies.