<< return to Pixycam.com

uart command

I successed to get data from pixy to mega2560. This is very interesting sensor.
But when I’m using it with mega2560, I discovered that pixy’s mode is changed from default mode sometimes.
So I want to know how to command default mode by using mega2560 UART.
I sent ‘runprog 0’ that has been sent by PIXYMON, but it didn’t work correctly.

Hello Myeong,
Pixy will change modes only when USB is connected (ie when you’re using PixyMon). You’ll notice that Pixy automatically changes mode to “cooked” mode when you plug in USB with PixyMon running. If you wish to stay in default mode, you should change the Pixy start command to be blank:

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

(runprogArg 8 1 will put pixy in cooked mode. Making this blank will keep Pixy in default mode when running PixyMon)

Hope this helps!

Edward