Im currently tracing the bitstream send from my photon to a connected 16x6 LED-Matrix. Im using a logic port to do so.
Does anyone know how many bits are send with the function
after this bitstream for the first three LEDs there are a lot of zeros added automatically.
My question now is, how many of these zeroes are added? There are usually packets of 512 channels, is this the same here?
@ScruffR Thanks! Can you think of a way to see the full bitstream? Unfortunately the buffer of my logic port is not big enough. Of course I can reduce the sample rate but that brings inaccuracy with it.
Yes I mean logic analyzer, logic port is just the devices name sry.
Im trying the find out how many led I can connect to my photon without a power limitation. And after that I want to find out how many led I can connect without falling under 25 fps at a given power input. I was hoping the see the whole bitstream and than simply count it but the devices buffer is not big enough to see the whole thing.
For that you wouldn't need to know about the bitstream.
You can recon with 60mA per Neopixel full white brighness, so you cannot drive a single pixel off of a GPIO but need to supply 5V from an external source.
However for the control signal you won't need to worry about the number of pixels as you only need to supply that signal to the first (and maybe second) pixel which will virtually draw no current. All subsequent pixels will draw from their individual predecessor.
Again, there is no connection between frame rate and power consumption. The only thing you need to consider is the time you need for the data train of a single pixel and multiply that by the number of pixels you want to control.
You'd usually update all pixels in one go.
That sounds interesting!
My approach was to find out how long the complete bitstream is and divide it with the delay time between two following led.
So for example I found out that my total bitstream of setPixelColour(0,8,0,0,0) (im using a RGBW-Matrix with ICs) is about 29.95 ms long from first to last bit. The time that the stream takes from one to another led is about 38 µs. So I thought that the total number of led i can use is 29.95ms / 38 µs what is about 788.
How do you think about that?