# 0.96" OLED I2C Display with XOD

**URL:** <https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791>\
**Category:** Hardware Interfacing Questions\
**Created:** [January 30, 2019, 6:09pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791 "2019-01-30T18:09:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vdbijlh](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vdbijlh](https://forum.xod.io/u/vdbijlh)\
**Post date:** [January 30, 2019, 6:09pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/1 "2019-01-30T18:09:00Z")

</div>

I want to experiment with a 0.96" OLED I2C Display (SSD1306) … I cannot find a separate component.

While typing this request I observed in the pop-up this has been discussed before (i.e bradzila84/highzl) … has this topic been completed ?

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [January 30, 2019, 11:40pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/2 "2019-01-30T23:40:26Z")

</div>

Hi vdbijlh  
Sorry not yet it is still in my to do pile. I will take a look at finishing it soon for you.

---

<div class="post-metadata">

**Author:** ![vdbijlh](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vdbijlh](https://forum.xod.io/u/vdbijlh)\
**Post date:** [January 31, 2019, 5:26am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/3 "2019-01-31T05:26:08Z")

</div>

Thanks for your quick response ! … appreciated !!

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [February 26, 2019, 7:03pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/4 "2019-02-26T19:03:18Z")

</div>

i made the mistake of grabbing one in a rush from the store because it was ironically the cheapest, back home… going through the addresses of the text lcd i2c node i scrolled through the datasheet [http://www.upgradeindustries.com/media/ebay/Photos/OLED/datasheet.pdf](http://www.upgradeindustries.com/media/ebay/Photos/OLED/datasheet.pdf)  
and almost suffocated in nervous laughter as things slowly dawned on me.  
Would it be possible to at least have something that can spit out 2 lines or so?  
Or should i toss the thing?

PS: I get panic attacks when i see code, thats is why i love xod so much.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 26, 2019, 10:31pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/5 "2019-02-26T22:31:19Z")

</div>

The built-in text-lcd-\* nodes are not going to do you any good. Search for LCD in the libraries ([https://xod.io/libs/?q=lcd](https://xod.io/libs/?q=lcd)) and one of the tft libraries might work for you. Once you have a library name, install it from XOD using File \> Add Library

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [February 27, 2019, 9:48am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/6 "2019-02-27T09:48:28Z")

</div>

and another perfectly fine gadget tossed into the trash of incompatibility

sad… but thanks anyway

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [February 27, 2019, 3:54pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/7 "2019-02-27T15:54:02Z")

</div>

I have one of these devices on my new [totem minilab](https://totemmaker.net/product/totem-mini-lab/). I’ll aim to create library over the weekend.

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [February 27, 2019, 4:14pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/8 "2019-02-27T16:14:41Z")

</div>

damn, i wish i knew about your board earlier, would have saved me a ton of hassle… looks really sweet

thanks for the upcoming library

now i just have dig through my garbage 🙂

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [March 7, 2019, 1:09am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/9 "2019-03-07T01:09:46Z")

</div>

Hope you managed to retrieve the board! The library is ready for testing:

[https://xod.io/libs/wayland/ssd1306-oled-i2c/](https://xod.io/libs/wayland/ssd1306-oled-i2c/)

 ![oled](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/a/a661fa946af96511eb8b05005568d3372d7e2ee9.jpeg)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [March 7, 2019, 3:01am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/10 "2019-03-07T03:01:33Z")

</div>

Very good 👏  
As I said in another post, and another **`bitrex`** request, you need a node that allows you to copy and paste the bitmap, text or sequence in PROGMEM, in a simple way without editing the node.  
I hope it is not difficult to implement

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [March 7, 2019, 3:26pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/11 "2019-03-07T15:26:21Z")

</div>

i did ty 🙂

looks awesome!

thank you so much!

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [March 7, 2019, 8:56pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/12 "2019-03-07T20:56:22Z")

</div>

oh my god, it actually works…

its such an odd feeling when you dont expect it to work because you are use to it and then all of a sudden it lights up and i can even punch in text.

MAGIC! i feel like a kid again ty 🙂

---

<div class="post-metadata">

**Author:** ![carrot](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@carrot](https://forum.xod.io/u/carrot)\
**Post date:** [November 30, 2019, 12:19am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/13 "2019-11-30T00:19:28Z")

</div>

This is great library @Waylon how do I get draw text to show fewer places on numbers? I don’t know if its the value being passed or draw-text adding it but I added round to create an integer before the number passes but draw-text still shows all numbers to the hundreths place.

IE 1 = 1.00

Thanks!

---

<div class="post-metadata">

**Author:** ![uther2017](https://avatars.discourse-cdn.com/v4/letter/u/e19adc/32.png) [@uther2017](https://forum.xod.io/u/uther2017)\
**Post date:** [November 30, 2019, 12:37am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/14 "2019-11-30T00:37:25Z")

</div>

I just hooked up the oled display and typed “1” for the text to display and it worked. It just showed a “1”.

I bet you’re getting a number reading from a sensor. If so you need to link the sensor reading to a format number node and change the DIG amount on the node to 0 and then link the format number node to text for the oled. That should fix it.

---

<div class="post-metadata">

**Author:** ![carrot](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@carrot](https://forum.xod.io/u/carrot)\
**Post date:** [November 30, 2019, 2:02pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/15 "2019-11-30T14:02:36Z")

</div>

Thank you so much! Makes perfect sense

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [May 7, 2020, 10:48am UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/16 "2020-05-07T10:48:28Z")

</div>

Hello, long time…

I seem to have run into a bug. I cannot connect the oled to my sensor setup.  
On the left i have my usual setup that works fine on its own and on the right i have your oled that also works fine on its own. But when i put them next to each other i dont get a reading on the watch node.

If i try to connect them like in the second image i do get a reading but the oled does not update.  
Any ideas?

 ![Untitled](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/3/3b75b91ed3c262b8bf9572cfd8e77601d773af91.jpeg)

 ![Untitled-1](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/6/6b3e233c9d1422659f34e5b2df66e31a301ae99d.jpeg)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [May 7, 2020, 1:53pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/17 "2020-05-07T13:53:11Z")

</div>

I think it has exceeded the available microcontroller resources like clock speed or SRAM.  
What is the result of the resources used in compiler?

---

<div class="post-metadata">

**Author:** ![rusalkin](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rusalkin](https://forum.xod.io/u/rusalkin)\
**Post date:** [May 7, 2020, 5:39pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/18 "2020-05-07T17:39:52Z")

</div>

there is a limit? 🙂  
you are right, didn’t know thanks!

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [May 11, 2020, 3:12pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/19 "2020-05-11T15:12:41Z")

</div>

I’ve added a rotate-display node to my ssd1306-oled-i2c library:  
 ![ssd1306_rotation2](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/0/0e9a911afea0bf5d223a1da2753ae0153e32e14e.png)

I’ve also combined the ssd1306-oled-i2c-device and init nodes. The functionality of both nodes is now in [ssd1306-oled-i2c-device](https://xod.io/libs/wayland/ssd1306-oled-i2c/ssd1306-oled-i2c-device/) and init has been removed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [June 10, 2020, 3:12pm UTC](https://forum.xod.io/t/0-96-oled-i2c-display-with-xod/1791/20 "2020-06-10T15:12:42Z")

</div>

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