Is it possible, protocol convert 0108 to IIC for Oled

Hi,

I need to replace display which use KS0107/0108 display, unfortunately display is non standard size, smaller than any available 0108 display.

I think does it possible to do protocol conversion in arduino nano or some more powerful board?

I can find OLED displays which can fit in the device but all oled displays use SPI or IIC protocol.

So think about using digital in pins to read information for 0107 display and "translate" to IIC for oled 1309 display, is something like that doable, cant find any information about thah subject.

Many hardware graphics libraries inherit from Adafruit_GFX. This means it is easy to port a program from a 128x64 GLCD to a 128x64 OLED or 128x128 TFT.

On the other hand, libraries like Oliver's U8g2 can run on GLCD, OLED, ...

I suspect that your existing KS0108 code does not follow either convention. I suggest that you port to U8g2 running on your familiar KS0108.

You don't need to worry about low level hardware.
Just change print() or drawPixel() calls to the chosen library convention.

David.

Sorry, now i see i have not been clear why do i need replacement display.

By some unfortunate accident i managed to destroy original display on some audio device. Original is available but price is ridiculous (about half the price i have paid for the whole device).

Display is standard with Samsung 0107/0108 driver chips, but lcd pannel is non standard size, resolution 128x64, and height of display is 39mm and bigger display cannot fit. I'm unable to find display of this size with this chipset but there are available cheap oled displays, but with 1309 or 1306 chip set.

I am beginner with arduino, know about some working libraries, tested u8g2 and got working display on IIC line, but don't know proper method to translate data from one form to another and not seeing anything similar is done

Post a link to your code. It is probably fairly simple to convert it to U8g2 or other library.

Yeah i see now it has tried multiple times by more people and not an easy and doable in all cases.

I have found display which can be used for my purposes but unable to find where to buy it.

LM12864MBC-1, from Topway Displays, anybody know some contact who sell this? Probably best from China but i only can find wholesale offers.

There are lots of KS0108 modules. Most are slightly bigger than the Topway display with a single row header.

If you need smaller sizes, look at Crystalfontz or Newhaven.

Life is much simpler with an SPI controller rather than the parallel KS0108.
U8g2 can handle most controllers. Choose the display that fits your needs.

David.