Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:13 04 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM2: SSD1351 Colour OLED Display

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10197
Posted: 08:44am 31 Jan 2015
Copy link to clipboard 
Print this post

Another by request - this time from WhiteWizzard





This a nice little colour display, runs on SPI, but OLED rather than TFT. It is available in 128x96 and 128x128 versions but there aren't yet pre-packaged ones available very cheap - this one is an Adafruit one purchased from Maplin in the UK.

It needed slightly different Cfunctions from the TFT displays but not too hard to port.

Because it is relatively low resolution it refreshes very fast even over SPI.

2015-01-31_183725_SSD1351ser.zip

The Basic demo/test program and the Cfunction c-source file are included in the ZIP

WW, please note the position of the connection wires. There are two command/data pins (one for the onboard SD card) and it isn't obvious which is which.

The connection to the 3VO pin isn't needed (3rd from right). This is actually an output from the onboard regulator, just connect 3.3V to Vin.Edited by matherp 2015-02-01
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 01:54pm 31 Jan 2015
Copy link to clipboard 
Print this post

Another fantastic piece of code (or at least I guess so!).
I was just about to load the code on my module only to realise the header pins aren't pre-soldered (I am away from home and don't have a soldering iron available just now).

Many thanks once again, and also for the heads-up regarding the connections. Will post again once I have the module loaded . . .

WW
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 09:44am 01 Feb 2015
Copy link to clipboard 
Print this post

Hey WW...

I really like this OLED unit... I looked at the "EastRising" website you mentioned and downloaded the PDF info... You can buy the "raw" display and flex-connector combo from them and make this a possible candidate for a uber-small board spin using the new 64 pin motor... there asking $10 for the unit... The Pix that Matherp shows, looks like one of the units that come pre-mounted on a PCB... (like the ones from e-bay) So, where did you guys get these displays..? I would like to play with a few also... Normally, I would just find them myself, but, with this stuff about different types of controllers, I wanted to be sure to get the right kind...

Thanks Gents for the info..!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10197
Posted: 09:58am 01 Feb 2015
Copy link to clipboard 
Print this post

Zonker

You don't need the 64-pin for this small display - it runs plenty fast on the normal Mk2. It isn't the easiest display to build a board for as it needs 12V generating to drive the OLED. The Adafruit Board has a charge pump circuit to get 12V from 3.3

Peter
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 10:07am 01 Feb 2015
Copy link to clipboard 
Print this post

Hi Zonker,

I have a few of the EastRising 1.5" OLEDs (128x128 pixels). I was going to send one to matherp to get his code working with it. However, rather than debug hardware and/or software for these units (i.e. I would have to build an interface unit) we decided to buy a pre-built module with the same controller chip.
The adafruit unit I ended up sending Peter is a 128x96 OLED bought from Maplins here in the UK.

I will be trying the code on the adafruit module later (the one pictured in matherp's post) and then look to build an interface module for the EastRising 'raw' display. I will then see if Peter can modify his code to work in the faster Parallel mode (as opposed to SPI).

If you want me to send any OLEDs then PM me The adafruit is expensive at £28, the EastRising display is £8.80 (import tax )

WW
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 11:01am 01 Feb 2015
Copy link to clipboard 
Print this post

Humm...

Ok... Let's see if I am getting this...

You purpose using a Mk2 class 28 pinner to act as a display controller, thus removing the hassle of dealing with the display for the end user... Using simple serial commands or SPI, the user would pass simple command and data strings to the display controller MPU board...

Yikes..! This is an awesome idea..! We could then spin-up PCB's for the different types of display units everyone wants and let WW, (or anyone who wants to) make the boards and add them on to new designs as "drop-in's"...

This would make little impact on the users code size and make display integration easy... Nice thinkin Gents..!

OR - Did I somehow misread the post..?
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 12:23pm 01 Feb 2015
Copy link to clipboard 
Print this post

Hi Zonker,

My original idea was as you thought - however it looks like a 64pinner directly driving an SPI or parallel interfaced display will have enough power left over to also run the main 'end application' (i.e. all on one chip). This saves the 'ball ache' of designing a 'protocol' between chips.

My overall desire is to get the best refresh rate possible on the highest quality display (I much prefer OLEDs to TFTs); and ideally on a reasonable sized screen.

Does anyone know where I can source a 4.3" OLED? They used to be quite common but now it looks like everyone has stopped making them for some reason!

WW

 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 01:11am 03 Feb 2015
Copy link to clipboard 
Print this post

@matherp,

Is there a command in this code (.pix?) for setting a pixel at x,y to a certain colour?
If so, what is the syntax (the things I have tried have failed with an unknown command error).

For now I am using the rectangle command with height & width set to 1 - its ok, but I guess a pixel set will run a lot faster!

Thanks in advance

WWEdited by WhiteWizzard 2015-02-04
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025