Discovered that when pixymon (linux) is connected, no frames are returned via i2c.
hope this information saves some else some time.
Discovered that when pixymon (linux) is connected, no frames are returned via i2c.
hope this information saves some else some time.
Hi Robert,
Are you saying no block data is sent over I2C when Pixy is trained via Pixymon on Linux? Have you tried your camera with a different OS? Does Pixymon show you that blocks are being detected?
Scott
I have not tested with another os, but do confirm this happens when using Ubuntu. Pixy does not communicate over the Arduino Cable (Is there a more technical term for it?) when it is also connected to the computer. Pixy will, however power the Arduino using the Arduino Cable when plugged into the computer.
To give a little more detail, I trained pixy using pixymon on linux. The next day I was reading blocks over i2c and decided it would be cool to see it on pixymon at the same time. So I plugged the usb in and fired up pixymon, pixymon showed the image and the recognised colour blocks, but the i2c blocks stopped. When I unplugged the usb, the blocks started flowing again over i2c
When running PixyMon, if you go into “raw” or “cooked” or any other program mode besides the “default program”, the I2C, SPI and UART streaming will stop. If you unplug the cable, Pixy will then go back into the default program (which streams the block data).
It sounds like you were using “cooked” mode in PixyMon. Keep Pixy running the default program and it will not stop streaming data.