<< return to Pixycam.com

How to improve the UART connection

Dear Pixy team

When I look at the code you proposed to interface ARduino and Pixy with a UART, it looks like the Arduino has to wait for a message from the PIXY. If I am correct it can be improved by using the interruption (connect the Tx to an INT on the Arduino).

I would like to try it but in this case, I need to know how the data are encoded in Hex format. Is it possible to know how you encoded the blocks (header of the message, data …)?

Thank you very much for the clarification and congratulation it is a nice device :slight_smile:

During the kickstarter campaign you mentioned that you were working on aface recognition program, what is the status?

Fabrice

Hi Fabrice,

You may find the Pixy communication protocol “here”:http://cmucam.org/projects/cmucam5/wiki/Pixy_Serial_Protocol#Object-block-format. All of the data (x pos, y pos, sig #, etc.) is encoded as 16-bit words.

I’ll get an update from those working on the face detection and get back to you.

Scott