<< return to Pixycam.com

Pixymon on RPi

Maybe its not the first post, but I am curious to know if the pixymon can be build and run on RPi to control a pixy?

Thanks,
Akshat

Hello Akshat,
Pixymon runs on Raspberry Pi. It’s kind of slow because it seems that the Raspberry Pi doesn’t have a very powerful 2d graphics engine. Just set up the environment as described here:
http://cmucam.org/projects/cmucam5/wiki/Hooking_up_Pixy_to_a_Raspberry_Pi

and then run the build_pixymon script in the scripts directory.

Hope this helps!

Hi Ed,

Thanks for the info…

Ok, this shows running the example programs directy, but the original post was about PixyMon. I have gotten it to work, briefly. What happens is as soon as I plug pixy in via USB, an image is shown on PixyMon for a few seconds, then the entire RPi freezes. I have to power down. It’s not the hardware, the Pixy works with PixyMon on MacOS and I can run the Hello World via the Arduino IDE on the RPi, with no problem. It’s just PixyMon.

WOuld appreciate any ideas…
Thx
Joe

Hi Joe,
Running PixyMon the the Raspberry Pi tends to be pretty sketchy. The CPU tends to be pegged at 100%. Cooked mode is especially stressful for the Raspberry Pi. Cooked mode does alpha blending and text rendering and scaling at around 25 frames/sec. Normally, this isn’t an issue, but the Raspberry Pi doesn’t have decent 2D rendering acceleration it seems. PixyMon comes up in Cooked mode, which doesn’t help things

Have you tried running the libpixyusb examples on your Raspberry Pi?

As an experiment, you might try editing the config.xml file in your Documents/pixymon directory:


 
 
 
 
 

Remove the runprogArg 8 1 text:


 
 
 
 
 

Hope this helps!

Edward

Hi Joe,
Running PixyMon the the Raspberry Pi tends to be pretty sketchy. The CPU tends to be pegged at 100%. Cooked mode is especially stressful for the Raspberry Pi. Cooked mode does alpha blending and text rendering and scaling at around 25 frames/sec. Normally, this isn’t an issue, but the Raspberry Pi doesn’t have decent 2D rendering acceleration it seems. PixyMon comes up in Cooked mode, which doesn’t help things

Have you tried running the libpixyusb examples on your Raspberry Pi?

As an experiment, you might try editing the config.xml file in your Documents/pixymon directory:


 
 
 
 
 

Remove the runprogArg 8 1 text:


 
 
 
 
 

Hope this helps!

Edward

Hi Joe,

Which version of RPi are you using?

The version 2 has best specs as it has a quad core CPU…
I have RPi ver 2 with me… I am planing to run PixyMon on it.

Thanks,
Akshat

Sorry for the delay in reply…
Akshat, I definitely have a RPi 2.
Edward, I took that out to no avail. Same issue: it works for a second or so, then freezes the Raspberry Pi solid. The PixyMon Screen video freezes. It sometimes works when I boot it from the terminal, but freezes if I put PixyMon in the background.
I have to go two floors up to my Mac Mini to use PixyMon. :frowning:
Thanks for the ideas

Hello Joseph,
You might try the beta-ish accelerated X server for Raspberry Pi:

https://www.raspberrypi.org/forums/viewtopic.php?p=467617#p467617

Edward