No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

#Raspberry Pi I2C LCD Library


  • Wire rPi/LCD/button as needed (I2C0, I2C1...)
  • Clone into /root/rpi-lcd, cd /root/rpi-lcd
  • Test I2C connectivity: i2cdetect -y 1
    • Table should dump with attached devices
  • python

##Instructions for setting up a I2C LCD on an rPi inside Zim

The rPi scripts must be installed at /root/rpi-lcd/ because I haven't found a nice way to detect execution directory during startup bash scripts.

In rPi console:

  • clone
    • sudo su -
    • cd
    • git clone
  • Install:
    • cd /root/rpi-lcd
    • ./install
  • Optional: Manual Install:
    • cp /root/rpi-lcd/init.d/ /etc/init.d/
    • update-rc.d defaults
    • cp /root/rpi-lcd/init.d/ /etc/init.d/
    • update-rc.d defaults
    • cp /root/rpi-lcd/init.d/ /etc/init.d/
    • update-rc.d defaults

##Power Button

The power button (/init.d/ is designed to accommodate a momentary SPST on the far right GPIO pins. For the rPi B r2 this is GPIO7 - if you need this to be a different pin, edit this file before copying to /etc/init.d/ and installing with update-rc.d.

##Extra Octoprint Config

The .octoprint/config.yaml file has a few custom buttons that I found handy for toggling lights. Add this to the end of your /home/pi/.octoprint/config.yaml file if you want to use it!