A simple Kodi / LibreELEC box / case / mount for your Odroid C2 or Raspberry Pi.
- Has rubber feet to stop HDMI cable from moving unit around (also hides M3 screws). - I have uploaded both 16x2 and 20x4 versions (depending on how large your screen size is). - Odroid version has a hole to pass through IR.
SketchUp source files are included.
LCD to LCD Mount = M3 x 14mm Base to LCD Mount = M3 x 12mm (or M3 x 10mm without feet).
Not required, but if you want to get fancy: Use the spare M3 holes (Odroid C2 version) to attach a 3D printed logo / letter / etc. Print the IR pot in transparent filament (the IR beam will pass through just fine). You can cover up the LCD back area with some foil tape (kills the light bleed). Use 12mm x 12mm rubber feet on the bottom to cover the M3 holes.
To enable I2C on Pi (skip this for Odroid) - enable SSH then:
mount -o remount,rw /flash nano /flash/config.txt
Add to the end of the file: dtparam=i2c_arm=on,spi=on dtparam=act_led_trigger=none dtparam=act_led_activelow=off dtparam=pwr_led_trigger=none dtparam=pwr_led_activelow=off
For both Odroid and Pi:
Install XMBC LCDproc and LCDproc under services. Add-ons > Download > Install from repository > Kodi Add-on repository > Services > XBMC LCDproc Add-ons > Download > Install from repository > LibreELEC Add-ons > Services > LCDproc
nano ~/.kodi/userdata/addon_data/service.lcdd/LCDd.conf (if this file doesn't exist, simply configure the hd44780 driver via the Kodi GUI (LCDproc) and it will automatically be created.
Make the following changes: Driver=hd44780 [hd44780] ConnectionType=i2c Port=0x27 Device=/dev/i2c-1 i2c_line_RS=0x01 i2c_line_RW=0x02 i2c_line_EN=0x04 i2c_line_BL=0x08 i2c_line_D4=0x10 i2c_line_D5=0x20 i2c_line_D6=0x40 i2c_line_D7=0x80 Size=16x2 (or leave as 20x4)