The i2c interface I will be using to communicate with pixy uses a register based i2c implementation. To my knowledge there is no way to read data from the camera without a valid register number. My question is, is there a way to communicate and retrieve data from the pixy when it does not have registers like a standard i2c device.
Hello David,
Pixy sends serial data through its serial interface. It doesn’t use registers, which some I2C implementations use. You simply read I2C data from Pixy’s I2C address.
What device are you trying to interface to Pixy? Does it have a simple I2C read(address, buffer, bytes)?
Edward
We are using the modern robotics core device interface module. We are an FTC team and we would like to use the camera in competition this year. I double checked the documentation and our interface only supports the register reads. I was also reviewing the pixy documentation, would it be possible to put the camera into NXT mode and then access it like an i2c device with registers since the nxt interface is also i2c but with register addresses to communicate.
Hello David,
This seems like a good idea Here is the protocol/registers that are used:
http://cmucam.org/documents/36
Hope this helps!
Edward