If you are on a Raspberry Pi, follow these setup instructions 

 

Step 1. Download the udev rules file from here (right click and save the file), and copy it to the rules directory on your Linux box (this is a one time step).
sudo cp 50-ioio.rules /etc/udev/rules.d
Then restart udev
sudo /etc/init.d/udev restart 
Step 2. Plug PIXEL into a free USB port on your Linux box and check if it’s recognized using this command.
ls /dev/IOIO*

You should get back either IOIO0 or IOIO1. Note if this doesn’t work, you may also try:

ls /dev/ttyACM0

 

Step 3. Install a Java Runtime Engine, OpenJDK 7 has been tested, most likely other will work but have not been tested. Note the PIXEL PC GUI app does require JRE 7 or higher.

sudo apt-get install openjdk-7-jre
Step 4. Run the respective PIXEL app from either the command line or X Windows (startx). PIXEL Console can be run from a remote SSH shell and does not require an X Windows session.
java -Dioio.SerialPorts=IOIOX -jar app-name.jar  where x is the port # from step 2
Ex. java -Dioio.SerialPorts=ttyACM0 -jar pixelc.jar --gif=your_animation.gif

 

^ Back to Top