wiki:PiBotOsInstallation

Version 30 (modified by chris, 9 years ago) (diff)

--

Configure Pi Zero OS (Jessie Lite)

  • Setup SSH over USB for the Pi Zero
  • SSH to Pi: ssh pi@raspberrypi.local (password is raspberry)
  • Configure Pi
    • Setup DNS sudo nano /etc/resolv.conf , adding the following lines:
        nameserver 8.8.8.8   
        nameserver 8.8.4.4 
      
    • Configure Pi Zero 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 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 Pi4J