The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2021, 11:21:14 11:21


Login with username, password and session length


Pages: [1]
Print
Author Topic: Using Small (<500 pix) Monochrome OLED Displays  (Read 710 times)
0 Members and 1 Guest are viewing this topic.
Renix
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 0
-Receive: 0


« on: November 06, 2021, 12:42:54 00:42 »

I do hope there are others interested in sharing info on using these inexpensive displays in various projects. All of the OLEDs I have worked with are based on one form or another of the SSD1322 controller. In most instances, I have used 3 or 4 wire SDI interfacing as it can be fast and compact.

This device works quite different from the full-color display controllers I have used in the past. In the latter, each pixel is individually addressed to specify the color and brightness. This makes small bitmapped fonts and glyphs rather easy to construct.

But the SSD1322 works quite differently. To keep things simple for now, pixel rows can be addressed individually. However, one cannot easily address a single pixel column. Rather one has to write 4 pixel values to the controller before they will be written to the actual display. Being a greyscale display, each pixel is comprised of 4 bits or 16 levels. This means 2-bytes or 16 bits in the form of 3 sequential bytes: command, data, data. This makes it rather complicated to use a typical bitmapped font in C on a microcontroller.

One way around this is to build a bitmapped image in a buffer and write the buffer to the controller. My favorite display is 64x256x4bits. Thatís a 8K frame buffer! Rather big for a typical microcontroller. And the frame rate, from a micro over SDI at that size will surely lead to some flicker.

One way around this, if full-frame video is not the goal, is to creat many small frame buffers or fixed multi-row/column symbols or glyphs. These will transfer over SDI quite fast.

More to come.
« Last Edit: November 06, 2021, 01:23:34 01:23 by Renix » Logged
bobcat1
Senior Member
****
Offline Offline

Posts: 254

Thank You
-Given: 3370
-Receive: 76


« Reply #1 on: November 07, 2021, 06:45:32 06:45 »

Hi
This type of OLED display was not designed for life video streaming ,only  to display static or low rate data, the best way to use them is to divide the display to several area and update an area at the time of change ,that way will not require a big memory buffer,

All the best

Bobi 
Logged
Renix
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: November 07, 2021, 11:57:31 23:57 »

@bobcat1
Yes I agree completely. I have used them to replace VFD displays and my intent is to discuss the trials & tribulations for those who have not worked with them.

Renix
Logged
devetka
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 6
-Receive: 46


« Reply #3 on: November 09, 2021, 12:50:57 12:50 »

I love those 2color ones (one stripe is one color, e.g. amber, and rest of the display is other color, e.g. white) .. the "stripe" is great for title (top) or status (bottom).. I had some that have double the ram so you can use the display as buffer instead of using up ram on the mcu for the buffer, but the problem is when I order them from ali I never know if the ones that arrive will have the double ram or not Sad
Logged
Renix
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 0
-Receive: 0


« Reply #4 on: November 09, 2021, 06:32:21 18:32 »

@devetka
I have not seen this type. Got a link to a unit or spec sheet?
I got some of the 64 x 256 mono OLED from Ali and they had straight headers already mounted. I needed RA headers.
What a pain to swap. Good thing I only needed SDI. Id never get all 16 swapped without damage!
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC