# Node-red-contrib-oled sh1106 fuzzy image (just random pixels)

**URL:** <https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080>\
**Category:** General\
**Created:** [23 January 2023 12:52 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080 "2023-01-23T12:52:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.nodered.org/u/Yusuf)\
**Post date:** [23 January 2023 12:52 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/1 "2023-01-23T12:52:52Z")

</div>

Hi,  
I have installed the node-red-contrib-oled and tried to show something on sh1106 type oled screen but i see just random pixels. When i run the display by a phyton code like luma.oled webpage ([Python usage — Luma.OLED: Display drivers for SSD1306, SSD1309, SSD1322, SSD1362, SSD1322\_NHD, SSD1325, SSD1327, SSD1331, SSD1351, SH1106, SH1107, WS0010, WINSTAR\_WEH 3.10.0 documentation](https://luma-oled.readthedocs.io/en/latest/python-usage.html)) screen is normal and works pretty good. But i want to control this screen on node-red and cant get a normaly working screen. On luma's python code, screen type should be choosen. Maybe it's a driver problem here or another thing. Is this a way to choose device type on node-red-contrib-oled node? Or any other advise?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [23 January 2023 13:21 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/2 "2023-01-23T13:21:28Z")

</div>

Hi @Yusuf Welcome to the froums.

I am not an expert at OLED display address maps.

But the module, `node-red-contrib-oled` uses `oled-i2c-bus` as a way to tap into the hardware, and this package is reported to only work with `SSD1306` controllers

> A NodeJS driver for I2C/SPI compatible monochrome OLED screens; to be used on the Raspberry Pi! Works with 128 x 32, 128 x 64 and 96 x 16 sized screens, of the SSD1306 OLED/PLED Controller.

> On luma's python code, screen type should be choosen. Maybe it's a driver problem here or another thing

That is the key thing here, the module is fixed to `SSD1306` based controllers.

there maybe others who, here can offer guidance if I am incorrect (quite possible 😅)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [23 January 2023 13:22 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/3 "2023-01-23T13:22:11Z")

</div>

Did you try the example flow talked about in the node page: [node-red-contrib-oled (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-oled)

there is also an example page: [https://flows.nodered.org/flow/a855b868e29e0af2744b1a5fa625f118](https://flows.nodered.org/flow/a855b868e29e0af2744b1a5fa625f118)

---

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.nodered.org/u/Yusuf)\
**Post date:** [24 January 2023 08:00 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/4 "2023-01-24T08:00:33Z")

</div>

Thanks for your reply @marcus-j-davies . It wasn't an explanation about supported screens on node-red-contrib-oled modules page. And, I haven't seen the descriptions about oled-i2c-bus drivers before that you shared. But there is an interesting situation; it's a different module for sh1106, nodered-sh1106. But maybe its old and some errors on installation.  
However when I install the node-red-contrib-oled node, it seem a conflict message on palette management page for nodered-sh1106 with node-red-contrib-oled node. So i tought node-red-contrib-oled node is newer and usable for sh1106 type screen. I guess I was wrong.

---

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.nodered.org/u/Yusuf)\
**Post date:** [24 January 2023 08:03 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/5 "2023-01-24T08:03:24Z")

</div>

Thanks for your reply @zenofmud . I tried but it was same issue, something comes to screen but not on the true pixels and not readable (I adjust bus adress truly: 0x3c).

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [24 January 2023 10:36 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/6 "2023-01-24T10:36:47Z")

</div>

- What device do you have the OLED connected to? a RPI?
- how do you have it wired?
- What device is NR installed on?
- What version of NR and node.js are you running (you can get this from the startup log)
- if using a Pi, do you have I2C enabled?

It looks like you have [posted an issue on the node's GitHub page](https://github.com/HendrikRoth/node-red-contrib-oled/issues/31) and that is the best place to get an answer.

---

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.nodered.org/u/Yusuf)\
**Post date:** [24 January 2023 11:21 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/7 "2023-01-24T11:21:15Z")

</div>

- Yes,I have an Raspberry Pi 3 Model B+,

- I have wired the sh1106 type OLED screen to the proper GPIO pins, otherwise I could not run it with the example on luma page as I mentioned before.

- I run node-red on RPI

- Nodejs version: v16.19.0  
Node red version: v3.0.2

- I2C enabled

Thanks. I hope I get an answer from GitHub page and share the solution for everyone.

---

<div class="post-metadata">

**Author:** ![Niklas\_01](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@Niklas\_01](https://discourse.nodered.org/u/Niklas_01)\
**Post date:** [28 February 2023 17:17 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/8 "2023-02-28T17:17:27Z")

</div>

I have exactly the same problem, have you already found a solution?

---

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.nodered.org/u/Yusuf)\
**Post date:** [28 February 2023 17:44 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/9 "2023-02-28T17:44:39Z")

</div>

Sorry, not yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 April 2023 17:45 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-sh1106-fuzzy-image-just-random-pixels/74080/10 "2023-04-29T17:45:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
