The display for the Master is rendered using python and gtk2. First it is important to update Apt:
sudo apt-get update && sudo apt-get upgrade
Then install python and the GTK libraries:
sudo apt-get install python python-gtk2
-
Connect RPi to wired ethernet.
-
Download 2013-05-25-wheezy-raspbian.img.
-
Unzip the image:
unzip 2013-05-25-wheezy-raspbian.zip
-
Unmount all partitions of the SD card:
sudo umount /dev/mmcblk0p*
-
From the directory of the image file (this will take a while):
dd bs=4M if=2013-05-25-wheezy-raspbian.img of=/dev/mmcblk0
-
The first time the device is booted, it will prompt to set configurations or run this command:
raspi-config
-
When in the configuration editor, the following are ideal settings:
Keyboard layout? --> English US Overclocking? --> High SSH? --> Enable Desktop on Boot? --> Disable Memory Split --> 256MB
To install a fresh system, simply execute INSTALL.sh from the BOSS/ directory:
sh INSTALL.sh
-
Copy the newest version of Controller.ino and Makefile in /home/pi.
scp Controller.ino Makefile pi@green:/home/pi
-
Change to the build directory (assuming files are in /home/pi) then clean it:
cd /home/pi make clean
-
Compile the code:
make
-
Upload the compiled code:
make upload
-
Copy the newest version of Worker.py in /home/pi
scp Worker.py pi@green:/home/pi