SSD1351 RGB OLED refreshing speed
Moderators: adafruit_support_bill, adafruit

SSD1351 RGB OLED refreshing speed

by tomatediabolik on Tue Feb 18, 2014 7:16 am

Hi guys,

I bought an Adafruit RGB OLED and I try to display temperature and pressure (coming from my BMP180).
I successfully displayed my data but when they are updated, they overlap the last value and it's unreadable.

I only found 2 ways to get rid of this:
- first way, change background to black and rewrite my data on each loop.
- second way, rewrite the data with black font and then rewrite a new data.

The problem is that the refreshing speed is very slow and we could see the pixels going from white to black and from left to right.
So, when I'm updating my value each second, it's very hard to see it.

Is there another way to refresh value or a way to do it faster ?

Thanks in advance.

PS : Sorry for my english, it's not my mother tongue
tomatediabolik
 
Posts: 4
Joined: Tue Feb 18, 2014 7:01 am

Re: SSD1351 RGB OLED refreshing speed

by adafruit_support_rick on Tue Feb 18, 2014 12:39 pm

Have you tried drawing a black rectangle to erase the old data?

adafruit_support_rick
 
Posts: 13111
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: SSD1351 RGB OLED refreshing speed

by tomatediabolik on Wed Feb 19, 2014 5:26 am

I don't have my arduino with me but I could try that.

But I think that it will be the same. The drawing speed of the rectangle, then the writing speed of the value will take too much time.
My problem is the refreshing speed or the drawing speed that is too long.

Currently i'd say that the value is completely written in about 0.2 second (maybe 0.1). I'd like to reduce that refreshing speed to feel like it's instant (not sure about that word, again, sorry for my english)
tomatediabolik
 
Posts: 4
Joined: Tue Feb 18, 2014 7:01 am

Re: SSD1351 RGB OLED refreshing speed

by adafruit_support_rick on Wed Feb 19, 2014 11:09 am

Drawing a black filled rectangle should be faster than drawing characters because of the way the library works. Give it a try.
Drawing several filled rectangles which just cover each character may be slightly faster than drawing one large rectangle that covers all of the characters, but it may not look as nice visually.

adafruit_support_rick
 
Posts: 13111
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: SSD1351 RGB OLED refreshing speed

by tomatediabolik on Thu Feb 20, 2014 5:23 am

Ok thanks, i'll give it a try :D. But I still dont have my arduino. It will be for saturday :P

And on that video, the first 3 seconds we could see adafruit logo coming down from the top of the screen. Did the person use the method of the black rectangle ? Because it looks like instant and that's the result I want to have with my values.
http://www.youtube.com/watch?v=nHRfYlmJxVo
tomatediabolik
 
Posts: 4
Joined: Tue Feb 18, 2014 7:01 am

Re: SSD1351 RGB OLED refreshing speed

by adafruit_support_rick on Thu Feb 20, 2014 11:14 am

That's an SSD1306 monochrome display in the video. It will naturally be faster, since it only has to transfer 1 bit per pixel instead of 16 bits per pixel, as the color display needs.

The code draws the logos in white, then re-draws them in black to erase them.

adafruit_support_rick
 
Posts: 13111
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY