Odroid N2 OLED I2C / SPI driver

Could you also post your Kodi log so I can see what the error is that appears in your video. Thanks.

Matrix do have a SPI setting in CE settings/hardware/dtb

Manually changing the value will be reset to the setting in CE settings.

Matrix CE settings features:

I gave it and it doesnā€™t work, through putty

I turned it on too, and it didnā€™t help

https://paste.kodi.tv/ezuwibaluy.kodi

Ok, thereā€™s a new Matrix version on the github release page v0.1.109

Please give it a try.

1 Like

thank you very much
it works

1 Like

Great, thanks for confirming it works :+1:

My display is on its way - I have ordered the same as you have.
Now i dont know how to make SPI connection. On the board there is only I2C written on.
So which pin goes to witch pin to the Odroid?
And resistors for SPI-Mode: as written on PC you only need R4 (0 ohm?) and R3, R5 has to be removed.
What about R7?
Would be nice if somebody could help me (and maybe others) with that information.

here https://github.com/roidy/service.odroidn2.oled

1 Like

If you ordered the same display it should come with the resistors already setup for SPI mode and the wiring instructions are on my github page.

1 Like

Any plans to support bigger displays like the hd44780-2004?
I know this is supported in openvfd but i like the extra info you provide in your driver.
thanks

No plans to support any character displays such as the hd44780. If you want a bigger display then look at the 2.42" SSD1309 SPI oleds

you are right.
wiring was really easy - just setting cables to right pins, and yay it works fine!
thank you very much for your efforts!

I am using v0.1.109- Matrix
one thing is not as i expected:
if watching live TV the display shows buffer/timeshift data, not EPG data. so display not really usefull with live TV. As buffer is 2-4 seconds when timeshift is not used and progress bar jumps to 3/4 or 4/4 position and stays there.
Can you have a look what to change to use different information used for displaying progress of broadcast instead of buffer?

edit: you read the player of Kodi:

xbmc.Player().getTime()
and
xbmc.Player().getTotalTime()

edit2:
i have an idea, maybe we can use this informationā€¦i can test later today:
xbmc.getInfoLabel("PVR.EpgEventElapsedTime")
xbmc.getInfoLabel("PVR.EpgEventDuration")

its from:


and

edit3:
i got it working!
LiveTV and LiveTV Recordings are working fine now :smiley:
as i dont know how to share code on github - here is my changed service.py

service.py (11.2 KB)

Thanks, if you create a pull request Iā€™ll merge the changes.

I made my first PR. :smiley:

1 Like

Thanks :+1:

Great work, I like this addon.
I have a Ssd1306 based 0.91, working well.
Would it be possible to get it to turn off, or show something else than the clock, when my N2 is in suspend mode?

I made a fork (Kodi Matrix only) where this is possible:

Hope this is OK for @roidy - if you like my changes you can merge them (PR is done)

Hello, roidy! Please tell me how to change the i2c number in your code for khadas vim3? Thank you!