{"id":1173,"date":"2025-10-17T01:34:13","date_gmt":"2025-10-17T01:34:13","guid":{"rendered":"https:\/\/netlab.com.ph\/?p=1173"},"modified":"2025-10-17T02:08:59","modified_gmt":"2025-10-17T02:08:59","slug":"oled-displays","status":"publish","type":"post","link":"https:\/\/netlab.com.ph\/?p=1173","title":{"rendered":"OLED Displays"},"content":{"rendered":"\n<p>Organic Light Emitting Diode (OLED) displays are more common now than LCD displays. OLED emit their own light rather than require a backlight to illuminate the screen in LCD displays. This allows OLEDs to achieve deeper blacks, higher contrast ratios, and more vibrant colors. The 128&#215;64 OLED display is a compact and light weight module that features a resolution of 128 pixels in width and 64 pixels in height, making it suitable for a variety of applications, from simple text displays to complex graphical interfaces. While the 128&#215;64 OLED display is often monochrome, it is also available in versions that support multiple colors. Interfacing requires only two wires via I2C protocol and makes use of the P19 (SCL) and P20 (SDA) pins of the micro:bit communication.   <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"300\" src=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_090025.jpg\" alt=\"\" class=\"wp-image-1177\" srcset=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_090025.jpg 400w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_090025-300x225.jpg 300w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_090025-360x270.jpg 360w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<p>In order to use the OLED display using micro:bit, we need to load the OLED12864xI2C extension from makecode:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-1024x470.jpg\" alt=\"\" class=\"wp-image-1180\" style=\"width:641px;height:auto\" srcset=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-1024x470.jpg 1024w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-300x138.jpg 300w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-768x352.jpg 768w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-1536x705.jpg 1536w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension-360x165.jpg 360w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_extension.jpg 1911w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Make sure to initialize the OLED display on start using address 60:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"811\" height=\"745\" src=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_init.jpg\" alt=\"\" class=\"wp-image-1181\" style=\"width:639px;height:auto\" srcset=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_init.jpg 811w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_init-300x276.jpg 300w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_init-768x705.jpg 768w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled_init-294x270.jpg 294w\" sizes=\"auto, (max-width: 811px) 100vw, 811px\" \/><\/figure>\n\n\n\n<p>And here&#8217;s a sample program display shown on the first picture above:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"859\" src=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled-1024x859.jpg\" alt=\"\" class=\"wp-image-1182\" srcset=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled-1024x859.jpg 1024w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled-300x252.jpg 300w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled-768x644.jpg 768w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled-322x270.jpg 322w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/oled.jpg 1029w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Notes:<\/strong><\/p>\n\n\n\n<p>There are multiple OLED displays on sale online and so far,  the 4 pin SSD 1306 0.96 inch 128&#215;64 OLED display works with the current driver on micro:bit. The bigger 1.3 inch version 2.0 12864-81 OLED display has issues with the current driver on micro:bit and displays random noise upon initialization as shown below on the right. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"300\" src=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_094630.jpg\" alt=\"\" class=\"wp-image-1185\" srcset=\"https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_094630.jpg 400w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_094630-300x225.jpg 300w, https:\/\/netlab.com.ph\/wp-content\/uploads\/2025\/10\/20251017_094630-360x270.jpg 360w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Organic Light Emitting Diode (OLED) displays are more common now than LCD displays. OLED emit their own light rather than require a backlight to illuminate the screen in LCD displays. This allows OLEDs to achieve deeper blacks, higher contrast ratios, <a href=\"https:\/\/netlab.com.ph\/?p=1173\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1173","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/posts\/1173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1173"}],"version-history":[{"count":6,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/posts\/1173\/revisions"}],"predecessor-version":[{"id":1186,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=\/wp\/v2\/posts\/1173\/revisions\/1186"}],"wp:attachment":[{"href":"https:\/\/netlab.com.ph\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netlab.com.ph\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}