<< return to Pixycam.com

Max Sample rate

Documentation says the Pixy can process 50 frames per second. So, it would make since that you wouldn’t want to get-blocks more than once per 20ms but I think that should be added to the documentation because it makes a big difference if someone misses that and tries to sample more often. In practice, I have found that 21ms works a little better.

Hello Ted,
Thank you for the suggestion! What kind of interface are you using (spi, UART, i2c?) Also, in your findings how is 21ms better?

Edward

Edward Getz wrote:

Hello Ted,
Thank you for the suggestion! What kind of interface are you using (spi, UART, i2c?) Also, in your findings how is 21ms better?

Edward

I am using the SPI cable with an Arduino. I get about 99% of the time blocks returned with 20ms but 100% with 21%. For my application (obstacle detection for a robot) 100% is worth the 1ms so my bot doesn’t change modes.