{"id":42400,"date":"2021-06-16T06:37:16","date_gmt":"2021-06-16T04:37:16","guid":{"rendered":"https:\/\/botland.com.pl\/blog\/esp32-connecting-oled-display\/"},"modified":"2025-05-20T08:32:08","modified_gmt":"2025-05-20T06:32:08","slug":"esp32-connecting-oled-display","status":"publish","type":"post","link":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/","title":{"rendered":"ESP32 &#8211; connecting OLED display"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">min.<\/span><\/span>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"42400\" class=\"elementor elementor-42400 elementor-22337\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2900fb5b e-flex e-con-boxed e-con e-parent\" data-id=\"2900fb5b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-36d153cc elementor-widget elementor-widget-text-editor\" data-id=\"36d153cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the previous article we briefly explained what ESP32 is and what it can be used for. We also learned how to read data from a DS18B20 temperature sensor and display the measurement results on the serial monitor of the Arduino IDE environment, as well as &#8211; thanks to a server we&#8217;ve created &#8211; in a web browser. We also presented how to properly configure the Arduino IDE to work with the ESP32 module. Today we&#8217;ll show you how to connect the OLED display and display the values from the temperature sensor.<\/p><h2>What we need to complete the project<\/h2><p>To create the project we will of course need the ESP32 module itself and an OLED display. We used a 1.3\u2033 OLED screen based on the SH1106 controller. We recommend the kit we created with the ESP32 module where you can find all the required components.<\/p><p><b>The full list of components *<\/b><b>\u00a0used:<\/b><\/p><ul style=\"background-color: #ffffff;\"><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/esp32-wifi-and-bt-modules\/8893-esp32-wifi-bt-42-platform-with-module.html\" data-wpel-link=\"internal\">ESP32 module<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/oled-displays\/8867-oled-blue-graphic-display-13-128x64px-i2c-v2-blue-characters-5903351241182.html\" data-wpel-link=\"internal\">1.3\u2033 OLED display<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/digital-temperature-sensors\/165-temperature-sensor-ds18b20-digital-1-wire-tht.html\" data-wpel-link=\"internal\">DS18B20 sensor<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/through-hole-resistors-tht\/3973-tht-cf-carbon-resistor-14w-47k-30pcs.html\" data-wpel-link=\"internal\">4.7 k\u03a9 resistor<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/53-breadoards\" data-wpel-link=\"internal\">Contact board<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/various-wires\/1022-connecting-cables-male-male-65pcs.html\" data-wpel-link=\"internal\">Male-to-male connection wires<\/a><\/b><\/li><li style=\"line-height: 1.8;\"><b><a href=\"https:\/\/botland.store\/476-usb-20-cables\" data-wpel-link=\"internal\">MicroUSB cable<\/a><\/b><\/li><\/ul><p><b>*<\/b> If link redirects to Category page then the element is optional<\/p><h2>Connecting OLED display to ESP32<\/h2><p>The display communicates with the module via the I2C interface. We connected it to pins 21 (SDA) and 22 (SCK).<\/p><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1024x768.jpg\" sizes=\"(max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1024x768.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-300x225.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-768x576.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1536x1152.jpg 1536w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-2048x1536.jpg 2048w\" alt=\" width=\" height=\"600\" \/><br \/><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb.jpg\" sizes=\"(max-width: 1797px) 100vw, 1797px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb.jpg 1797w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-300x148.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-1024x506.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-768x380.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-1536x759.jpg 1536w\" alt=\" width=\" height=\"888\" \/><\/p><h2>Uploading libraries for OLED display<\/h2><p>In order to properly operate the display with the SH1106 controller, you need to install the appropriate libraries in the Arduino IDE environment. The required libraries can be found at the links:<\/p><ul><li><a href=\"https:\/\/github.com\/nhatuan84\/esp32-sh1106-oled\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\"><b>https:\/\/github.com\/nhatuan84\/esp32-sh1106-oled<\/b><\/a><\/li><li><b><a href=\"https:\/\/github.com\/adafruit\/Adafruit-GFX-Library\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">https:\/\/github.com\/adafruit\/Adafruit-GFX-Library<\/a><\/b><\/li><\/ul><p>Downloaded libraries stand as .zip package, install them in Arduino IDE environment.<\/p><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/javaw_6OPBY4h5JF.png\" sizes=\"(max-width: 697px) 100vw, 697px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/javaw_6OPBY4h5JF.png 697w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/javaw_6OPBY4h5JF-300x268.png 300w\" alt=\" width=\" height=\"623\" \/><\/p><p>A window will appear where you search for the location of the downloaded packages, then select the .zip library and select the Open button.<\/p><h2>Programming the ESP32 module<\/h2><p>After properly uploading the libraries for the OLED display we can start programming the ESP32 module. The following code will display the standard &#8220;Hello World&#8221; on the screen.<\/p><pre data-line=\"&quot;\"><code>\n\t\t\t\t\t\n\t\t\t\t<\/code><\/pre><p>The code is uploaded by default, by clicking the &#8220;Upload&#8221; button.<\/p><p>Once the display is properly connected and the code is applied, Hello World should appear on the screen.<\/p><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-1024x768.jpg\" sizes=\"(max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-1024x768.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-300x225.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-768x576.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-1536x1152.jpg 1536w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2135-2048x1536.jpg 2048w\" alt=\" width=\" height=\"600\" \/><\/p><p>The placement of elements on the screen can be configured freely by changing the position of the cursor. To do this just add this line in the code:<\/p><pre>display.setCursor(X, Y);<\/pre><p>where X is the horizontal position and Y is the vertical position. Start \/ default value is (0, 0).<\/p><p>Below is a sample code with the position of the displayed caption changed.<\/p><pre data-line=\"&quot;\"><code>\n\t\t\t\t\t\n\t\t\t\t<\/code><\/pre><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1024x768.jpg\" sizes=\"(max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1024x768.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-300x225.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-768x576.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-1536x1152.jpg 1536w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2137-2048x1536.jpg 2048w\" alt=\" width=\" height=\"600\" \/><\/p><h2>Display of temperature sensor data on OLED screen<\/h2><p>To connect the display, use the same components and libraries we used in the previous <a style=\"font-weight: bold;\" href=\"https:\/\/botland.store\/blog\/sandbox\/esp32-connection-with-ds18b20-temperature-sensor\/\" data-wpel-link=\"internal\">ESP32 &#8211; connecting to a DS18B20 temperature sensor<\/a><b>\u00a0<\/b>article. The diagram shows correct connection of the DS18B20 sensor and OLED display to ESP32 module.<\/p><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb.jpg\" sizes=\"(max-width: 1797px) 100vw, 1797px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb.jpg 1797w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-300x148.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-1024x506.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-768x380.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/ESP32_OLED_bb-1536x759.jpg 1536w\" alt=\" width=\" height=\"888\" \/><\/p><p>The following code allows to read data from DS18B20 temperature sensor and to display it on OLED.<\/p><p>The size of the text can be freely modified by changing the values in the line:<\/p><pre>display.setTextSize();<\/pre><pre data-line=\"&quot;\"><code>\n\t\t\t\t\t\n\t\t\t\t<\/code><\/pre><p><img decoding=\"async\" src=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-1024x768.jpg\" sizes=\"(max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-1024x768.jpg 1024w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-300x225.jpg 300w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-768x576.jpg 768w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-1536x1152.jpg 1536w, https:\/\/botland.store\/blog\/sandbox\/wp-content\/uploads\/2021\/06\/IMG-2142-2048x1536.jpg 2048w\" alt=\" width=\" height=\"600\" \/><\/p><p><b>Stay tuned for articles related to connecting other modules and sensors together with the ESP32 on Botland Blog.<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In the previous article we briefly explained what ESP32 is and what it can be used for. We also learned how to read data from a DS18B20 temperature sensor and display the measurement results on the serial monitor of the Arduino IDE environment, as well as &#8211; thanks to a server we&#8217;ve created &#8211; in [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":42401,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,341],"tags":[],"class_list":["post-42400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-tips"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ESP32 - connecting OLED display - Botland<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ESP32 - connecting OLED display - Botland\" \/>\n<meta property=\"og:description\" content=\"In the previous article we briefly explained what ESP32 is and what it can be used for. We also learned how to read data from a DS18B20 temperature sensor and display the measurement results on the serial monitor of the Arduino IDE environment, as well as &#8211; thanks to a server we&#8217;ve created &#8211; in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/\" \/>\n<meta property=\"og:site_name\" content=\"Botland\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/Botland\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-16T04:37:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-20T06:32:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1510\" \/>\n\t<meta property=\"og:image:height\" content=\"1510\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Grzegorz Galuba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Grzegorz Galuba\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/\"},\"author\":{\"name\":\"Grzegorz Galuba\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/person\\\/320f225a4bee757f7d030c49aea2a072\"},\"headline\":\"ESP32 &#8211; connecting OLED display\",\"datePublished\":\"2021-06-16T04:37:16+00:00\",\"dateModified\":\"2025-05-20T06:32:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/\"},\"wordCount\":511,\"publisher\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/zestaw-esp32_okladka-nr2-1.jpg\",\"articleSection\":[\"Electronics\",\"Tips\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/\",\"name\":\"ESP32 - connecting OLED display - Botland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/zestaw-esp32_okladka-nr2-1.jpg\",\"datePublished\":\"2021-06-16T04:37:16+00:00\",\"dateModified\":\"2025-05-20T06:32:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#primaryimage\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/zestaw-esp32_okladka-nr2-1.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/zestaw-esp32_okladka-nr2-1.jpg\",\"width\":1510,\"height\":1510},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/esp32-connecting-oled-display\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/botland.store\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ESP32 &#8211; connecting OLED display\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\",\"name\":\"Botland\",\"description\":\"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland\",\"publisher\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#organization\",\"name\":\"Botland\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"width\":250,\"height\":57,\"caption\":\"Botland\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/Botland\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/#\\\/schema\\\/person\\\/320f225a4bee757f7d030c49aea2a072\",\"name\":\"Grzegorz Galuba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/logo_kolor_WP_3-1-150x150.png\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/logo_kolor_WP_3-1-150x150.png\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/logo_kolor_WP_3-1-150x150.png\",\"caption\":\"Grzegorz Galuba\"},\"description\":\"GG nie ma czasu na gadu-gadu - jest zawsze na bie\u017c\u0105co z nowo\u015bciami z oferty, wybiera tylko najlepsze i dba, aby pojawia\u0142y si\u0119 na czas. Jego rozleg\u0142a wiedza o specyfikacjach technicznych produkt\u00f3w to nieocenione wsparcie dla ca\u0142ej ekipy. Do pracy przyje\u017cd\u017ca rowerem i ju\u017c najwy\u017csza pora, aby wszyscy zacz\u0119li bra\u0107 z niego przyk\u0142ad. Oaza spokoju.\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/author\\\/grzegorz\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ESP32 - connecting OLED display - Botland","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/","og_locale":"en_US","og_type":"article","og_title":"ESP32 - connecting OLED display - Botland","og_description":"In the previous article we briefly explained what ESP32 is and what it can be used for. We also learned how to read data from a DS18B20 temperature sensor and display the measurement results on the serial monitor of the Arduino IDE environment, as well as &#8211; thanks to a server we&#8217;ve created &#8211; in [&hellip;]","og_url":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/","og_site_name":"Botland","article_publisher":"https:\/\/facebook.com\/Botland\/","article_published_time":"2021-06-16T04:37:16+00:00","article_modified_time":"2025-05-20T06:32:08+00:00","og_image":[{"width":1510,"height":1510,"url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg","type":"image\/jpeg"}],"author":"Grzegorz Galuba","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Grzegorz Galuba"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#article","isPartOf":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/"},"author":{"name":"Grzegorz Galuba","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/person\/320f225a4bee757f7d030c49aea2a072"},"headline":"ESP32 &#8211; connecting OLED display","datePublished":"2021-06-16T04:37:16+00:00","dateModified":"2025-05-20T06:32:08+00:00","mainEntityOfPage":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/"},"wordCount":511,"publisher":{"@id":"https:\/\/botland.com.pl\/blog\/#organization"},"image":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg","articleSection":["Electronics","Tips"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/","url":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/","name":"ESP32 - connecting OLED display - Botland","isPartOf":{"@id":"https:\/\/botland.com.pl\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#primaryimage"},"image":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg","datePublished":"2021-06-16T04:37:16+00:00","dateModified":"2025-05-20T06:32:08+00:00","breadcrumb":{"@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#primaryimage","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2022\/07\/zestaw-esp32_okladka-nr2-1.jpg","width":1510,"height":1510},{"@type":"BreadcrumbList","@id":"https:\/\/botland.store\/blog\/esp32-connecting-oled-display\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/botland.store\/blog\/"},{"@type":"ListItem","position":2,"name":"ESP32 &#8211; connecting OLED display"}]},{"@type":"WebSite","@id":"https:\/\/botland.com.pl\/blog\/#website","url":"https:\/\/botland.com.pl\/blog\/","name":"Botland","description":"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland","publisher":{"@id":"https:\/\/botland.com.pl\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/botland.com.pl\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/botland.com.pl\/blog\/#organization","name":"Botland","url":"https:\/\/botland.com.pl\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","width":250,"height":57,"caption":"Botland"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/Botland\/"]},{"@type":"Person","@id":"https:\/\/botland.com.pl\/blog\/#\/schema\/person\/320f225a4bee757f7d030c49aea2a072","name":"Grzegorz Galuba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2019\/03\/logo_kolor_WP_3-1-150x150.png","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2019\/03\/logo_kolor_WP_3-1-150x150.png","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2019\/03\/logo_kolor_WP_3-1-150x150.png","caption":"Grzegorz Galuba"},"description":"GG nie ma czasu na gadu-gadu - jest zawsze na bie\u017c\u0105co z nowo\u015bciami z oferty, wybiera tylko najlepsze i dba, aby pojawia\u0142y si\u0119 na czas. Jego rozleg\u0142a wiedza o specyfikacjach technicznych produkt\u00f3w to nieocenione wsparcie dla ca\u0142ej ekipy. Do pracy przyje\u017cd\u017ca rowerem i ju\u017c najwy\u017csza pora, aby wszyscy zacz\u0119li bra\u0107 z niego przyk\u0142ad. Oaza spokoju.","url":"https:\/\/botland.store\/blog\/author\/grzegorz\/"}]}},"_links":{"self":[{"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/posts\/42400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/comments?post=42400"}],"version-history":[{"count":0,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/posts\/42400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/media\/42401"}],"wp:attachment":[{"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/media?parent=42400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/categories?post=42400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/botland.store\/blog\/wp-json\/wp\/v2\/tags?post=42400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}