Forum: µC & Digital Electronics Problem with Densitron OLED

Author: Marius S. (lupin)
Posted on:

Rate this post
0 useful
not useful
I've got an DD-9664FC-2A OLED display from densitron (controller is 
I ordered it from farnell along with the adapter board.

I've got troubles interfacing this display serially to my AT91SAM7S256.

You can find my code along with datasheets for display, controller and 
adapter board here:

I've done everything to slow down the software as far as i could (to 
make sure i am not going too fast for the display).

The µC should run at about 8 MHz and i (almost randomly) added heavy 
delay times.

I first tried to use the example sequences that one can find in the 
display datasheet. Then i found this website offering code to interface 
exactly the same display:

I am now using the sequence presented in the driver on that site because 
i trust it to be correct.

I short circuited jumper J3, J8 (VDDIO to VDD), J4, J5, J6 (BS1 to GND) 
and J7 (BS2 to GND) on the adapter board. This should be the standard 

I generate the high voltage for OLED with a little unregulated SMPS 
(voltage clamp with zener diodes). It is switched to the OLED display by 
NPN+PNP transistor.

Here is a "nice" picture of my setup:

The serial interface of the SSD1331 is described in the datasheet on 
page 17.
I just connected D0 and D1 which should make up the serial interface:
D0 being clock -> connected to PA14
D1 being data -> connected to PA13
DC -> connected to PA7
RES -> connected to PA8
CS -> connected to PA11
RW_WR tied to GND
E_RD tied to GND

I have added a few layers of stick tape on the bottom of the fixture to 
increase the preasure on the foil connector pins.

I wonder if i should solder the display to make sure it got contact.

So far i was not able to get a single pixel lit (not randomly nor in a 
controlled behaviour).

I don't see the flaws in my software, it appears straight forward to me.

Does anyone know whether it is dangerous to connect the high drive 
voltage (VCC) to the OLED before it was properly initialized?

Author: Marius S. (lupin)
Posted on:

Rate this post
0 useful
not useful
Grr... after all it was just the connection from the display to the 
adapter board, the fixture was insufficient and sticky tape didn't work. 
I used some kind of packaging foam and it shows an image now!


It looks a lot better in real life...

Author: Andrew Wong (andrewwong)
Posted on:

Rate this post
0 useful
not useful
Maybe you can ask help from Blaze Display (www.blazedisplay.com). We buy 
OLED and other LCD displays (LCD panel, LCD module) from them.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.