<< return to Pixycam.com

Pixy UART

Hello,

I have a question about Pixy’s UART communication.

The data format given on the Kickstarter page (under “Communication”)is:

Bytes 16-bit words Description

0, 1 0 sync (0xaa55)
2, 3 1 checksum (sum of all 16-bit words 2-6)
4, 5 2 signature number
6, 7 3 x center of object
8, 9 4 y center of object
10, 11 5 width of object
12, 13 6 height of objec

and the pixy data I received via UART is show as padding file

I didn’t find any start word “0xaa55”

Please help me…

Besides, I tried talk to pixy via arduino, but arduino can’t get any block.

The return value of " pixy.getBlocks();" is always zero!!

What happened to my pixy??

The pixy firmware version is 2.0.8

The arduino library version is 0.1.7

Hello Jamie,
Sorry for the problems. Please go through the debugging guide:

http://cmucam.org/projects/cmucam5/wiki/My_Arduino_isn’t_receiving_data_from_Pixy

Edward

It’s worked!

Thank you Edward~

Jamie