<< return to Pixycam.com

hello_world not detecting colour code objects

hi there!

i was wondering if there’s a need to change anything in the arduino example “hello_world” to output the information of a colour code block to the arduino? as it is i know how to configure to get the pixymon to show the colour code object (just 3 pieces of paper stuck together on a board to form R G B.) and get the pan tilt program to track that object well. For some reason i’m not able to get the object to to be serial printed by the arduino and from further analysis it seems like pixy.getblock is not sending the colour code object’s data to the arduino even though pixymon is showing that it has been identified as a block.

any help?

Hello Nan,
Please make sure you are using the latest firmware (2.0.8) and the latest Arduino libarary (0.1.7)

http://cmucam.org/projects/cmucam5/wiki/Latest_release

If you are still having trouble, please post the output of the hello_world program so we can look.

Edward

Hello Edward,

Thanks for your reply! The funny thing is its definjrely not the pixys firmware because I hooked it up to a mac and it was outputting the cc block data just fine. The arduino library on the windows is the 0.1.7 version as well and arduino is running 1.6.1 so im not sure whats going on. The serial output just says starting… and then cant output the cc block even though the block is being identified on the pixymon

Hi Edward!

I managed to get it working by uninstalling everything and reinstalling. Not sure why this worked but it did despite everything being the same version. Thanks anyway!

Nat