Skip to content

Inconsistent Grab Rates #120

@dmadison

Description

@dmadison

Over the past month or so I've been dissecting my custom Adalight setup to try and improve the framerate, and the latest step in that effort was to measure the effect of grab interval on the framerate at various baud rates. And it appears as though the grab interval setting in Prismatik isn't functioning properly.

Here is a graph of the framerate measurements for my 80 LED setup:
grabrates

The purple line is the ideal framerate produced by a given grab rate. Instead of following the curve, the framerate appears to stay constant and then make several large 'jumps'. In this data there are three clear ones:

  1. 48 to 47
  2. 32 to 31
  3. 20 to 19

The framerate numbers are from measuring the output of the Arduino using a Logic Analyzer. Full details on the methodology here.

I haven't done any tests at other LED counts, larger grab intervals, and I don't know if it's specific to the Adalight implementation - so take this with a grain of salt. But this seems like a rather significant bug.

Do you have any idea what might be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions