<< return to Pixycam.com

Pixy on Arduino I2C, how to configure color detection programatically ?.

The example code works fine under Arduino.
And using the pixy software i can configure it so that if you press the white button on the pixy it learns a color to detect.

This is all very nice, but i am thinking of building the pixy inside a closed waterproof frame
For under water usage, and then i dont have access to the color set button.

So then how can i configure it to detect a colorcode “color” blob with a minimum size “X” using the Arduino’s - ‘void setup’ stage ?

Hello PGT,
I hope it’s waterproof!

The Arduino (serial) protocol doesn’t currently support this. Have you considered using USB and libpixyusb? The USB protocol is more extensive and supports setting signatures, etc. This is what PixyMon uses.

Edward