# Any advice ? OLED Node SPI issue

**URL:** <https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943>\
**Category:** General\
**Created:** [30 July 2020 21:25 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943 "2020-07-30T21:25:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [30 July 2020 21:25 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/1 "2020-07-30T21:25:45Z")

</div>

HI Guys,

Quick Question, why does OLED node only work with I2C and Not SPI ?

I have a Raspi zero OLED HAT ( 128x32) ( [https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/2.23inch-oled-hat.htm](https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/2.23inch-oled-hat.htm) )

I got it to work on a other project and used I2C with the OLED node (bus:3c), because I could not get it to work on SPI. when I run the demo code in the terminal it looks and works great, and would like that same visual performance in Node-red. how do I go about this or can I only use I2C.

Thanks and your responses will be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 July 2020 07:10 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/2 "2020-07-31T07:10:40Z")

</div>

You don't mention which node it is, but I guess it is written on top of another library like the i2c-bus one. If so it would need to be either rewritten or extended to use an spi one instead .. I guess the author just picked one and went with it.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [31 July 2020 12:59 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/3 "2020-07-31T12:59:31Z")

</div>

HI @dceejay dceejay,

Thanks for you response ,

would you be so kink to inform me of a OLED node that work on SPI?

---

<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:** [31 July 2020 13:54 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/4 "2020-07-31T13:54:48Z")

</div>

I think you should go to the [flow tab](https://flows.nodered.org) and do some searching.

---

<div class="post-metadata">

**Author:** ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)\
**Post date:** [1 August 2020 15:45 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/5 "2020-08-01T15:45:51Z")

</div>

Out of curiosity, what was the OLED node to mark this as solved? I could only find two obvious OLED nodes and both of them only mentioned I2C on their description.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [10 August 2020 13:16 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/6 "2020-08-10T13:16:08Z")

</div>

hi @ristomatti,

No unfortunately the OLED node is only setup to use /run I2C interface commands, there is nothing on Node-red for SPI

I had to solder the 0 resistors on OLED screen from SPI to I2C .... ti worked but the text size and font option do not apply and look 1980's unfortunately, it is what it is if you want to use Node red with an OLED screen right...

---

<div class="post-metadata">

**Author:** ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)\
**Post date:** [10 August 2020 14:27 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/7 "2020-08-10T14:27:28Z")

</div>

There might very well be a Python library that supports SPI communication. You could for example write a script that interfaces with the display and listens data from MQTT. You'd send the required data from NR to it through MQTT.

---

<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:** [24 August 2020 14:27 UTC](https://discourse.nodered.org/t/any-advice-oled-node-spi-issue/30943/8 "2020-08-24T14:27:28Z")

</div>

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