<< return to Pixycam.com

Pixy: Read out single pixel...

Hello everyone,
I think this question was already asked, but I am currently not able to find it in the forum.

Is it possible to read out the brightness (or maybe also color) of a single pixel of the pixy via UART or any other interface? That would be really nice and I actually don’t think this would be much work to implement (I’d like to do but I don’t have the time to go through the whole pixy firmware and understand it… Reading out single pixel values would solve many problems (like following black lines or finding black areas) because there are only a few pixels nessesary and the processing could happen on an Arduino or whatever co-controller you want to use…

What do you think?

Greetings
Jan

Hi Jan,
Currently there is no way to read raw pixels through the serial interfaces (UART, SPI, I2C) One problem with this is that it could be pretty slow to send raw frames through these interfaces. You can do this through USB however.

thanks!

Hi,

well, I don’t think it would be always nessesary to send whole frames through these interfaces. I think the most users would be fine with 10 pixels.

Another idea (it is more a workaround) would be to let the users set filters on PixyMon to the Pixy. So if I want to detect black objects on white ground, the Pixy only would have to inverse the picture (make white to black and black to white) and e.g. filter all green and red pixels to only have blue pixels - the black objects would seem to be a very nice blue while the rest of the picture is black. Now the tracking Algorithm of the Pixy would be able to track black objects.

I’d really like to modify the Pixy firmware, but did I understand right that I therefore need the Keil IDE?

Greetings
Jan

Hello Jan,

I’ll forward your suggestion to the team. We’re working on the Firmware SDK that uses GCC (which is free) and hope to have it released in the March timeframe.

Thank you!