{"id":3132,"date":"2023-01-17T20:04:05","date_gmt":"2023-01-17T20:04:05","guid":{"rendered":"https:\/\/www.sydspost.nl\/?p=3132"},"modified":"2023-01-29T18:48:59","modified_gmt":"2023-01-29T18:48:59","slug":"micropython-flashen-op-seeed-studio-xiao-esp32c3","status":"publish","type":"post","link":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/","title":{"rendered":"Micropython flashen op Seeed studio Xiao ESP32C3"},"content":{"rendered":"\n<p>In deze tutorial flashen we MicroPython op een Seeed studio Xiao ESP32C3 microcontroller.<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-300x300.png\" alt=\"\" class=\"wp-image-3133\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-300x300.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-150x150.png 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-768x768.png 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-640x640.png 640w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-666x666.png 666w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11-50x50.png 50w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-11.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n\n<p>Benodigdheden:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Seeed studio Xiao ESP32C3<\/li>\n\n\n\n<li>USB-C kabel<\/li>\n<\/ul>\n\n\n\n<p>Stap 1. Download laatste versie van Micropython<\/p>\n\n\n\n<p>Je hebt de firmware voor een Seeed studio Xiao ESP32C3 microcontroller nodig, hiervoor gebruiken de generieke firmware voor een ESP32C3 met USB, deze vindt je hier: <a href=\"http:\/\/www.micropython.org\/download\/esp32c3-usb\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.micropython.org\/download\/esp32c3-usb\/<\/a><\/p>\n\n\n\n<p>Kies de meest recente versie van de firmware, in mijn geval was dat v1.19.1 (2022-06-18) .bin. Download de v1.19.1 (2022-06-18) .bin file.<\/p>\n\n\n\n<p>Stap 2. Erase het flash geheugen van je Seeed studio Xiao ESP32C3<\/p>\n\n\n\n<p>Start een cmd prompt en voer het volgende commando uit:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">esptool --chip esp32C3 --port &lt;com port&gt; erase_flash<\/pre>\n\n\n\n<p>Vervang &lt;com port&gt; door de com-poort waar je je ESP32C3 op aangesloten hebt. Weet je niet op welke com-poort je de ESP32 hebt aangesloten, kijk dan ingeval van Windows in Apparaatbeheer -&gt; Poorten (COM &amp; LPT) en zoek naar &#8220;Serieel USB-apparaat&#8221;. Hierachter staat de com-poort, in mijn geval COM7. In geval van Linux kun je het commando dmesg uitvoeren om te achterhalen op welke tty-device je ESP32 is aangesloten. Dit geeft de volgende output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\spost&gt;esptool.py --chip esp32c3 --port COM7 erase_flash\nesptool.py v4.3\nSerial port COM7\nConnecting...\nChip is ESP32-C3 (revision v0.4)\nFeatures: WiFi, BLE\nCrystal is 40MHz\nMAC: 34:85:18:04:49:38\nUploading stub...\nRunning stub...\nStub running...\nErasing flash (this may take a while)...\nChip erase completed successfully in 17.2s\nHard resetting via RTS pin...<\/pre>\n\n\n\n<p>Het flash geheugen is nu gewist.<\/p>\n\n\n\n<p><em>Noot 29-1-2023: Vandaag de ESP32C3 opnieuw geflashed, moest nu de boot-button ingedrukt houden terwijl ik de USB kabel aansloot om de ESP32C3 in bootloader mode te krijgen.<\/em><\/p>\n\n\n\n<p>Stap 3. Firmware flashen naar de Seeed studio Xiao ESP32C3<\/p>\n\n\n\n<p>Zoek de in stap 1. gedownloade firmware file op, waarschijnlijk onder Downloads. In mijn geval bevindt de file zich in de map C:\\Users\\spost\\Downloads. Ga naar die directory met het volgende commando:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd C:\\Users\\spost\\Downloads<\/pre>\n\n\n\n<p>Voer hier het volgende commando uit om de MicroPython firmware naar je ESP32C3 te flashen<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">esptool --chip esp32C3 --port &lt;com port&gt; --baud 115200 write_flash -z 0x0 &lt;firmware.bin&gt;<\/pre>\n\n\n\n<p>Vervang &lt;com port&gt; door de COM-poort waar je je ESP32C3 op het aangesloten, en verander &lt;firmware.bin&gt; in de naam van de file die je in stap 1 hebt gedownload. Het commando geeft de volgende output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\spost\\Downloads&gt;esptool.py --chip esp32c3 --port COM7 --baud 115200 write_flash -z 0x0 esp32c3-usb-20220618-v1.19.1.bin\nesptool.py v4.3\nSerial port COM7\nConnecting...\nChip is ESP32-C3 (revision v0.4)\nFeatures: WiFi, BLE\nCrystal is 40MHz\nMAC: 34:85:18:04:49:38\nUploading stub...\nRunning stub...\nStub running...\nConfiguring flash size...\nFlash will be erased from 0x00000000 to 0x0015dfff...\nCompressed 1431808 bytes to 868690...\nWrote 1431808 bytes (868690 compressed) at 0x00000000 in 19.6 seconds (effective 584.5 kbit\/s)...\nHash of data verified.\n\nLeaving...\nHard resetting via RTS pin...<\/pre>\n\n\n\n<p>Je Seeed studio Xiao ESP32C3 is nu geflashed met de laatste versie van MicroPython. We gaan nu een klein testje uitvoeren.<\/p>\n\n\n\n<p>Stap 4. Hello world ! test<\/p>\n\n\n\n<p>Open Putty en maak een seri\u00eble verbinding met de Seeed studio Xiao ESP32C3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"682\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-13.png\" alt=\"\" class=\"wp-image-3137\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-13.png 677w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-13-298x300.png 298w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-13-150x150.png 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-13-50x50.png 50w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p>De REPL van Micropython verschijnt. Typ hierin het commando<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Performing initial setup\n&gt;&gt;&gt; print(\"Hello world!\")<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"994\" height=\"581\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-10.png\" alt=\"\" class=\"wp-image-3128\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-10.png 994w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-10-300x175.png 300w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-10-768x449.png 768w\" sizes=\"auto, (max-width: 994px) 100vw, 994px\" \/><\/figure>\n\n\n\n<p>MicroPython is alive !<\/p>\n\n\n\n<p>Stap 5. WiFi verbinding maken<\/p>\n\n\n\n<p>De ESP32C3 toont zichzelf op het WiFi netwerk als een access point. Maak met je telefoon of laptop verbinding met de accesspoint met de naam &#8220;MicroPython-xxxxxx&#8221;, in mijn geval &#8220;MicroPython-9a0865&#8221;. Het wachtwoord is &#8220;micropythoN&#8221;. Vervolgens kun je in je browser het ip-address &#8220;192.168.4.1&#8221; openen. Bij mij werkte die methode echter niet. Daarom via de REPL prompt het device op het WiFi netwerk aangesloten. Voer achtereenvolgens de volgende commando&#8217;s uit. Vervang &lt;SSID van he 2.4Ghz WiFi netwerk&gt; en &lt;WiFi wachtwoord&gt; door het SSID en wachtwoord van jou 2.4Ghz WiFi-netwerk.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt;&gt; import network\n&gt;&gt;&gt; wlan = network.WLAN(network.STA_IF)\n&gt;&gt;&gt; wlan.active(True)\nTrue\n&gt;&gt;&gt; wlan.connect(\"&lt;SSID van he 2.4Ghz WiFi netwerk&gt;\", \"&lt;WiFi wachtwoord&gt;\")\n&gt;&gt;&gt; wlan.ifconfig()\n('0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0')\n&gt;&gt;&gt;\n<\/pre>\n\n\n\n<p>Oeps, dat werkt niet. Blijkbaar onvoldoende bereik zonder de antenne, daarom eerst maar de antenne er op geklikt en opnieuw geprobeerd.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MicroPython v1.19.1 on 2022-06-18\n&gt;&gt;&gt; import network\n&gt;&gt;&gt; wlan = network.WLAN(network.STA_IF)\n&gt;&gt;&gt; wlan.active(True)\nTrue\n&gt;&gt;&gt; wlan.connect(\"&lt;SSID van he 2.4Ghz WiFi netwerk&gt;\", \"&lt;WiFi wachtwoord&gt;\")\n&gt;&gt;&gt; wlan.ifconfig()\n('192.168.2.105', '255.255.255.0', '192.168.2.254', '192.168.2.29')\n&gt;&gt;&gt;\n<\/code><\/pre>\n\n\n\n<p> Op de laatste regel vindt je het IP-address van je ESP32C3 terug, in mij geval 192.168.2.105.<\/p>\n\n\n\n<p>Stap 6. Extra modules installeren<\/p>\n\n\n\n<p>Eigen of publieke micropython modules kun je installeren met het commando upip. Om bijvoorbeeld de module &#8220;micropython-time&#8221;, wat een equivalent is voor de python module &#8220;time&#8221;, te installeren voer je achtereenvolgende volgende commando&#8217;s uit<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt;&gt; import upip\n&gt;&gt;&gt; upip.install(\"micropython-time\")\nInstalling to: \/lib\/\nWarning: micropython.org SSL certificate is not validated\nInstalling micropython-time 0.5 from https:\/\/micropython.org\/pi\/time\/time-0.5.tar.gz\nInstalling micropython-ffilib 0.1.3 from https:\/\/micropython.org\/pi\/ffilib\/ffilib-0.1.3.tar.gz\n&gt;&gt;&gt; import time\n&gt;&gt;&gt;<\/pre>\n\n\n\n<p>Stap 7. MicroPython files laden en uitvoeren<\/p>\n\n\n\n<p>Natuurlijk wil je je eigen gemaakte MicroPython code, of code die je ergens op bijv. github hebt gevonden, runnen op je ESP32C3. Er zijn tools ontwikkeld die je daarbij helpen. Een daarvan is ampy, deze gebruik ik in deze tutorial. Installeer ampy als volgt. Open een CMD prompt op je laptop, en voer het volgende commando uit:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\spost\\python&gt;pip install adafruit-ampy\nCollecting adafruit-ampy\n  Downloading adafruit_ampy-1.1.0-py2.py3-none-any.whl (16 kB)\nRequirement already satisfied: pyserial in c:\\users\\spost\\appdata\\local\\programs\\python\\python310\\lib\\site-packages (from adafruit-ampy) (3.5)\nCollecting click\n  Downloading click-8.0.4-py3-none-any.whl (97 kB)\n     ---------------------------------------- 97.5\/97.5 KB ? eta 0:00:00\nCollecting python-dotenv\n  Downloading python_dotenv-0.19.2-py2.py3-none-any.whl (17 kB)\nCollecting colorama\n  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)\nInstalling collected packages: python-dotenv, colorama, click, adafruit-ampy\nSuccessfully installed adafruit-ampy-1.1.0 click-8.0.4 colorama-0.4.4 python-dotenv-0.19.2<\/pre>\n\n\n\n<p>Je bent nu klaar om je eerste micropython programma te uploaden naar je ESP32C3, terug naar de CMD prompt voer je het volgende commando uit<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ampy --port &lt;COM port&gt; put &lt;Micropython file.py&gt;<\/pre>\n\n\n\n<p>Vervang &lt;COM-port&gt; door de COM-poort waarop je ESP32C3 is aangesloten, en vervang  &lt;Micropython file.py&gt; door de bestandsnaam van je Micropython source code. In mijn geval COM7 respectievelijk &#8220;wifi.py&#8221; uit de directory C:\\Users\\spost\\python&gt;. Zorg er wel voor dat je je PUTTY sessie hebt be\u00ebindigt, anders blokkeert deze je COM-poort.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\spost\\python&gt;ampy --port COM7 put wifi.py<\/pre>\n\n\n\n<p>Open opnieuw PUTTY en maak een seri\u00eble verbinding met je ESP32C3. Als je onderstaande commando&#8217;s uitvoert in de RPEL interface zie je dat je MicroPython source file is toevoegd aan de lijst met bestanden.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt;&gt; import os\n&gt;&gt;&gt; os.listdir()\n['boot.py', 'lib', 'wifi.py']\n&gt;&gt;&gt;\n<\/pre>\n\n\n\n<p>Je voert nu de MicroPython code uit met het commando import, dus:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt;&gt; import wifi\n<\/pre>\n\n\n\n<p>Om de code bij het opstarten van de ESP32 uit te laten voeren dien je je MicroPython source code bestandsnaam te veranderen in &#8220;main.py&#8221;, en deze up te loaden met ampy. Bijvoorbeeld nadat je de filenaam op je laptop of linux systeem hebt aangepast.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ampy --port COM7 rm wifi.py\nampy --port COM7 put main.py<\/pre>\n\n\n\n<p>Stap 8. Bluetooth verbinding maken<\/p>\n\n\n\n<p>Voor het maken van een bluetoothverbinding gebruiken we een voorbeeldapplicatie van de MicroPython github site. Download de files &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/micropython\/micropython\/master\/examples\/bluetooth\/ble_advertising.py\" target=\"_blank\" rel=\"noreferrer noopener\">ble_advertising.py<\/a>&#8221; en &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/micropython\/micropython\/master\/examples\/bluetooth\/ble_uart_peripheral.py\">ble_uart_peripheral.py<\/a>&#8221; vanaf deze site, eventueel m.b.v. knippen en plakken in notepad. Upload beide files naar de ESP32C3 m.b.v. de volgende commando&#8217;s:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ampy --port COM7 put ble_advertising.py\nampy --port COM7 put ble_uart_peripheral.py<\/code><\/pre>\n\n\n\n<p>Maak m.b.v. Putty een connectie met de ESP32C3, toets op de repl prompt de volgende commando&#8217;s:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MicroPython v1.19.1 on 2022-06-18\n&gt;&gt;&gt; import ble_uart_peripheral\n&gt;&gt;&gt; ble_uart_peripheral.demo()\n<\/code><\/pre>\n\n\n\n<p>Een handige app om de connectie te testen is de app &#8220;<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=de.kai_morich.serial_bluetooth_terminal\" target=\"_blank\" rel=\"noreferrer noopener\">Bluetooth terminal<\/a>&#8220;, je kunt deze downloaden vanuit Google Play.<\/p>\n\n\n\n<p>Open de app en kies binnen het menu voor devices, kies voor het tab &#8220;Bluetooth LE&#8221; en druk op SCAN. Als alles goed gaat staat daar een bluetooth devices tussen met de naam &#8220;mpy_uart&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"1024\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550-512x1024.jpg\" alt=\"\" class=\"wp-image-3146\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550-512x1024.jpg 512w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550-150x300.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550-768x1536.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550-1024x2048.jpg 1024w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092550.jpg 1080w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>Druk hier op, en er wordt verbinding gemaakt met de ESP32C3. Op het scherm komen nu regels met datum-tijd en een getal, er is connectie en het werkt ! Toets op de onderste regel wat in, bijvoorbeeld de tekst &#8220;test&#8221; en druk op het pijtlje rechts. Deze tekst wordt nu naar de ESP32C3 gestuurd.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"1024\" data-id=\"3147\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846-512x1024.jpg\" alt=\"\" class=\"wp-image-3147\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846-512x1024.jpg 512w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846-150x300.jpg 150w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846-768x1536.jpg 768w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846-1024x2048.jpg 1024w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/Screenshot_20230118-092846.jpg 1080w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"576\" data-id=\"3148\" src=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-14.png\" alt=\"\" class=\"wp-image-3148\" srcset=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-14.png 546w, https:\/\/www.sydspost.nl\/wp-content\/uploads\/2023\/01\/image-14-284x300.png 284w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n<\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In deze tutorial flashen we MicroPython op een Seeed studio Xiao ESP32C3 microcontroller. Benodigdheden: Stap 1. Download laatste versie van<\/p>\n<p><a href=\"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/\" class=\"more-link\">Verder lezen<span class=\"screen-reader-text\">Micropython flashen op Seeed studio Xiao ESP32C3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[194,193,171,191,192],"class_list":["post-3132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotica-software","tag-ble","tag-bluetooth","tag-micropython","tag-seeed-studio-xiao-esp32c3","tag-wifi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten<\/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:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten\" \/>\n<meta property=\"og:description\" content=\"In deze tutorial flashen we MicroPython op een Seeed studio Xiao ESP32C3 microcontroller. Benodigdheden: Stap 1. Download laatste versie vanVerder lezenMicropython flashen op Seeed studio Xiao ESP32C3\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/\" \/>\n<meta property=\"og:site_name\" content=\"Mijn domotica projecten\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/syds.post\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-17T20:04:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-29T18:48:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"222\" \/>\n\t<meta property=\"og:image:height\" content=\"227\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Syds\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschreven door\" \/>\n\t<meta name=\"twitter:data1\" content=\"Syds\" \/>\n\t<meta name=\"twitter:label2\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/\"},\"author\":{\"name\":\"Syds\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\"},\"headline\":\"Micropython flashen op Seeed studio Xiao ESP32C3\",\"datePublished\":\"2023-01-17T20:04:05+00:00\",\"dateModified\":\"2023-01-29T18:48:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/\"},\"wordCount\":988,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Naamloos.jpg\",\"keywords\":[\"BLE\",\"bluetooth\",\"MicroPython\",\"Seeed studio Xiao ESP32C3\",\"wifi\"],\"articleSection\":[\"Software\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/\",\"name\":\"Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Naamloos.jpg\",\"datePublished\":\"2023-01-17T20:04:05+00:00\",\"dateModified\":\"2023-01-29T18:48:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Naamloos.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/Naamloos.jpg\",\"width\":222,\"height\":227},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/2023\\\/01\\\/17\\\/micropython-flashen-op-seeed-studio-xiao-esp32c3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sydspost.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Micropython flashen op Seeed studio Xiao ESP32C3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"name\":\"Mijn domotica projecten\",\"description\":\"met Domoticz\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sydspost.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#organization\",\"name\":\"Mijn domotica projecten\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sydspost.nl\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Domoticz-logo.png\",\"width\":256,\"height\":256,\"caption\":\"Mijn domotica projecten\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sydspost.nl\\\/#\\\/schema\\\/person\\\/429f92898f98d9c4e01b8fad60975b21\",\"name\":\"Syds\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g\",\"caption\":\"Syds\"},\"sameAs\":[\"https:\\\/\\\/www.sydspost.nl\",\"https:\\\/\\\/www.facebook.com\\\/syds.post\\\/\"],\"url\":\"https:\\\/\\\/www.sydspost.nl\\\/index.php\\\/author\\\/wp_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten","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:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/","og_locale":"nl_NL","og_type":"article","og_title":"Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten","og_description":"In deze tutorial flashen we MicroPython op een Seeed studio Xiao ESP32C3 microcontroller. Benodigdheden: Stap 1. Download laatste versie vanVerder lezenMicropython flashen op Seeed studio Xiao ESP32C3","og_url":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/","og_site_name":"Mijn domotica projecten","article_author":"https:\/\/www.facebook.com\/syds.post\/","article_published_time":"2023-01-17T20:04:05+00:00","article_modified_time":"2023-01-29T18:48:59+00:00","og_image":[{"width":222,"height":227,"url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","type":"image\/jpeg"}],"author":"Syds","twitter_card":"summary_large_image","twitter_misc":{"Geschreven door":"Syds","Geschatte leestijd":"7 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#article","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/"},"author":{"name":"Syds","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21"},"headline":"Micropython flashen op Seeed studio Xiao ESP32C3","datePublished":"2023-01-17T20:04:05+00:00","dateModified":"2023-01-29T18:48:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/"},"wordCount":988,"commentCount":0,"publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","keywords":["BLE","bluetooth","MicroPython","Seeed studio Xiao ESP32C3","wifi"],"articleSection":["Software"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/","url":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/","name":"Micropython flashen op Seeed studio Xiao ESP32C3 - Mijn domotica projecten","isPartOf":{"@id":"https:\/\/www.sydspost.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#primaryimage"},"image":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","datePublished":"2023-01-17T20:04:05+00:00","dateModified":"2023-01-29T18:48:59+00:00","breadcrumb":{"@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#primaryimage","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","width":222,"height":227},{"@type":"BreadcrumbList","@id":"https:\/\/www.sydspost.nl\/index.php\/2023\/01\/17\/micropython-flashen-op-seeed-studio-xiao-esp32c3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sydspost.nl\/"},{"@type":"ListItem","position":2,"name":"Micropython flashen op Seeed studio Xiao ESP32C3"}]},{"@type":"WebSite","@id":"https:\/\/www.sydspost.nl\/#website","url":"https:\/\/www.sydspost.nl\/","name":"Mijn domotica projecten","description":"met Domoticz","publisher":{"@id":"https:\/\/www.sydspost.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sydspost.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/www.sydspost.nl\/#organization","name":"Mijn domotica projecten","url":"https:\/\/www.sydspost.nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/","url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","contentUrl":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2020\/12\/Domoticz-logo.png","width":256,"height":256,"caption":"Mijn domotica projecten"},"image":{"@id":"https:\/\/www.sydspost.nl\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.sydspost.nl\/#\/schema\/person\/429f92898f98d9c4e01b8fad60975b21","name":"Syds","image":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe78554f84c2c27fe1c643dcb3f2d0231d9a2dcdb96cc25f3538e38d9465e24d?s=96&d=mm&r=g","caption":"Syds"},"sameAs":["https:\/\/www.sydspost.nl","https:\/\/www.facebook.com\/syds.post\/"],"url":"https:\/\/www.sydspost.nl\/index.php\/author\/wp_admin\/"}]}},"modified_by":"Syds","jetpack_featured_media_url":"https:\/\/www.sydspost.nl\/wp-content\/uploads\/2022\/03\/Naamloos.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/3132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/comments?post=3132"}],"version-history":[{"count":7,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/3132\/revisions"}],"predecessor-version":[{"id":3152,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/posts\/3132\/revisions\/3152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media\/2317"}],"wp:attachment":[{"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/media?parent=3132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/categories?post=3132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydspost.nl\/index.php\/wp-json\/wp\/v2\/tags?post=3132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}