{"id":22935,"date":"2021-08-24T07:34:55","date_gmt":"2021-08-24T07:34:55","guid":{"rendered":"https:\/\/electropeak.com\/learn\/?p=22935"},"modified":"2024-02-18T05:46:44","modified_gmt":"2024-02-18T05:46:44","slug":"getting-started-with-micropython-on-esp32-a-full-beginners-guide","status":"publish","type":"post","link":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/","title":{"rendered":"MicroPython on ESP32 and ESP8266 &#8211; A Comprehensive Guide"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"22935\" class=\"elementor elementor-22935\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2f101bd7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2f101bd7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-279cd649\" data-id=\"279cd649\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-aad5ea3 elementor-widget elementor-widget-heading\" data-id=\"aad5ea3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Overview<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-118ed784 elementor-widget elementor-widget-text-editor\" data-id=\"118ed784\" 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><span style=\"letter-spacing: 0px;\">Welcome to the world of <b>MicroPython on ESP32 and ESP8266!<\/b> In this tutorial, we will introduce you to MicroPython, highlighting the differences between MicroPython and regular Python, and demonstrate how to program your\u00a0<\/span><a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/esp32\" target=\"_blank\" rel=\"noopener\">ESP32\u00a0<\/a><span style=\"letter-spacing: 0px;\">and\u00a0<\/span><a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/esp8266\" target=\"_blank\" rel=\"noopener\">ESP8266<\/a><span style=\"letter-spacing: 0px;\">-based boards with MicroPython using the <b>uPyCraft IDE<\/b>. By the end of this guide, you will have your first <b>LED blinking using MicroPython<\/b>, empowering you to explore the vast potential of these powerful microcontrollers through the simplicity and flexibility of the Python programming language.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4c7ece81 elementor-widget elementor-widget-heading\" data-id=\"4c7ece81\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">What You Will Learn<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fe7f0e6 elementor-widget elementor-widget-text-editor\" data-id=\"fe7f0e6\" 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<ul><li>Getting familiar with MicroPython<\/li><li>Getting familiar with different suitable programming environments for MicroPython<\/li><li>Flashing ESP32 boards with the MicroPython firmware<\/li><li>Programming an ESP32 based board using MicroPython<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c583c01 elementor-widget elementor-widget-image\" data-id=\"c583c01\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonLogo.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonLogo\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NTAsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25Mb2dvLmpwZyJ9\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"533\" height=\"400\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonLogo.jpg\" class=\"attachment-medium size-medium wp-image-22950\" alt=\"\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7ec67b22 elementor-widget elementor-widget-heading\" data-id=\"7ec67b22\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">MicroPython vs. Python<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bdf51de elementor-widget elementor-widget-text-editor\" data-id=\"bdf51de\" 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>MicroPython is a programming language implemented based on the python programming language that has been specifically redesigned for use in microcontrollers. Using this language, you can easily program a lot of various microcontrollers. The following are some of the microcontrollers that can be programmed using MicroPython.<\/p><ul><li>Teensy 3.X based on FPGA<\/li><li>Most of\u00a0<a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/stm-boards\" target=\"_blank\" rel=\"noopener\">STM32 microcontrollers<\/a><\/li><li><a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/micro-bit\" target=\"_blank\" rel=\"noopener\">Micro:Bit microcontrollers<\/a><\/li><li>WiPy development board<\/li><li>All\u00a0<a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/esp32\" target=\"_blank\" rel=\"noopener\">ESP32<\/a>\u00a0and\u00a0<a href=\"https:\/\/electropeak.com\/development-boards\/microcontrollers\/esp8266\" target=\"_blank\" rel=\"noopener\">ESP8266\u00a0<\/a>based development boards<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b178412 elementor-widget elementor-widget-image\" data-id=\"b178412\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentBoards.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-DifferentBoards\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5MzgsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtRGlmZmVyZW50Qm9hcmRzLmpwZyJ9\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentBoards.jpg\" class=\"attachment-large size-large wp-image-22938\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentBoards.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentBoards-533x400.jpg 533w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentBoards-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-191a484 elementor-widget elementor-widget-text-editor\" data-id=\"191a484\" 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>One of the features of the MicroPython is that it is very similar to python, and if you have the experience working with python, consider yourself pretty much ready for programming in MicroPython language, too! And for those who have no former experience with python, don\u2019t worry. Since one of the reasons of the python popularity is its simplicity and steep learning curve!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5d9e6560 elementor-widget elementor-widget-heading\" data-id=\"5d9e6560\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Programming Environments for MicroPython on ESP32<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-90f1449 elementor-widget elementor-widget-text-editor\" data-id=\"90f1449\" 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>There have been several programming environments and different methods designed for programming in this language. The following are some of the most suitable ones:<\/p><ul><li>uPyCraft IDE<\/li><li>Thonny IDE<\/li><li>Entering the MicroPython programming environment through a serial terminal like PuTTY<\/li><li>Using the Python programming software packages like PyCharm and adding MicroPython extension<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d34e38b elementor-widget elementor-widget-image\" data-id=\"d34e38b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentSoftwares-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-DifferentSoftwares\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NjUsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtRGlmZmVyZW50U29mdHdhcmVzLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"766\" height=\"566\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentSoftwares-1.jpg\" class=\"attachment-large size-large wp-image-22965\" alt=\"ESP32 micropython programming enviroments\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentSoftwares-1.jpg 766w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-DifferentSoftwares-1-541x400.jpg 541w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b380d17 elementor-widget elementor-widget-heading\" data-id=\"3b380d17\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Micropython on ESP32: Installing uPyCraft IDE<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0eb539c elementor-widget elementor-widget-text-editor\" data-id=\"0eb539c\" 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>Among the programming environments and methods introduced in the previous section, the uPyCraft IDE offers a more attractive environment and a lot more capabilities compared to others. So, it seems to be a wise choice for getting started with MicroPython. In this tutorial, we are going to use this software for programming our ESP32 boards.<\/p><p><span style=\"letter-spacing: 0px;\">To get started with MicroController on ESP32 boards, first you need to Install Python and an IDE:<\/span><\/p><ul><li>Install Python on your system<\/li><li>Install a programming environment suitable for MicroPython \u2013We have used the uPyCraft IDE in this tutorial-<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c3c1a50 elementor-widget elementor-widget-heading\" data-id=\"5c3c1a50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Installing Python<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-521975b8 elementor-widget elementor-widget-text-editor\" data-id=\"521975b8\" 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>For using the uPyCraft IDE or any other similar software programs and compiling codes written in MicroPython programming language, you need to first have the Python installed on your computer. If you have not installed Python yet, do as following.<\/p><p>Click this <a href=\"https:\/\/www.python.org\/downloads\/\">link<\/a> to go to the download page of the Python webpage. You will see the following image.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bc2f0cb elementor-widget elementor-widget-image\" data-id=\"bc2f0cb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonPage.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-PythonPage\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NTMsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtUHl0aG9uUGFnZS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"510\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonPage.jpg\" class=\"attachment-large size-large wp-image-22953\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonPage.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonPage-600x383.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonPage-768x490.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-18482ed elementor-widget elementor-widget-text-editor\" data-id=\"18482ed\" 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>Next, click on the phrase in the red box specified in the image below and download the latest version of Python.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5f0d63b elementor-widget elementor-widget-image\" data-id=\"5f0d63b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonDownload-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-PythonDownload\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NjgsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtUHl0aG9uRG93bmxvYWQtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"510\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonDownload-1.jpg\" class=\"attachment-large size-large wp-image-22968\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonDownload-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonDownload-1-600x383.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-PythonDownload-1-768x490.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-66f084a elementor-widget elementor-widget-text-editor\" data-id=\"66f084a\" 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>To install Python, open the file you have downloaded. First tick the \u201cAdd Python 3.9 to Path\u201d option. Then, click on \u201cInstall Now\u201d like the following image.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4d98b59 elementor-widget elementor-widget-image\" data-id=\"4d98b59\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Install-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-Install\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzIsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtSW5zdGFsbC0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"409\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Install-1.jpg\" class=\"attachment-large size-large wp-image-22972\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Install-1.jpg 662w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Install-1-600x371.jpg 600w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6d6f98e elementor-widget elementor-widget-text-editor\" data-id=\"6d6f98e\" 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>Then, it will start installing, and you will see an image like this.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba83e62 elementor-widget elementor-widget-image\" data-id=\"ba83e62\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallProcess-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-InstallProcess\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzMsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtSW5zdGFsbFByb2Nlc3MtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"408\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallProcess-1.jpg\" class=\"attachment-large size-large wp-image-22973\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallProcess-1.jpg 664w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallProcess-1-600x369.jpg 600w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d7c31b1 elementor-widget elementor-widget-text-editor\" data-id=\"d7c31b1\" 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>After successfully installing the Python, you will see the following image.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-346485c elementor-widget elementor-widget-image\" data-id=\"346485c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallSuccessful-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-InstallSuccessful\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzQsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtSW5zdGFsbFN1Y2Nlc3NmdWwtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"409\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallSuccessful-1.jpg\" class=\"attachment-large size-large wp-image-22974\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallSuccessful-1.jpg 664w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-InstallSuccessful-1-600x370.jpg 600w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-6b8e2db2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6b8e2db2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-3478b8bd\" data-id=\"3478b8bd\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6d00e106 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"6d00e106\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f0ceaeb elementor-widget elementor-widget-heading\" data-id=\"3f0ceaeb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\"><span style=\"background-color: transparent\">Success<\/span><\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-50e90729 elementor-widget elementor-widget-text-editor\" data-id=\"50e90729\" 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<div class=\"mpc-alert mpc-transition mpc-typography--mpc_preset_13 mpc-inited\" data-cookie=\"mpc-alert-15265-0\" data-id=\"mpc_alert-905f330f8226f56\"><div class=\"mpc-alert__content\"><p>You have successfully installed the Python on your computer.<\/p><\/div><\/div>\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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-7670f4a elementor-widget elementor-widget-heading\" data-id=\"7670f4a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Download &amp; Use the uPyCraft IDE<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4fe1039 elementor-widget elementor-widget-text-editor\" data-id=\"4fe1039\" 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>After installing Python, now you are ready to use uPyCraft programming environment. To download this software, click the link below.<\/p><p><a style=\"letter-spacing: 0px; color: #d53e67; text-decoration-line: underline; background-color: #ffffff;\" href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/uPyCraft_V1.1.zip\">uPyCraft IDE download link<\/a><\/p><p>The uPyCraft IDE doesn\u2019t need to be installed, and you just need to open the downloaded file to use it.<\/p><p>This software has the following environment.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf02ac8 elementor-widget elementor-widget-image\" data-id=\"cf02ac8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-uPyCraftEnviroment-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-uPyCraftEnviroment\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzUsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtdVB5Q3JhZnRFbnZpcm9tZW50LTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"492\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-uPyCraftEnviroment-1.jpg\" class=\"attachment-large size-large wp-image-22975\" alt=\"uPycraft IDE\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-uPyCraftEnviroment-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-uPyCraftEnviroment-1-600x369.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-uPyCraftEnviroment-1-768x472.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-80b2e4f elementor-widget elementor-widget-text-editor\" data-id=\"80b2e4f\" 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>Now, the software is ready to use.<\/p><p>Next, we need to prepare the ESP32 board for being programmed with MicroPython.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1a75587 elementor-widget elementor-widget-heading\" data-id=\"1a75587\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Flash ESP32 Board with MicroPython Firmware<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c82ddc0 elementor-widget elementor-widget-text-editor\" data-id=\"c82ddc0\" 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 order to program an ESP32 board with MicroPython, you first need to flash it with its Firmware. For that, do as follows.<\/p>\n<p>First, we need to download the right MicroPython firmware for ESP32 boards. For that purpose, go to&nbsp;<a href=\"https:\/\/micropython.org\/download\/esp32\/\">MicroPython Firmware for ESP32 Download Page<\/a>. You will see the following image.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-15a91f7 elementor-widget elementor-widget-image\" data-id=\"15a91f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwarePage-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonFirmwarePage\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzYsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25GaXJtd2FyZVBhZ2UtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"600\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwarePage-1.jpg\" class=\"attachment-large size-large wp-image-22976\" alt=\"ESP32 micropython firmware\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwarePage-1.jpg 798w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwarePage-1-532x400.jpg 532w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwarePage-1-768x577.jpg 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-be8a9bf elementor-widget elementor-widget-text-editor\" data-id=\"be8a9bf\" 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 that page, scroll down a little and download the latest version of MicroPython firmware suitable for ESP32 boards, as shown below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1186b86 elementor-widget elementor-widget-image\" data-id=\"1186b86\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareDownload-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonFirmwareDownload\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5NzcsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25GaXJtd2FyZURvd25sb2FkLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"573\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareDownload-1.jpg\" class=\"attachment-large size-large wp-image-22977\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareDownload-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareDownload-1-558x400.jpg 558w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareDownload-1-768x550.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c842a1f elementor-widget elementor-widget-text-editor\" data-id=\"c842a1f\" 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>Once you have downloaded the MicroPython firmware, do the following to flash your ESP32 board with it.<\/p><p>First, open the uPyCraft IDE. Go to Tools \u2192 BurnFirmware.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4a0104a elementor-widget elementor-widget-image\" data-id=\"4a0104a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmware-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonFirmwareBurnFirmware\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODAsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25GaXJtd2FyZUJ1cm5GaXJtd2FyZS0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"496\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmware-1.jpg\" class=\"attachment-large size-large wp-image-22980\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmware-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmware-1-600x372.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmware-1-768x476.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-90fd579 elementor-widget elementor-widget-text-editor\" data-id=\"90fd579\" 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>Adjust the necessary setting as described below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-741a946 elementor-widget elementor-widget-image\" data-id=\"741a946\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODEsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25GaXJtd2FyZUJ1cm5GaXJtd2FyZVNldHRpbmdzLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"501\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings-1.jpg\" class=\"attachment-large size-large wp-image-22981\" alt=\"ESP32 micropython upycraft IDE setup\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings-1-600x376.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareBurnFirmwareSettings-1-768x481.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cdf0625 elementor-widget elementor-widget-text-editor\" data-id=\"cdf0625\" 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<ul><li>For board, choose \u201cesp32\u201d.<\/li><li>For burn_addr, choose \u201c0x1000\u201d.<\/li><li>For erase_flash, choose \u201cyes\u201d.<\/li><li>For com, choose the port number that your system recognizes your ESP32 board with. In our case, it\u2019s COM8.<\/li><li>For Firmware Choose, first click on \u201cUsers\u201d. Then, click on \u201cchoose\u201d and choose firmware you have already downloaded.<\/li><\/ul><p>After adjusting the settings above, click on \u201cok\u201d. Once the flashing of the ESP32 board begins, you will see an image like this.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b8616e2 elementor-widget elementor-widget-image\" data-id=\"b8616e2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareFlash-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-MicroPythonFirmwareFlash\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODIsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTWljcm9QeXRob25GaXJtd2FyZUZsYXNoLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"586\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareFlash-1.jpg\" class=\"attachment-large size-large wp-image-22982\" alt=\"flash ESP32 micropython firmware\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareFlash-1.jpg 934w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareFlash-1-600x376.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-MicroPythonFirmwareFlash-1-768x482.jpg 768w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-fd9874b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fd9874b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-1be94a6\" data-id=\"1be94a6\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-25e4b38 elementor-view-stacked elementor-widget__width-auto elementor-absolute elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"25e4b38\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;absolute&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dbe123c elementor-widget elementor-widget-heading\" data-id=\"dbe123c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\"><span style=\"background-color: transparent\">Success<\/span><\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c0122e7 elementor-widget elementor-widget-text-editor\" data-id=\"c0122e7\" 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<div class=\"mpc-alert mpc-transition mpc-typography--mpc_preset_13 mpc-inited\" data-cookie=\"mpc-alert-15265-0\" data-id=\"mpc_alert-905f330f8226f56\"><div class=\"mpc-alert__content\"><p>You have successfully flashed the MicroPython firmware to your ESP32 board. Now, you can program it with the MicroPython language.<\/p><\/div><\/div>\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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-9620797 elementor-widget elementor-widget-heading\" data-id=\"9620797\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u064dESP32 MicroPython Example: Blinking LED<span style=\"letter-spacing: 0px\"><\/span><br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-99b1831 elementor-widget elementor-widget-text-editor\" data-id=\"99b1831\" 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>After completing the steps above, now you\u2019re fully prepared for doing your first project with the MicroPython language.<\/p><p>The board we\u2019re using here is NodeMCU \u2013 ESP32S Edition. This board has an on-board LED which is connected to the GPIO2 pin (read the\u00a0<a href=\"https:\/\/electropeak.com\/learn\/full-guide-to-esp32-pinout-reference-what-gpio-pins-should-we-use\/\" target=\"_blank\" rel=\"noopener\">ESP32 pinout and GPIO guide<\/a>\u00a0here). We are going to control that LED by programming the board with the MicroPython programming language and make it blink. If you\u2019re using a different ESP32 based development board, and you\u2019re not sure if it comes with an on-board LED connected to the GPIO2 pin, you can easily connect an external LED to the GPIO2 pin. For that, you just need to connect one side of the LED to the GPIO2 pin and the other side to the GND. Then you can you same code.<\/p><p>For programming the ESP32 board with MicroPython, do as follows.<\/p><p>First, connect your ESP32 board to the computer. Then, open the uPyCraft IDE. Next, go to the \u201cTools\u201d menu and choose the right \u201cSerial\u201d and \u201cboard\u201d as shown below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7559899 elementor-widget elementor-widget-image\" data-id=\"7559899\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-SerialSelection-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-SerialSelection\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODMsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtU2VyaWFsU2VsZWN0aW9uLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"499\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-SerialSelection-1.jpg\" class=\"attachment-large size-large wp-image-22983\" alt=\"micropython esp32 example\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-SerialSelection-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-SerialSelection-1-600x374.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-SerialSelection-1-768x479.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-313fdac elementor-widget elementor-widget-image\" data-id=\"313fdac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-BoardSelection-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-BoardSelection\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODYsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtQm9hcmRTZWxlY3Rpb24tMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"499\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-BoardSelection-1.jpg\" class=\"attachment-large size-large wp-image-22986\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-BoardSelection-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-BoardSelection-1-600x374.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-BoardSelection-1-768x479.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9881d92 elementor-widget elementor-widget-text-editor\" data-id=\"9881d92\" 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>As shown in the image below, click on \u201cNew\u201d option from the taskbar on the right to create a new file.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-379209d elementor-widget elementor-widget-image\" data-id=\"379209d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-NewEditor-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-NewEditor\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODcsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtTmV3RWRpdG9yLTEuanBnIn0%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"543\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-NewEditor-1.jpg\" class=\"attachment-large size-large wp-image-22987\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-NewEditor-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-NewEditor-1-589x400.jpg 589w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-NewEditor-1-768x521.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ec836ad elementor-widget elementor-widget-text-editor\" data-id=\"ec836ad\" 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>Write the following code in the new file you have created.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-23a4fe8 elementor-widget elementor-widget-html\" data-id=\"23a4fe8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre class=\"line-numbers lang-arduino\"><code>\r\n#  Made on Jun 28, 2021\r\n#  By MehranMaleki @  Electropeak\r\n#  https:\/\/electropeak.com\/learn\/\r\nfrom machine import Pin\r\nfrom time import sleep\r\nled = Pin(2, Pin.OUT)\r\nwhile True:\r\n    led.value (not led.value())\r\n    sleep(1)\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-47894ea elementor-widget elementor-widget-text-editor\" data-id=\"47894ea\" 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>Click on \u201cSave\u201d option in the taskbar on the right, as shown below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5f45a8c elementor-widget elementor-widget-image\" data-id=\"5f45a8c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave1-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-EditorSave1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5ODksInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtRWRpdG9yU2F2ZTEtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"543\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave1-1.jpg\" class=\"attachment-large size-large wp-image-22989\" alt=\"micropython esp32 programming\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave1-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave1-1-589x400.jpg 589w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave1-1-768x521.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7457fc4 elementor-widget elementor-widget-text-editor\" data-id=\"7457fc4\" 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 opened page, choose a name you like for the file and click on \u201cok\u201d.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c070d01 elementor-widget elementor-widget-image\" data-id=\"c070d01\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave2-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-EditorSave2\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5OTAsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtRWRpdG9yU2F2ZTItMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"540\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave2-1.jpg\" class=\"attachment-large size-large wp-image-22990\" alt=\"ESP32 micropython save project\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave2-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave2-1-593x400.jpg 593w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-EditorSave2-1-768x518.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf1676b elementor-widget elementor-widget-text-editor\" data-id=\"cf1676b\" 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>Now, upload the code above on the ESP32 board. For that, you can click on the \u201cDownloadAndRun\u201d option in the taskbar on the right.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65fd6cc elementor-widget elementor-widget-image\" data-id=\"65fd6cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile1-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-UploadFile1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5OTEsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtVXBsb2FkRmlsZTEtMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"511\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile1-1.jpg\" class=\"attachment-large size-large wp-image-22991\" alt=\"ESP32 micropython run project\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile1-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile1-1-600x383.jpg 600w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile1-1-768x491.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8532de6 elementor-widget elementor-widget-text-editor\" data-id=\"8532de6\" 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>After successfully uploading the code, the terminal of the uPyCraft IDE will be like the image below and the LED will start blinking.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4be8c0f elementor-widget elementor-widget-image\" data-id=\"4be8c0f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile2-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-UploadFile2\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5OTIsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtVXBsb2FkRmlsZTItMS5qcGcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"544\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile2-1.jpg\" class=\"attachment-large size-large wp-image-22992\" alt=\"\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile2-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile2-1-588x400.jpg 588w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-UploadFile2-1-768x522.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f8d8c28 elementor-widget elementor-widget-video\" data-id=\"f8d8c28\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;video_type&quot;:&quot;hosted&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;play_on_mobile&quot;:&quot;yes&quot;,&quot;mute&quot;:&quot;yes&quot;,&quot;loop&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"e-hosted-video elementor-wrapper elementor-open-inline\">\n\t\t\t\t\t<video class=\"elementor-video\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-AfterUploadingVideo.mp4\" autoplay=\"\" loop=\"\" muted=\"muted\" playsinline=\"\" controlsList=\"nodownload\"><\/video>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-72ec88b elementor-widget elementor-widget-text-editor\" data-id=\"72ec88b\" 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>You can also stop the execution of the code by clicking on \u201cStop\u201d option, as shown in the image below.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c251d46 elementor-widget elementor-widget-image\" data-id=\"c251d46\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Stop-1.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"MicroPythonforESP-Stop\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjI5OTQsInVybCI6Imh0dHBzOlwvXC9lbGVjdHJvcGVhay5jb21cL2xlYXJuXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8wOFwvTWljcm9QeXRob25mb3JFU1AtU3RvcC0xLmpwZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"542\" src=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Stop-1.jpg\" class=\"attachment-large size-large wp-image-22994\" alt=\"micropython esp32 blinking LED\" srcset=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Stop-1.jpg 800w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Stop-1-590x400.jpg 590w, https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Stop-1-768x520.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6599f840 elementor-widget elementor-widget-heading\" data-id=\"6599f840\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">ESP32 Micropython: What\u2019s Next?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-52c679db elementor-widget elementor-widget-text-editor\" data-id=\"52c679db\" 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<ul><li>Next, using the MicroPython programming language, enable the ESP32 Wi-Fi, scan Wi-Fi networks and display the list of available networks.<\/li><\/ul>\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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Overview Welcome to the world of MicroPython on ESP32 and ESP8266! In this tutorial, we will introduce you to MicroPython, highlighting the differences between MicroPython and regular Python, and demonstrate how to program your\u00a0ESP32\u00a0and\u00a0ESP8266-based boards with MicroPython using the uPyCraft IDE. By the end of this guide, you will have your first LED blinking using [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":22936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[948],"tags":[],"platform":[2732],"bytype":[1075],"difficulty":[1077],"related_products":[4844],"class_list":["post-22935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","platform-esp32","bytype-hookup-guides","difficulty-beginner","related_products-esp32"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MicroPython on ESP32 and ESP8266 - A Comprehensive Guide<\/title>\n<meta name=\"description\" content=\"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MicroPython on ESP32 and ESP8266 - A Comprehensive Guide\" \/>\n<meta property=\"og:description\" content=\"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Electropeak\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-24T07:34:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-18T05:46:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mehran Maleki\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mehran Maleki\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/\"},\"author\":{\"name\":\"Mehran Maleki\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/66714d7ed628304044d2655e23cc2f51\"},\"headline\":\"MicroPython on ESP32 and ESP8266 &#8211; A Comprehensive Guide\",\"datePublished\":\"2021-08-24T07:34:55+00:00\",\"dateModified\":\"2024-02-18T05:46:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/\"},\"wordCount\":1184,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/MicroPythonforESP-Teaser.jpg\",\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/\",\"name\":\"MicroPython on ESP32 and ESP8266 - A Comprehensive Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/MicroPythonforESP-Teaser.jpg\",\"datePublished\":\"2021-08-24T07:34:55+00:00\",\"dateModified\":\"2024-02-18T05:46:44+00:00\",\"description\":\"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/MicroPythonforESP-Teaser.jpg\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/MicroPythonforESP-Teaser.jpg\",\"width\":1200,\"height\":900},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MicroPython on ESP32 and ESP8266 &#8211; A Comprehensive Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#website\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"name\":\"Electropeak\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#organization\",\"name\":\"ElectroPeak\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"contentUrl\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/logo-electropeak-v3-square.png\",\"width\":620,\"height\":620,\"caption\":\"ElectroPeak\"},\"image\":{\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/electropeak.com\\\/learn\\\/#\\\/schema\\\/person\\\/66714d7ed628304044d2655e23cc2f51\",\"name\":\"Mehran Maleki\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g\",\"caption\":\"Mehran Maleki\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MicroPython on ESP32 and ESP8266 - A Comprehensive Guide","description":"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.","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:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/","og_locale":"en_US","og_type":"article","og_title":"MicroPython on ESP32 and ESP8266 - A Comprehensive Guide","og_description":"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.","og_url":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/","og_site_name":"Electropeak","article_published_time":"2021-08-24T07:34:55+00:00","article_modified_time":"2024-02-18T05:46:44+00:00","og_image":[{"width":1200,"height":900,"url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg","type":"image\/jpeg"}],"author":"Mehran Maleki","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mehran Maleki","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#article","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/"},"author":{"name":"Mehran Maleki","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51"},"headline":"MicroPython on ESP32 and ESP8266 &#8211; A Comprehensive Guide","datePublished":"2021-08-24T07:34:55+00:00","dateModified":"2024-02-18T05:46:44+00:00","mainEntityOfPage":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/"},"wordCount":1184,"commentCount":0,"publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"image":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg","articleSection":["Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/","url":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/","name":"MicroPython on ESP32 and ESP8266 - A Comprehensive Guide","isPartOf":{"@id":"https:\/\/electropeak.com\/learn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#primaryimage"},"image":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg","datePublished":"2021-08-24T07:34:55+00:00","dateModified":"2024-02-18T05:46:44+00:00","description":"Get started with MicroPython on ESP32 and ESP8266 boards. Learn micropython programming in this ESP32 micropython tutorial with examples.","breadcrumb":{"@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#primaryimage","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2021\/08\/MicroPythonforESP-Teaser.jpg","width":1200,"height":900},{"@type":"BreadcrumbList","@id":"https:\/\/electropeak.com\/learn\/getting-started-with-micropython-on-esp32-a-full-beginners-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/electropeak.com\/learn\/"},{"@type":"ListItem","position":2,"name":"MicroPython on ESP32 and ESP8266 &#8211; A Comprehensive Guide"}]},{"@type":"WebSite","@id":"https:\/\/electropeak.com\/learn\/#website","url":"https:\/\/electropeak.com\/learn\/","name":"Electropeak","description":"","publisher":{"@id":"https:\/\/electropeak.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/electropeak.com\/learn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/electropeak.com\/learn\/#organization","name":"ElectroPeak","url":"https:\/\/electropeak.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","contentUrl":"https:\/\/electropeak.com\/learn\/wp-content\/uploads\/2026\/07\/logo-electropeak-v3-square.png","width":620,"height":620,"caption":"ElectroPeak"},"image":{"@id":"https:\/\/electropeak.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/electropeak.com\/learn\/#\/schema\/person\/66714d7ed628304044d2655e23cc2f51","name":"Mehran Maleki","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3182eb4fcddd5995ed6f7ce4a7097249d959e89315d288ca971583af62afe5ad?s=96&d=mm&r=g","caption":"Mehran Maleki"}}]}},"_links":{"self":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/22935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/comments?post=22935"}],"version-history":[{"count":41,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/22935\/revisions"}],"predecessor-version":[{"id":29218,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/posts\/22935\/revisions\/29218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media\/22936"}],"wp:attachment":[{"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/media?parent=22935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/categories?post=22935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/tags?post=22935"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/platform?post=22935"},{"taxonomy":"bytype","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/bytype?post=22935"},{"taxonomy":"difficulty","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/difficulty?post=22935"},{"taxonomy":"related_products","embeddable":true,"href":"https:\/\/electropeak.com\/learn\/wp-json\/wp\/v2\/related_products?post=22935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}