Skip to content

roidy/service.odroidn2.oled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odroid N2 OLED Driver

Odroid N2 Kodi service for controlling an i2c oled display. Untitled

Download:- Latest Release

NOTE: This addon is in no way connected to OpenVFD and does not require OpenVFD to work, if you already have a vfd.conf file that is setup for the N2 then please remove it.

Supported Displays

This addon supports 4 pin I2C 128x32 or 128x64 oled displays that use either the SSD1306 or SH1106 driver. This addon does NOT support SPI displays commonly identified by the display having 7 pins, although most SPI displays can be converted into I2C, this requires board level soldering and is beyond the scope of this documentation.

Common displays that have been tested with this addon.

  • 1.3" 128x64 SH1106 Oled
  • 0.96" 128x64 SSD1306 Oled
  • 0.91" 128x32 SSD1306 Oled

DSC_0048

Connecting a I2C Display

WARNING!! Incorrectly wiring anything to the GPIO of your Odroid N2 may cause permanent damage to your device. Please double/triple check your wiring before powering on your N2.

The 4 pin I2C oled display should be connected to pins 1,3,5 and 6 of the Odroid N2's GPIO. Pin 1 is closest to the N2's audio jack.

The pinout of the oled may vary so be careful to wire the correct pins from the N2 to the correct pins of your particular display.

N2 Pin N2 Pin Name OLED Pin
1 3.3V Power VCC/VDD
3 I2C_EE_M2_SDA SDA
5 I2C_EE_M2_SCL SCL
6 Ground GND

figure-17

Connecting a SPI Display

This information is accurate for the 2.42" displays as show in the picture, other SPI displays may work but are not guarenteed to.

N2 Pin N2 Pin Name OLED Pin
1 3.3V Power VCC
6 Ground GND
16 GPIOX_0 RES
18 GPIOX_1 DC
19 SPI_A_MOSI SDA
23 SPI_A_SCLK SCL
39 Ground CS

The Oled CS pin can be tied to any free ground pin on the Odroid N2 (9,14,20,25,30,34 or 39)

gfx

NOTE: SPI is disabled by default on the Odroid N2 and must be activated by issuing the following command from a SSH session

mount -o remount,rw /flash
fdtput -t s /flash/dtb.img /soc/cbus@ffd00000/spi@13000/spidev@0 status "okay"
fdtput -t s /flash/dtb.img /soc/cbus@ffd00000/spi@13000 status "okay"
reboot

Configuration

If your oled shows nothing or corrupted content then the addon may be configured to the wrong display size or driver or I2C address, simply open the addons settings page and select the correct display size and driver combination and the correct I2C address.

Disclaimer

The author of this addon and the following documentation accepts no responsibility for damage caused by the use of this software package/addon and it's documentation.

About

Odroid N2 Kodi service for controlling an i2c oled display.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages