arduino:displays_for_classic_arduinos:tiny_oled_displays_and_classic_arduinos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arduino:displays_for_classic_arduinos:0.96_oled_displays_and_classic_arduinos [2018/01/28 04:10] – mithat | arduino:displays_for_classic_arduinos:tiny_oled_displays_and_classic_arduinos [2018/01/28 06:08] (current) – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
===== Summary evaluation ===== | ===== Summary evaluation ===== | ||
- | Very small 128x64 OLED display modules offering both SPI and I2C interfaces via a SSD1306 controller have been around for a few years. The most popular size is [[https:// | + | Very small 128x64 OLED display modules offering both SPI and I2C interfaces via an SSD1306 controller |
- | The 1.3" size in particular is an attractive alternative to the [[arduino: | + | The 1.3" size in particular is an attractive alternative to the [[arduino: |
In the tests that follow, I am striving to answer first whether the rendering updates will be fast enough for reasonable use and second whether there will be any memory left to do anything interesting. | In the tests that follow, I am striving to answer first whether the rendering updates will be fast enough for reasonable use and second whether there will be any memory left to do anything interesting. | ||
- | ===== Libraries ===== | + | They are certainly fast enough, but the required program storage and dynamic memory isn't trivial. |
- | There are more libraries than the ones below available for the SSD1306 interface IC. I only used a couple | + | ===== Tests ===== |
+ | |||
+ | There are more libraries than the ones below available for the SSD1306 interface IC. I only used these because results for the [[arduino: | ||
==== U8g2 ==== | ==== U8g2 ==== | ||
Line 17: | Line 19: | ||
Oli Kraus' [[https:// | Oli Kraus' [[https:// | ||
- | The flickering seen in the video is not present in real life. | + | The frame update time of 76 ms with a 16 MHz processor (the inverse of the fps noted in the [[ display_SSD1306_OLED_u8g2.ino | source code]]) is respectable, |
+ | character change artifacts are not objectionable. Memory use is on the order of 46% of program storage space and 28% of dynamic memory on a Nano. | ||
+ | |||
+ | The flickering seen in the video isn' | ||
+ | |||
+ | {{youtube> | ||
[[display_SSD1306_OLED_u8g2.ino | source code]] | [[display_SSD1306_OLED_u8g2.ino | source code]] | ||
Line 23: | Line 30: | ||
==== U8glib ==== | ==== U8glib ==== | ||
- | Before there was U8g2, there was [[https:// | + | Before there was U8g2, there was [[https:// |
+ | |||
+ | The frame update time of FIXME with a 16 MHz processor (the inverse of the fps noted in the [[ display_SSD1306_OLED_u8glib.ino | source code]]) is respectable, | ||
+ | character change artifacts are not objectionable. Memory use is on the order of 56% of program storage space and 13% of dynamic memory on a Nano. | ||
- | The flickering seen in the video is not present in real life. | + | The flickering seen in the video isn' |
+ | {{youtube> | ||
[[display_SSD1306_OLED_u8glib.ino | source code]] | [[display_SSD1306_OLED_u8glib.ino | source code]] |
arduino/displays_for_classic_arduinos/tiny_oled_displays_and_classic_arduinos.1517112613.txt.gz · Last modified: 2018/01/28 04:10 by mithat