== Desktop Preparation * On your notebook/desktop, install Bonjour Services from Apple. This allows your windows machine to 'just know' the hostname raspberrypi.local. See [https://support.apple.com/downloads/bonjour%2520for%2520windows Bonjour for Windows] * Install Jessie Lite to your sd card [https://www.raspberrypi.org/downloads/raspbian/ Raspbian Jessie OS] * [wiki:SetupPiZeroSSHOverUSB Setup SSH over USB for the Pi Zero] * [wiki:SetupPiZeroWiFi Setup SSH over USB for the Pi Zero] * Connect to Pi: {{{ ssh pi@raspberrypi.local }}} (password is raspberry) * Configure Pi * Setup DNS: {{{ sudo nano /etc/resolv.conf }}}. * add: nameserver 8.8.8.8 * add: nameserver 8.8.4.4 * 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 * Activate the option "Expand to use the entire memory card." This will reboot the system after you are done, then continue. * 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 }}} * Shutdown your pi with 'sudo halt', disconnect it and reconnect it again to reboot it fully. You may have to reassign Windows Network Sharing connections one more time since the MAC is now constant, but it should stick after that.