Hat top OLED not working on Raspberry pi 5 (Bookworm)

I just setup my nas with the SATA Hat and the Hat Top, fan is working fine but I can’t get the OLED to display anything. Does anyone know how to get it working on RPI 5 running bookworm?

Cheers

It’s i2c OLED display, so You should see it’s address via i2cdetect utility:

$ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

If there is nothing detected - duble check if i2c protocol is turned on, then double check connection.

1 Like

Hi @Shaun_Nicholson,

Please refer to here[1] to install the software package.

[1] https://docs.radxa.com/en/accessories/penta-sata-hat/sata-hat-top-board

1 Like

I’m getting this:

pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – --
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --

I installed the software package, checked the connections the fan is spinning just the OLED not displaying anything.

Also the fan speeds don’t seem to be controlled and when I double press the button the fan doesn’t stop spinning either.

This is the one I ordered: https://nl.rs-online.com/web/p/rock-sbc-add-ons/2565002?gb=s

Obviously i2c device is not connected, is i2c protocol enabled in raspi-config?

1 Like

It is enabled, I just got a new one in the mail and this one does work. Seems like the one I had before was faulty. All sorted.

One question regarding the screen, is it possible to get the readings of omv zfs pool on there instead of the sd card?

We can update the program to specify a path to the config file.

Please help. @Shawn

1 Like

Is there a way to display other hdd information instead of the raspberry pi sd card?

Simple python script is used to display those,
just modify it with paths and information You need: /usr/bin/rockpi-sata/misc.py
save and restart service

1 Like

Do you happen to have an example code how to achieve this?

It’s very simple script, try yourself to alter few lines, it’s easy to test it and make some modifications.
Probably my version will not work on Your side and I don’t remember what I changed there (my unit is out of sight now).

I have no idea, so if someone has an example script by any chance I could modify it. Thanks

I’ve received the topboard today, installed it, double-checked the connections, run the update Setq suggested. Nothing happens, the fan won’t come on, no leds blinking…

Hey Shaun,
I have the same problem, I also ordered from RS
https://befr.rs-online.com/web/p/rock-sbc-add-ons/2565002.
When I run the i2detect script I get 3c on the vertical 30 horizontal c line
So I should send RS an email explaining the problem, maybe I can also get a new one

Hi, I ordered another one and that worked. Mine was faulty. You can probably return it to RS no problem.

If someone has an example script, would like to take a look