Skip to content

Configuring PI hat

milanjelisavcic edited this page Aug 23, 2016 · 2 revisions

To get the Pi to recognize the Hat, run rpi-update to update the firmware.

To get the Hat ID working:

  • Run rpi-update
  • Add dtparam=i2c_vc=on in config.txt to enable /dev/i2c-0 (the Hat ID I2C port)
  • Reboot and check if there are entries in /proc/device-tree/hat/

Hat ID programming:

  • The tools (https://github.com/raspberrypi/hats.git) are in ~/hat
  • The go script (~/hats/eepromutils/go) reads the eeprom_settings_robohat1.txt file and writes to the EEPROM. It does all steps in the documentation in 1 step.
  • After programming, the solder jumper J14 (below the RGB LED connector) may be de-soldered to disable writing to the EEPROM.

If you pick up the bot & boards, you can take the new serial cable with its adapter PCB. It works much easier than the one with flying pins.

_________________
/ Premature      \
| optimization   |
| is the root of |
| all evil.      |
|                |
\ -- D.E. Knuth  /
-----------------
    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||
Clone this wiki locally