Installing PixyMon on Linux

PDF24    Send article as PDF   

1. Introduction

The following procedure will walk you through building PixyMon for Linux. This procedure assumes the following:

  • Your system has Linux (Mint-17) installed
  • Pixy firmware has been updated to 1.0.2
  • Your system is connected to the internet

The Mint-17 distribution of Linux can be downloaded here: http://www.linuxmint.com

Instructions for updating the Pixy firmware are here: Uploading New Firmware

Although this procedure uses Linux Mint-17, it should work with any Linux distribution that uses the Debian package manager (e.g. Ubuntu).

2. Procedure

2.1. Install dependencies for building PixyMon

Start the terminal application:

Linux Mint Desktop

2.1.1. Install git

In the terminal window type:

sudo apt-get install git

2.1.2. Install libusb-1.0-0-dev

In the terminal window type:

sudo apt-get install libusb-1.0-0-dev

2.1.3. Install QT

In the terminal window type:

sudo apt-get install qt4-dev-tools

sudo apt-get install qt4-qmake

sudo apt-get install qt4-default

2.1.4. Install g++ (compiler)

In the terminal window type:

sudo apt-get install g++

g++ Install

2.2. Building PixyMon

2.2.1. Download Pixy source code

In the terminal window type:

git clone https://github.com/charmedlabs/pixy.git GIT Clone Pixy

2.2.2. Run the build script

Change directory to the pixy build tools folder and run the build script.

In the terminal window type:

cd pixy/scripts ./build_pixymon_src.sh

2.2.3. Add permissions for Pixy USB interface

In order to communicate with Pixy over USB as a non-root user you must set permissions for Pixy.

To do this copy the ‘pixy.rules’ file to ‘/etc/udev/rules.d’

In the terminal window type:

cd ../src/host/linux/ sudo cp pixy.rules /etc/udev/rules.d/

coyp pixy rules

2.3. Running PixyMon

2.3.1. Connect Pixy to your Linux system using a USB Mini cable

PixyCAM USB

2.3.2. Change directory to the PixyMon build folder

In the terminal window type:

cd ../../../build/pixymon/bin/

2.3.3. Run PixyMon

In the terminal window type:

./PixyMon

Run PixyMon Linux

What’s next? Let’s teach Pixy an object!

Previous Post

'Metal Minds Robotics' FLL Team are Winners & Grinners !

Thank you to the 'Metal Minds Robotics' team for a great FIRST LEGO League (FLL) Competition at the Tasmanian State Championships on Saturday 19 October 2016, held in Hobart. I ... Read more

Next Post

Updating the PixyCAM's Firmware

When it comes to upgrading your PixyCAM to the latest Firmware is idiot proof. The PixyCam uses a ROM-based algorithm to upload new firmware into flash memory over USB, which makes ... Read more

Short URL: http://tinyurl.com/hg4xzjt

Leave a Reply

Your email address will not be published. Required fields are marked *



Do NOT follow this link or you will be banned from the site!
error: Content is protected !!