== Baseline Minibot Raspbian Image Build Instructions (based on stock [https://www.raspberrypi.org/downloads/raspbian/ Raspian Jessie Light] image, not that some of the below install steps may already be in the stock image, so don't worry about it if they're already installed) * SSH to Pi: {{{ ssh pi@raspberrypi.local }}} (password is raspberry) * [wiki:SetupPiZeroSSHOverUSB Setup SSH over USB for the Pi Zero] * Setup DNS {{{ sudo nano /etc/resolv.conf }}} , adding the following lines: {{{ nameserver 8.8.8.8 nameserver 8.8.4.4 }}} * Update to latest software (this will take a while): {{{ sudo apt-get update sudo apt-get upgrade }}} * Install Oracle Java JDK: {{{ sudo apt-get install oracle-java8-jdk }}}. Do not use OpenJDK, its slower. * Install git: {{{ sudo apt-get install git }}} * Install [http://wiringpi.com/ wiringPi]: {{{ mkdir ~/dev;cd ~/dev git clone git://git.drogon.net/wiringPi cd wiringPi ./build }}} Then, test by running "gpio -v" and "man gpio" * Install [http://pi4j.com/ Pi4J] * See: http://www.savagehomeautomation.com/projects/pi4j-connecting-java-to-the-raspberry-pi.html * [https://www.youtube.com/watch?v=grItDpy3TRM video tutorial] * Easy way, type: {{{ cd ~/dev curl -s get.pi4j.com | sudo bash }}} * Install [https://en.wikipedia.org/wiki/Avahi_(software) Avahi] (mDNS/zeroconf) {{{ sudo apt-get install avahi-server }}} * Update Raspian Configuration {{{ sudo raspi-config }}} * Activate the Pi Zero's built-in I2C Interface: * Use the down arrow to select 'Advanced Options' * Arrow down and select 'I2C' * Select 'Yes' to enable the I2C Interface * Acknowledge the notification confirming the I2C Interface has been enabled * [wiki:SetupPiZeroWiFi Setup WiFi for a Pi Zero] === Per Minibot configinstructions (with baseline image above installed) * Update Raspian Configuration {{{ sudo raspi-config }}} * Customize host name. Reference hostname list for assigned names. Be sure not to duplicate! * Select 'expand to use entire sd card'. This will reboot the pi. === Other Sundry Things * [wiki:HowToRunProgramAtStartupPiZero How to run a program at startup on the Pi Zero]