<< return to Pixycam.com

using pixy via motorola hc12

Hello!

Does anyone use the Motorola HC12 processor I2C protocol with PIXY?

I tried to do it with I2C of Arduino- it’s works perfect, but I2C protocol HC12-does’t respond (interface-port data—2 or 1== both does’t respond)

Thank you!

Irene

Hello Irene,
Do you get any information out of Pixy? You should be able to do single-byte reads to Pixy via i2c and get data. Make sure you are talking to device at address 0x54 (the default i2c address).

Hope this helps!

Edward

Hello Edward,

Thanks for responding,

I used the default address 0x54,tried to change it to another address via pixymon; in any case have not received any response out of PIXY,
After that I tried the analog ( X and Y), I got a response, but it is not enough for the project- I need to use at least three PIXY’s, in other words it’s must to be …

Some suggestions?

Regards,
Irene

Hello Irene,
These are some of challenges of interfacing to a new platform. You should verify your I2C interface by looking at the clock and data signals with an oscilloscope and no Pixy connected to the I2C port. You should see a clock being sourced on the clock signal and valid data on the data signal. (that would be what I’d do next) It may require that you uses a 2.2K pullup resistor on these signals for it to work, or you may need to fix the configuration of the I2C port on your platform.

Hope this helps!

Edward

Hello Edward,

It’s not the first time I use motorola I2C protocol, we made the special interface for I2C devices with pillup resistors and 4 pins- for other project I2C was used for compass cmps03 and cmps09 sensors, also for US sensors, all those sensors worked perfect… I tried to work with pixy at the same way as cmps09 work and can’t see any data from it. May be data out port must to be different from the arduino port?

Thank you,

Irene

Hello Irene,
I’m sorry, but I’m not understanding your question. We’ve had many users successfully interface Pixy to their I2C devices. There’s nothing special about Pixy’s I2C port that we know of.

You should also make sure that you are running in “default” mode, if you are running PixyMon while trying to read data from Pixy. If you are in “cooked” mode, Pixy will not output any data.

Have you looked at the I2C signals (clock and data) coming out of your platform without Pixy attached using an oscilloscope?

Edward