Pioreactor / hardware

Other
1 stars 0 forks source link

HAT hardware setup

Installation

  1. Install git: sudo apt-get install git -y
  2. git clone this repo to your Raspberry Pi: git clone --recurse-submodules https://github.com/Pioreactor/hardware.git && cd hardware
  3. Install eeprom utils: cd hats/eepromutils && make && sudo make install && cd ..
  4. Move some files over: mv ../eeprom/write_eeprom.py eepromutils/ && mv ../eeprom/pioreactor_eeprom_settings.txt.template eepromutils/

Setting up a new HAT

  1. Attach the HAT to the RPi.
  2. Run sudo bash setup_HAT.py
  3. Record the serial number/UUID
  4. After a sudo reboot, try pio version -v to confirm that HATs version.