<< return to Pixycam.com

Pixy2 Query Address I2C Number of Objects

Good day
I have looked all around and i cant find the query address for the pixy2 i2c i only found the ones for the old pixy. It looks like they work on the pixy2 but there is one question. When reading all the signatures at the same time (0x50) is it possible to get the number of all the objects on the screen, because when a single signature is selected (0x51 -> 0x57) its possible.
Thanks

Hello,
I’m not understanding “When reading all the signatures at the same time (0x50) is it possible to get the number of all the objects on the screen, because when a single signature is selected (0x51 -> 0x57) its possible.”

The default address for I2C is 0x54 (one address) but it’s configurable through the Interface tab:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixymon_index#interface-tab

there is more information about i2c here:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide#i2c

Edward

Hello Edward
It is true that the default I2C address is 0x54 but the address that I’m looking for is the register addresses, so i can access the information on the pixy2 trough registers.
Thanks

Hello,
The serial protocol for Pixy is the same for SPI, UART and I2C. I2C does not use the register scheme that is common for I2C.

Edward