{"id":623,"date":"2021-01-30T15:11:05","date_gmt":"2021-01-30T15:11:05","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=623"},"modified":"2023-11-25T20:40:52","modified_gmt":"2023-11-25T20:40:52","slug":"raspberry-pi-pico-and-micropython-on-windows","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/de\/raspberry-pi-pico-und-micropython-unter-windows\/","title":{"rendered":"Raspberry Pi Pico und MicroPython unter Windows"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-1024x576.png\" alt=\"Raspberry Pi Pico und MicroPython unter Windows Titelbild\" class=\"wp-image-6201\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-1024x576.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-300x169.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-768x432.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image-18x10.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Dieser Artikel beantwortet die Frage: Wie kann ich den Raspberry Pi Pico mit MicroPython unter Windows verwenden? Wir zeigen auch, wie man den richtigen Treiber f\u00fcr das \"Board CDC\" (als das das Pico nach der Installation von MicroPython angezeigt wird) unter Windows 8.1 installiert. (Wir werden auch die Unterschiede zwischen MicroPython und CircuitPython besprechen, wo dies anwendbar ist - wo das Board \"CircuitPython CDC Control\" genannt wird). <\/p>\n\n\n\n<p>Zum Schluss zeigen wir, wie man sich mit PuTTY mit dem Pico verbindet, und eine komfortablere Option mit Thonny (eine Python IDE, die in den Pico integriert ist!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Einf\u00fchrung: Was ist der Pico und was ist MicroPython?<\/h2>\n\n\n\n<p>Die <a href=\"https:\/\/www.raspberrypi.org\/products\/raspberry-pi-pico\/\">Raspberry Pi Pico<\/a> ist ein neues Mikrocontroller-Board von Raspberry Pi, das mit dem selbst entwickelten RP2040-Mikrocontroller-Chip ausgestattet ist. <\/p>\n\n\n\n<p>Raspberry Pi hat viele coole Funktionen in den RP2040 eingebaut (mein Favorit ist PIO - programmierbarer IO, mit dem man viele Hardware-Schnittstellen emulieren kann, die ein pr\u00e4zises Timing erfordern, etc. - Ich werde in einem anderen Artikel in der Zukunft darauf eingehen), und der Pico ist eine wirklich sch\u00f6ne Referenzplattform, auf der der RP2040 implementiert ist.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1024x732.jpg\" alt=\"\" class=\"wp-image-624\" style=\"width:559px;height:399px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1024x732.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-300x214.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-768x549.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1-1536x1097.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/PICO-BOARD-ANGLE-WHITE1.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\">Raspberry Pi Pico, ein 4 $ Mikrocontroller-Board<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Wie unterscheidet sich ein Raspberry Pi Pico von einem Raspberry Pi Zero W?<\/h3>\n\n\n\n<p>Der Unterschied zwischen einem Mikrocontroller (wie dem <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040?variant=37942462972084\">Pico<\/a>) und einem Einplatinencomputer (<a href=\"https:\/\/buyzero.de\/collections\/boards-kits\/products\/raspberry-pi-zero-w?variant=38399156114\">sagen wir Pi Null W<\/a>) ist ungef\u00e4hr so: Sie programmieren den Pico direkt (z. B. in C), <strong>ohne Betriebssystem<\/strong>w\u00e4hrend die<a href=\"https:\/\/buyzero.de\/collections\/boards-kits\/products\/raspberry-pi-zero-w?variant=38399156114\"> Pi Null W<\/a> wird in der Regel unter Linux laufen. <\/p>\n\n\n\n<p>Dies hat Vorteile, wie z. B. Echtzeit, aber auch Nachteile - man muss mehr \u00fcber die verwendete Hardware wissen und viele Funktionen implementieren, die auf einem modernen Betriebssystem selbstverst\u00e4ndlich sind (z. B. Dateizugriff). <\/p>\n\n\n\n<p>Der Pico hat im Vergleich zum Pi Zero W weniger Ressourcen (z.B. deutlich weniger RAM, keine VideoCore GPU, etc.) - aber er verbraucht weniger Strom und hat zus\u00e4tzliche Funktionen, wie die bereits erw\u00e4hnte PIO und analoge Eing\u00e4nge (ADC). <\/p>\n\n\n\n<p>Der Pico ist eine gute Wahl f\u00fcr Projekte, die nicht unbedingt Netzwerkkonnektivit\u00e4t, HDMI-Ausgang, Kameraeingang und Verarbeitung erfordern. Mit anderen Worten: Wenn Sie eine Schnittstelle zur Hardware ben\u00f6tigen, eine lange Akkulaufzeit haben m\u00f6chten usw. - dann ist der Pico die richtige Wahl.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Welche Software gibt es bereits f\u00fcr den Pico?<\/h3>\n\n\n\n<p>Der Pico kann mit verschiedener Software geflasht werden, die in <strong>UF2-Dateien<\/strong> (<a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/\">siehe Pico-Einf\u00fchrungshandbuch<\/a>). Der Raspberry Pi bietet mehrere UF2-Dateien f\u00fcr den Anfang:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/5d8e777377e8dbe23cf36360d6efc727\/pico_micropython_20210121.uf2\">MicroPython <\/a>(das im Mittelpunkt dieses Artikels stehen wird) und ein enger Cousin, CircuitPython<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/85aac7081a166b7a3d0739970c3927c9\/blink.uf2\">Blinken einer LED<\/a> (Blink UF2)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/d211f824b207c328c7cae7b0ff733187\/hello_world.uf2\">Hallo Welt<\/a> (sagt \"Hallo Welt\", wenn Sie eine Verbindung \u00fcber ein Terminal herstellen)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/d6bbb56350627ecd9cf080cbee142b28\/picoprobe.uf2\">Picoprobe <\/a>(einen Pico zum Debuggen eines anderen Pico verwenden)<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/static\/6f6f31460c258138bd33cc96ddd76b91\/flash_nuke.uf2\">Flash-Speicher zur\u00fccksetzen<\/a> (setzt den Flash-Speicher auf leer)<\/li>\n<\/ul>\n\n\n\n<p>Es gibt noch viel mehr <a href=\"https:\/\/github.com\/raspberrypi\/pico-examples\">Beispiele sind hier zu finden<\/a> (C-Code).<\/p>\n\n\n\n<p><strong>Anmerkung: <\/strong>Ich verlinke auf die neuesten UF2-Dateien vom 30.01.2021 - insbesondere MicroPython k\u00f6nnte aktualisiert worden sein, also \u00fcberpr\u00fcfen Sie bitte die <a href=\"https:\/\/www.raspberrypi.org\/documentation\/pico\/getting-started\/\">Raspberry Pi Pico Einstiegsseite<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MicroPython<\/h3>\n\n\n\n<p>Wenn Ihnen die Aussicht, komplett in C zu programmieren, ein wenig abschreckend erscheint, k\u00f6nnen Sie mit MicroPython beginnen. In diesem Fall ist auf dem Raspberry Pi Pico eine Software vorinstalliert (die MicroPython UF2-Datei), die einen kleinen Python-Interpreter ausf\u00fchrt.<\/p>\n\n\n\n<p>Es wird MicroPython genannt, weil es nicht die gesamte Python 3 Standardbibliothek unterst\u00fctzt. MicroPython ist f\u00fcr eingeschr\u00e4nkte Umgebungen, wie den Pico, gedacht. Der Pico hat insgesamt 2 MB RAM - das reicht nicht f\u00fcr alles, was Python 3 mit sich bringt. Siehe <a href=\"https:\/\/github.com\/micropython\/micropython\/wiki\/Differences\">diese Github-Seite f\u00fcr die Unterschiede zwischen CPython und MicroPython<\/a>. Au\u00dferdem ist hier die offizielle <a href=\"http:\/\/micropython.org\/\">MicroPython Startseite<\/a>und die <strong><a href=\"http:\/\/docs.micropython.org\/en\/latest\/index.html\">offizielle MicroPython-Dokumentation<\/a><\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SchaltkreisPython<\/h3>\n\n\n\n<p>Hinweis: Die meisten der Anweisungen gelten auch f\u00fcr CircuitPython RP2040 basierte Boards unter Windows, z.B. das Adafruit Feather RP2040, aber Sie m\u00fcssen etwas andere Schritte befolgen - ich werde in diesem Artikel auf die Unterschiede hinweisen. <\/p>\n\n\n\n<p>CircuitPython ist im Grunde eine Variante von MicroPython, die von Adafruit entwickelt wird. <\/p>\n\n\n\n<p>Das Board selbst wird nach dem Flashen in Ihrem Ger\u00e4temanager anders hei\u00dfen (CircuitPython CDC Control) - und Sie brauchen nat\u00fcrlich eine andere Software. Hier ist, was Sie brauchen, um zu beginnen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/circuitpython.org\/board\/adafruit_feather_rp2040\/\">Adafruit Feather RP2040 Download Seite<\/a> (CircuitPython 7.0.0 UF2-Datei)<\/li>\n<\/ul>\n\n\n\n<p>In diesem Artikel zeigen wir Ihnen auch, wie Sie CircuitPython-Bibliotheken auf RP2040-basierten Ger\u00e4ten unter Windows installieren und wie Sie Programme mit Thonny starten und stoppen k\u00f6nnen. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Was erhalten Sie mit dem MicroPython UF2? <\/h3>\n\n\n\n<p>Sobald MicroPython auf dem Pico installiert ist, k\u00f6nnen Sie sich \u00fcber die serielle Konsole mit dem Pico verbinden (wie das geht, zeigen wir in diesem Artikel) und beginnen, Python-Code auf dem Pico zu schreiben.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation von MicroPython auf dem Pico<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Trennen Sie den Pico von der Stromversorgung<\/li>\n\n\n\n<li>Dr\u00fccken Sie die BOOTSEL-Taste und halten Sie sie gedr\u00fcckt.<\/li>\n\n\n\n<li>Schlie\u00dfen Sie den Pico mit einem microUSB-USB-Kabel an Ihren PC an.<\/li>\n\n\n\n<li>jetzt k\u00f6nnen Sie die BOOTSEL-Taste loslassen<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1024x498.jpg\" alt=\"\" class=\"wp-image-627\" style=\"width:676px;height:328px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1024x498.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-300x146.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-768x373.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features-1536x747.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-Pico-features.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Dr\u00fccken Sie die BOOTSEL-Taste und halten Sie sie gedr\u00fcckt, bevor Sie das microUSB-Kabel einstecken <\/figcaption><\/figure>\n<\/div>\n\n\n<p>Der Pico sollte jetzt in Ihrem Dateisystem als RPI-RP2 sichtbar sein:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1024x567.png\" alt=\"\" class=\"wp-image-628\" style=\"width:667px;height:369px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1024x567.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-300x166.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-768x426.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image.png 1155w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Der Pico wird als RPI-RP2 angezeigt.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-text-align-center\"><em>(Nebenbei bemerkt: Ich frage mich, was RPI-RP1 war?)<\/em><\/p>\n\n\n\n<p>Der Pico emuliert ein FAT32-Flash-Laufwerk, auf dem sich zwei Dateien befinden: INDEX.HTM und INFO_UF2.TXT.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"666\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1.png\" alt=\"\" class=\"wp-image-629\" style=\"width:630px;height:490px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1.png 856w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1-300x233.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-1-768x598.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><figcaption class=\"wp-element-caption\">Windows Drive Manager<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Tats\u00e4chlich zeigt der Windows-Laufwerksmanager Pico als 128 MB FAT-Flash-Laufwerk an.<\/p>\n\n\n\n<p><strong>Machen Sie nicht den Fehler, irgendwelche Dateien auf dem Pico zu speichern.<\/strong> <strong>auf diese Weise<\/strong>: Sie werden stillschweigend gel\u00f6scht. Auch wenn es so aussieht, als ob sie geschrieben werden, ist das nur Windows, das die Vorg\u00e4nge zwischenspeichert - Ihre Dateien sind dann weg! Habe ich schon erw\u00e4hnt, dass der Pico eigentlich nur 2MB Flash hat? Er l\u00fcgt hier schamlos \u00fcber die 128MB (der RP2040 soll \u00fcbrigens bis zu 16MB Flash unterst\u00fctzen, AFAIK). <\/p>\n\n\n\n<p><em>Nebenbei bemerkt: Das erinnert mich ein wenig an meine Reise nach Indien, wo ich Daumensticks mit einer Kapazit\u00e4t von 128 GB kaufte, die die Daten ins Nirvana schreiben w\u00fcrden. Als ich das Laufwerk zur\u00fcckgeben und mein Geld zur\u00fcckbekommen wollte, war der Verk\u00e4ufer verschwunden... was f\u00fcr ein Abenteuer \ud83d\ude42<\/em><\/p>\n\n\n\n<p>Wenn Sie jedoch die richtige Art von Datei - die UF2-Datei - auf dieses Laufwerk kopieren, wird sie erkannt und geschrieben. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"454\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2.png\" alt=\"\" class=\"wp-image-630\" style=\"width:670px;height:305px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2.png 998w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2-300x136.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-2-768x349.png 768w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><figcaption class=\"wp-element-caption\">Kopieren der Micropython UF2-Datei auf den Pico<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Sie k\u00f6nnen die Datei nach dem Herunterladen per Drag &amp; Drop aus Ihrem Browser ziehen oder per Copy &amp; Paste kopieren. Sobald der Kopiervorgang abgeschlossen ist, wird der Pico automatisch neu gestartet, und Sie sehen kein Flash-Laufwerk mehr. <\/p>\n\n\n\n<p>Hinweis: Wenn Sie CircuitPython verwenden m\u00f6chten, k\u00f6nnen Sie in diesem Schritt nat\u00fcrlich auch die CircuitPython UF2-Datei verwenden. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"675\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3.png\" alt=\"\" class=\"wp-image-631\" style=\"width:673px;height:524px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3.png 866w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3-300x234.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-3-768x599.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><figcaption class=\"wp-element-caption\">Nach dem Neustart ist der Pico aus dem Windows-Laufwerksmanager verschwunden<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Auf dem Pico l\u00e4uft nun (nach dem Neustart) MicroPython, das \u00fcber USB eine serielle Schnittstelle (COM-Port) zur Verf\u00fcgung stellt. (Technisch gesehen ist dies die USB-Ger\u00e4teklasse 02 = <strong>Kommunikation und CDC-Kontrolle<\/strong> und USB-Ger\u00e4t Unterklasse 02). <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verbinden mit dem Pico, Windows 10<\/h2>\n\n\n\n<p>Windows 10 macht es uns leicht, eine Verbindung zum Pico herzustellen, da der notwendige COM-Port-Treiber (usbser.inf) automatisch f\u00fcr Sie installiert und aktiviert wird.<\/p>\n\n\n\n<p>Um zu pr\u00fcfen, an welchem COM-Port er angeschlossen ist, \u00f6ffnen Sie den Ger\u00e4temanager:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"842\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--1024x842.jpg\" alt=\"\" class=\"wp-image-634\" style=\"width:677px;height:556px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--1024x842.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--300x247.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager--768x632.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/windows-10-devicemanager-.jpg 1267w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Um den Ger\u00e4temanager zu \u00f6ffnen, geben Sie in der Windows-Suche den Begriff \"Ger\u00e4t\" ein, und klicken Sie auf \"Ger\u00e4temanager\".<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hier sehen Sie unter Anschl\u00fcsse (COM &amp; LPT) das neue serielle USB-Ger\u00e4t mit der Nummer des COM-Ports (die Sie gleich f\u00fcr die Verbindung ben\u00f6tigen). <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"746\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-1024x746.jpg\" alt=\"\" class=\"wp-image-635\" style=\"width:634px;height:461px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-1024x746.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-300x219.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3-768x560.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/raspberry-pi-pico-micropython-serialdevice-com3.jpg 1183w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Es gibt ein neues serielles Ger\u00e4t, mit dem Sie eine Verbindung zum Pico<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Um zu \u00fcberpr\u00fcfen, ob es sich tats\u00e4chlich um den Pico handelt, auf dem MicroPython l\u00e4uft, k\u00f6nnen Sie Folgendes tun: <\/p>\n\n\n\n<p>Klicken Sie auf Ansicht, und w\u00e4hlen Sie Ger\u00e4te nach Container:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"746\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-1024x746.jpg\" alt=\"\" class=\"wp-image-636\" style=\"width:626px;height:455px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-1024x746.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-300x219.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view-768x560.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-view.jpg 1198w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Der Ger\u00e4temanager erm\u00f6glicht es Ihnen, Ger\u00e4te in verschiedenen Ansichten anzuzeigen<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hier sehen Sie einen Eintrag \"Board in FS mode\", mit den beiden Knoten \"USB Composite Device\" und \"USB Serial Device (<strong>COM3<\/strong>)\". Die COM3 ist wichtig, da Sie sie f\u00fcr PuTTY verwenden m\u00fcssen (siehe unten).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"767\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-1024x767.jpg\" alt=\"\" class=\"wp-image-637\" style=\"width:627px;height:470px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-1024x767.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-300x225.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container-768x576.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/devices-by-container.jpg 1169w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Wir k\u00f6nnen die Ger\u00e4te weiter untersuchen, indem wir mit der rechten Maustaste auf sie klicken und den entsprechenden Eigenschaftseintrag aus dem Kontextmen\u00fc ausw\u00e4hlen. Die Eigenschaften f\u00fcr Board im FS-Modus sind leer:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"680\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main.jpg\" alt=\"\" class=\"wp-image-638\" style=\"width:428px;height:485px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main.jpg 600w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-properties-main-265x300.jpg 265w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<p>Das USB Composite Device zeigt \"Board in FS mode\" als seine Bus reported device description:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"702\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode.jpg\" alt=\"\" class=\"wp-image-639\" style=\"width:428px;height:496px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode.jpg 606w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/board-in-fs-mode-259x300.jpg 259w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\n<\/div>\n\n\n<p>Hinweis: Dies ist der Pico mit MicroPython. Wenn Sie es mit einer anderen Software neu flashen, wird es hier andere Ergebnisse zeigen!<\/p>\n\n\n\n<p>Das serielle USB-Ger\u00e4t selbst weist einige interessante Eigenschaften auf:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"390\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc.jpg\" alt=\"\" class=\"wp-image-640\" style=\"width:444px;height:276px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc.jpg 628w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-board-cdc-300x186.jpg 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><figcaption class=\"wp-element-caption\">Die vom Bus gemeldete Ger\u00e4tebeschreibung lautet \"Board CDC\".<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hinweis: Wenn Sie CircuitPython verwenden, lautet die Ger\u00e4tebeschreibung \"CircuitPython CDC Control\" anstelle von \"Board CDC\". <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"692\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings.jpg\" alt=\"\" class=\"wp-image-641\" style=\"width:453px;height:506px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings.jpg 619w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-port-settings-268x300.jpg 268w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><figcaption class=\"wp-element-caption\">Die Standardeinstellungen f\u00fcr den Port sind 9600 Bits pro Sekunde, 8 Datenbits, keine Parit\u00e4t, 1 Stoppbit, keine Flusskontrolle - und sie funktionieren (siehe unten)<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"684\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass.jpg\" alt=\"\" class=\"wp-image-642\" style=\"width:446px;height:498px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass.jpg 612w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-usb-class-subclass-268x300.jpg 268w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><figcaption class=\"wp-element-caption\">Die USB-Klasse ist 02 und die USB-Unterklasse ist 02<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Wenn Sie wissen, wonach Sie suchen, sind die Hardware-IDs (VID = Hersteller-ID und PID = Produkt-ID) n\u00fctzlich:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"689\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id.jpg\" alt=\"\" class=\"wp-image-643\" style=\"width:457px;height:515px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id.jpg 611w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/micropython-vendorid-product-id-266x300.jpg 266w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n<\/div>\n\n\n<p>VID_2E8A -&gt; die Herstellerkennung lautet <strong>2E8A <\/strong>(in hex) oder <strong>11914 <\/strong>(in Dezimalzahlen), die lautet <strong>Raspberry Pi<\/strong><\/p>\n\n\n\n<p>PID_0005 -&gt; die Produkt-ID lautet <strong>5<\/strong>die das Board anzeigt, wenn MicroPython l\u00e4uft (die Standard-Produkt-ID ist <strong>3<\/strong>)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nebenbemerkung: Debug-Protokoll des Chrome-Browsers<\/h3>\n\n\n\n<p>Diese Informationen k\u00f6nnen auch \u00fcber den Chrome-Browser abgerufen werden. <\/p>\n\n\n\n<p><a href=\"chrome:\/\/device-log\">chrome:\/\/device-log<\/a><\/p>\n\n\n\n<p>k\u00f6nnen Sie die derzeit angeschlossenen Ger\u00e4te anzeigen<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"90\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1024x90.png\" alt=\"\" class=\"wp-image-644\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1024x90.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-300x26.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-768x68.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4-1536x135.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-4.png 1874w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Im obigen Screenshot sehen Sie die Ausgabe des Ger\u00e4teprotokolls von Chrome, die zeigt, dass der Pico vor dem Flashen mit MicroPython als \"Raspberry Pi\", \"RP2 Boot\" und als \"MicroPython\", \"Board in FS mode\" angezeigt wird. Beachten Sie die unterschiedlichen Produkt-IDs!<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Zur\u00fcck zu Windows 10: <\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"685\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10.jpg\" alt=\"\" class=\"wp-image-647\" style=\"width:426px;height:481px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10.jpg 607w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/usbser.inf-installed-windows10-266x300.jpg 266w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/figure>\n<\/div>\n\n\n<p>Wie Sie im obigen Screenshot sehen, hat Windows 10 den usbser (USB Serial Driver) automatisch f\u00fcr Sie installiert - Sie k\u00f6nnen also sofort mit dem Pico loslegen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PuTTY<\/h2>\n\n\n\n<p>PuTTY ist ein Telnet\/SSH-Client. Sie werden ihn verwenden, um sich mit dem Pico zu verbinden und mit der REPL von MicroPython zu kommunizieren. <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">PuTTY hier herunterladen<\/a>. (F\u00fcr die meisten Windows 10-Installationen k\u00f6nnen Sie den 64-Bit MSI Windows Installer verwenden).<\/p>\n\n\n\n<p>\u00d6ffnen Sie PuTTY. Geben Sie die richtigen Einstellungen ein:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"668\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup.jpg\" alt=\"\" class=\"wp-image-650\" style=\"width:476px;height:468px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup.jpg 680w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-setup-300x295.jpg 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Der Verbindungstyp muss eingestellt werden auf <strong>Serienm\u00e4\u00dfig<\/strong><\/li>\n\n\n\n<li>Serial Line muss auf den Wert gesetzt werden, den die obige Untersuchung ergeben hat. In meinem Fall ist dies <strong>COM3<\/strong>. In Ihrem Fall wird es h\u00f6chstwahrscheinlich etwas anderes sein!<\/li>\n\n\n\n<li>Die Geschwindigkeit kann vorerst auf 9600 belassen werden.<\/li>\n<\/ul>\n\n\n\n<p>Klicken Sie auf \u00d6ffnen, und ein Terminal wird ge\u00f6ffnet:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"580\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world.jpg\" alt=\"\" class=\"wp-image-651\" style=\"width:656px;height:385px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world.jpg 988w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world-300x176.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/putty-hello-world-768x451.jpg 768w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><\/figure>\n<\/div>\n\n\n<p>Um die Eingabeaufforderung zu erhalten, dr\u00fccken Sie einmal Enter<\/p>\n\n\n\n<p>Dann k\u00f6nnen Sie nach der Eingabeaufforderung mit dem Schreiben von Python-Code beginnen, der sofort interpretiert wird. Versuchen Sie, das klassische \"Hello world\" einzugeben:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"print(&quot;Hello world!&quot;)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Kopieren\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #88C0D0\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Hello world!<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>MicroPython antwortet mit<\/p>\n\n\n\n<p><em>Hallo Welt!<\/em><\/p>\n\n\n\n<p>wie erwartet \ud83d\ude42<\/p>\n\n\n\n<p>Nun, da der erste Kontakt hergestellt ist, w\u00fcnsche ich Ihnen viel Spa\u00df beim Codieren! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thonny: eine Python IDE, arbeitet mit Pico!<\/h2>\n\n\n\n<p>Die Verwendung von PuTTY ist f\u00fcr l\u00e4ngere Sitzungen oder wenn Sie eine Menge Code in Ihren Pico laden m\u00f6chten, nicht sehr komfortabel. Gl\u00fccklicherweise ist die Open-Source-Anwendung Thonny (die standardm\u00e4\u00dfig auf dem Raspberry Pi OS installiert ist) auch f\u00fcr Windows verf\u00fcgbar und bietet Pico-Unterst\u00fctzung (MicroPython und CircuitPython)<\/p>\n\n\n\n<p><strong>Schritt eins<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/thonny.org\/\">Thonny hier herunterladen<\/a>und installieren Sie es<\/p>\n\n\n\n<p><strong>Zweiter Schritt<\/strong><\/p>\n\n\n\n<p>Schlie\u00dfen Sie Ihren Pico an, wie oben beschrieben - er sollte nun eine COM-Nummer haben - wenn Sie wollen, k\u00f6nnen Sie mit der oben beschriebenen PuTTY-Methode testen, ob Sie Ihren Pico erreichen k\u00f6nnen.<\/p>\n\n\n\n<p><strong>Dritter Schritt<\/strong><\/p>\n\n\n\n<p>Starten Sie Thonny, und klicken Sie auf die Schaltfl\u00e4che <strong>Werkzeuge<\/strong> Men\u00fc, w\u00e4hlen Sie <strong>Optionen<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"724\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image.png\" alt=\"\" class=\"wp-image-684\" style=\"width:604px;height:534px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-300x265.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-768x679.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">Auf dem Standard-Startbildschirm von Windows, Men\u00fc Extras, w\u00e4hlen Sie hier Optionen.<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>Vierter Schritt<\/strong>: Pico als Interpreter einstellen<\/p>\n\n\n\n<p>Klicken Sie auf die Registerkarte Dolmetscher. Dieser Bildschirm wird standardm\u00e4\u00dfig angezeigt:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"607\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1.png\" alt=\"\" class=\"wp-image-685\" style=\"width:616px;height:529px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1.png 707w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-1-300x258.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><figcaption class=\"wp-element-caption\">Der gleiche Interpreter, der Thonny (Standard) ausf\u00fchrt, ist auch der Standard-Interpeter<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Klicken Sie auf und w\u00e4hlen Sie MicroPython (Raspberry Pi Pico)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"300\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2.png\" alt=\"\" class=\"wp-image-686\" style=\"width:604px;height:278px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2.png 652w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-2-300x138.png 300w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><figcaption class=\"wp-element-caption\">MicroPython (Raspberry Pi Pico) Unterst\u00fctzung ist in Thonny integriert<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>Hinweis<\/strong>: wenn Sie Folgendes verwenden <strong>SchaltkreisPython<\/strong>m\u00fcssen Sie stattdessen die Option \"<strong>CircuitPython (generisch)<\/strong>\" aus diesem Dropdown-Men\u00fc.<\/p>\n\n\n\n<p>Sie k\u00f6nnen den Port auf \"versuchen, den Port automatisch zu erkennen\" belassen oder einen bestimmten Port festlegen (wir haben oben gesehen, wie die richtige Portnummer ermittelt werden kann).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"606\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3.png\" alt=\"\" class=\"wp-image-687\" style=\"width:568px;height:486px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3.png 708w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-3-300x257.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><figcaption class=\"wp-element-caption\">Versuchen Sie, den Anschluss automatisch zu erkennen<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hinweis: Der Anschluss sollte immer noch in der Dropdown-Liste angezeigt werden, daher ist es ratsam, sich zu vergewissern, dass er vorhanden ist:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"121\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4.png\" alt=\"\" class=\"wp-image-688\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4.png 627w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-4-300x58.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><figcaption class=\"wp-element-caption\">auf meinem Computer ist das Board CDC (Pico mit MicroPython) auf dem Port COM5<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Ich belasse es bei der Einstellung \"Automatisch versuchen, den Anschluss zu erkennen\". <strong>Klicken Sie auf OK, um die Einstellung zu speichern.<\/strong><\/p>\n\n\n\n<p>Ihr Bildschirm sollte sich nun wie folgt ver\u00e4ndern:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"722\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5.png\" alt=\"\" class=\"wp-image-689\" style=\"width:575px;height:508px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5.png 818w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5-300x265.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-5-768x678.png 768w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><figcaption class=\"wp-element-caption\">Beachten Sie die MicroPython Eingabeaufforderung, mit Raspberry Pi Pico mit RP2040<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>Schritt f\u00fcnf: Test<\/strong><\/p>\n\n\n\n<p>Jetzt k\u00f6nnen Sie die Kommunikation mit dem Pico testen.<\/p>\n\n\n\n<p>Typ<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"print(&quot;Hello world&quot;)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Kopieren\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #88C0D0\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Hello world<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>in die MicroPython-Eingabeaufforderung ein, und dr\u00fccken Sie die Eingabetaste<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"263\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6.png\" alt=\"\" class=\"wp-image-690\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6.png 794w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6-300x99.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-6-768x254.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><figcaption class=\"wp-element-caption\">Hallo Welt, die picockpit.com Art \ud83d\ude42<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Sie werden sehen, dass der Pico auf Sie antwortet.<\/p>\n\n\n\n<p>Herzlichen Gl\u00fcckwunsch, Sie haben Thonny erfolgreich mit dem Pico unter Windows verbunden!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Komplexere Skripte: Blinken einer LED mit Thonny<\/h3>\n\n\n\n<p>Die REPL-Schleife (Read-Evaluate-Print-Schleife), die Sie gerade gesehen haben, ist nett, aber f\u00fcr komplexere Projekte m\u00f6chten wir zuerst den Quelltext eingeben oder ihn aus einer Datei laden.<\/p>\n\n\n\n<p>Hierf\u00fcr kann der obere Teil des Thonny-Fensters verwendet werden. <\/p>\n\n\n\n<p>Geben Sie Ihren Code ein. In meinem Beispiel wird die Onboard-LED blinken (das ist das Hardware-\u00c4quivalent zu \"Hallo Welt\"!) und eine Endlosschleife laufen.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import timefrom machine import Pinprint(&quot;Welcome to Pico example 2, blinking an LED&quot;)led = Pin(25, Pin.OUT)# For demo purposes, we have an infinite loop herewhile True:    led.high()    time.sleep(0.5)    led.low()    time.sleep(0.5)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Kopieren\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">time<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">from<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">machine<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Pin<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">Welcome to Pico example 2, blinking an LED<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">Pin<\/span><span style=\"color: #D8DEE9FF\">(25<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Pin<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">OUT<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #8FBCBB\">For<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">demo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">purposes<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">we<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">have<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">an<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">infinite<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">loop<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">here<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">while<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">True<\/span><span style=\"color: #D8DEE9FF\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">high<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">sleep<\/span><span style=\"color: #D8DEE9FF\">(0.5)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">led<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">low<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">sleep<\/span><span style=\"color: #D8DEE9FF\">(0.5)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Achten Sie auf die korrekte Einr\u00fcckung in Python (Leerzeichen werden in Python zu Kontrollzwecken verwendet!)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"731\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7.png\" alt=\"\" class=\"wp-image-693\" style=\"width:586px;height:523px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7-300x268.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-7-768x685.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">Der Code zum Blinken der eingebauten LED<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Klicken Sie nun auf die Schaltfl\u00e4che \"Ausf\u00fchren\".<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"24\" height=\"34\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-8.png\" alt=\"\" class=\"wp-image-694\" style=\"width:24px;height:34px\"\/><\/figure>\n<\/div>\n\n\n<p>Thonny wird Sie fragen, wo Sie speichern m\u00f6chten<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"248\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-9.png\" alt=\"\" class=\"wp-image-695\"\/><figcaption class=\"wp-element-caption\">Auf diesem Computer oder Raspberry Pi Pico speichern?<\/figcaption><\/figure>\n<\/div>\n\n\n<p>W\u00e4hlen Sie Raspberry Pi Pico:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"496\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10.png\" alt=\"\" class=\"wp-image-696\" style=\"width:585px;height:394px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10.png 736w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-10-300x202.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/figure>\n<\/div>\n\n\n<p>Ich habe die Datei hello.py genannt - Klicken Sie auf OK, um sie zu speichern<\/p>\n\n\n\n<p>Sobald die OK-Taste gedr\u00fcckt wird, beginnt die Ausf\u00fchrung Ihres Codes. Die integrierte LED des Pico sollte anfangen zu blinken, und Sie sehen die Ausgabe in der Shell:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11.png\" alt=\"\" class=\"wp-image-697\" style=\"width:629px;height:562px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11-300x268.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-11-768x686.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption class=\"wp-element-caption\">%Run -c $EDITOR_CONTENT<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hinweis: Ich musste den Befehl %Run -c $EDITOR_CONTENT nicht eingeben, Thonny hat das selbst gemacht. Die folgende Ausgabe stammt aus unserem Code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CircuitPython auf Thonny unter Windows<\/h3>\n\n\n\n<p>F\u00fchren Sie die gleichen Schritte aus, aber w\u00e4hlen Sie CircuitPython (generic) als Interpreter.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"606\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5.png\" alt=\"\" class=\"wp-image-1146\" style=\"width:594px;height:508px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5.png 708w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-5-300x257.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n<\/div>\n\n\n<p>Die Thonny-Muschel wird Ihnen eine andere Best\u00e4tigung zeigen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"483\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6.png\" alt=\"\" class=\"wp-image-1147\" style=\"width:640px;height:306px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6.png 1009w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6-300x144.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-6-768x368.png 768w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><figcaption class=\"wp-element-caption\">Hier steht: Adafruit CircuitPython 7.0.0 am 2021-09-20; Adafruit Feather RP2040 mit rp2040<br>Adafruit CircuitPython 7.0.0 am 2021-09-20; Adafruit Feather RP2040 mit rp2040<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Windows 8.1<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"232\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5.png\" alt=\"\" class=\"wp-image-654\" style=\"width:764px;height:222px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5.png 798w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5-300x87.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-5-768x223.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><figcaption class=\"wp-element-caption\">Der Raspberry Pi Pico ist \"Board CDC\", und wird im Fehlerzustand angezeigt<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Windows 8.1 l\u00e4dt den seriellen Treiber NICHT automatisch und zeigt das Ger\u00e4t in einem Fehlerzustand an.  <\/p>\n\n\n\n<p>Hinweis: Mit CircuitPython lautet der Name des Ger\u00e4ts stattdessen \"CircuitPython CDC control\". Gleiches Verfahren. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"291\" height=\"116\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-1.png\" alt=\"\" class=\"wp-image-1134\"\/><figcaption class=\"wp-element-caption\">CircuitPython CDC-Steuerung unter Windows 8.1<\/figcaption><\/figure>\n<\/div>\n\n\n<p>So sehen die Eigenschaften von Board CDC (dem Pico mit MicroPython) aus:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"565\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6.png\" alt=\"\" class=\"wp-image-655\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6.png 547w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-6-290x300.png 290w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"548\" height=\"567\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7.png\" alt=\"\" class=\"wp-image-656\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7.png 548w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-7-290x300.png 290w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/figure>\n<\/div>\n\n\n<p>Es hei\u00dft, dass die Treiber f\u00fcr dieses Ger\u00e4t nicht installiert wurden (Code 28). <\/p>\n\n\n\n<p>Eine L\u00f6sung f\u00fcr dieses Problem ist die <a href=\"https:\/\/zadig.akeo.ie\/\">Zadig-Werkzeug<\/a>, die Sie kostenlos herunterladen k\u00f6nnen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/zadig.akeo.ie\/downloads\/\"><strong>Zadig-2.5.exe hier herunterladen<\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>Achtung! <\/strong>Eine Reihe von Virenscannern scheint sich einig zu sein, dass die in Zadig 2.7 enthaltene installer_x64.exe \"Trojan.Tedy\" enth\u00e4lt.  M\u00f6glicherweise ist dies jedoch ein falscher Alarm: Ich empfehle die Verwendung von <strong>Zadig-2.5.exe<\/strong> stattdessen, was mir diese Warnungen nicht einbrachte (gerade ein zweites Mal \u00fcberpr\u00fcft). Vorsicht ist besser als Nachsicht!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"271\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19.png\" alt=\"\" class=\"wp-image-671\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19.png 560w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-19-300x145.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Zadig <\/strong>hilft Ihnen bei der Installation von generischen USB-Treibern f\u00fcr den Zugriff auf USB-Ger\u00e4te. <\/p>\n\n\n\n<p>In unserem Fall wollen wir den USB Serial (CDC) Treiber.<\/p>\n\n\n\n<p>W\u00e4hlen Sie Board CDC (Interface 0) aus dem Dropdown-Men\u00fc oben, USB Serial (CDC) im anderen Feld. Klicken Sie auf Treiber installieren. <\/p>\n\n\n\n<p>Nach der Installation werden Sie sehen, dass der Treiber jetzt auf usbser (v1.0.0.0) eingestellt ist:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"316\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20.png\" alt=\"\" class=\"wp-image-673\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20.png 689w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-20-300x138.png 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n<\/div>\n\n\n<p>Und Sie k\u00f6nnen die Verbindung herstellen, wie ich es in Windows 10 beschrieben habe, indem Sie die richtige COM-Port-Nummer verwenden:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"189\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22.png\" alt=\"\" class=\"wp-image-675\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22.png 796w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22-300x71.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-22-768x182.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><figcaption class=\"wp-element-caption\">Der Ger\u00e4temanager zeigt das Board CDC jetzt mit Treiber an<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"537\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21.png\" alt=\"\" class=\"wp-image-674\" style=\"width:783px;height:497px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21.png 846w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21-300x190.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-21-768x487.png 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><figcaption class=\"wp-element-caption\">Hallo Welt f\u00fcr MicroPython auf Pico unter Windows 8.1<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Nebenbei bemerkt:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"565\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23.png\" alt=\"\" class=\"wp-image-676\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23.png 560w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23-297x300.png 297w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/image-23-150x150.png 150w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><figcaption class=\"wp-element-caption\">Hier ist der Dialog, der libwdi als Treiberhersteller anzeigt<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Pico\/Serielle Schnittstelle unter Windows 7<\/h2>\n\n\n\n<p>Einem Kunden zufolge, <a href=\"https:\/\/zadig.akeo.ie\/\">Zadig <\/a>Es hat geholfen, den Treiber f\u00fcr die serielle Schnittstelle auch unter Windows 7 zu installieren, und der Pico war danach benutzbar! Verwenden Sie unbedingt <a href=\"https:\/\/zadig.akeo.ie\/downloads\/\">Zadig 2.5<\/a>da das neuere Zadig 2.7 von meinem Virenscanner w\u00e4hrend der Treiberinstallation angezeigt wurde. (Bin mir nicht sicher warum, aber sicher ist sicher - der alte funktioniert)  <\/p>\n\n\n\n<p>Wenn Sie eine Schritt-f\u00fcr-Schritt-Anleitung ben\u00f6tigen, sehen Sie sich die oben genannte Anleitung f\u00fcr Windows 8.1 an - auf einem Windows 8.1-Rechner sollte es ziemlich \u00e4hnlich sein.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation von Bibliotheken und Programmierung eines CircuitPython RP2040-Boards unter Windows<\/h2>\n\n\n\n<p>Wenn du zum Beispiel einen Adafruit Feather RP2040 verwendest, m\u00f6chtest du vielleicht CircuitPython darauf benutzen. Adafruit hat eine <a href=\"https:\/\/learn.adafruit.com\/adafruit-feather-rp2040-pico\/built-in-neopixel-led\">NeoPixel RGB<\/a> zu installieren, was die Installation von Bibliotheken in der <strong>lib <\/strong>Ordner auf dem Ger\u00e4t. <\/p>\n\n\n\n<p>(Anmerkung: <a href=\"https:\/\/learn.adafruit.com\/adafruit-feather-rp2040-pico\/built-in-neopixel-led\">Laden Sie die Bibliotheken hier herunter<\/a> - klicken Sie auf den Link \"Projektb\u00fcndel herunterladen\"). <\/p>\n\n\n\n<p>Wenn Sie den Projektb\u00fcndelordner entpacken, sehen Sie zwei verschiedene Unterordner mit CircuitPython 6.x und CircuitPython 7.x <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"241\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7.png\" alt=\"\" class=\"wp-image-1152\" style=\"width:692px;height:224px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7.png 745w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-7-300x97.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/figure>\n<\/div>\n\n\n<p>Ich verwende hier die CircuitPython 7.x Version, da ich die <a href=\"https:\/\/circuitpython.org\/board\/adafruit_feather_rp2040\/\">7.0.0 Version von CircuitPython<\/a>. <\/p>\n\n\n\n<p>Sie werden in Ihrem Explorer ein Laufwerk namens \"CIRCUITPY\" sehen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"375\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-1024x375.png\" alt=\"\" class=\"wp-image-1153\" style=\"width:769px;height:281px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-1024x375.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-300x110.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8-768x281.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-8.png 1130w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Laufwerk CIRCUITPY und sein anf\u00e4nglicher Inhalt (lib, boot_out.txt, code.py)<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Die <strong>lib <\/strong>Ordner ist bei einer Neuinstallation von CircuitPython leer. Mit dem Windows-Explorer k\u00f6nnen wir einfach Dateien hierher kopieren und einf\u00fcgen. <\/p>\n\n\n\n<p> Kopieren Sie die ben\u00f6tigten Bibliotheken aus dem heruntergeladenen lib-Ordner in den CIRCUITPY lib-Ordner:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"223\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9.png\" alt=\"\" class=\"wp-image-1154\" style=\"width:771px;height:179px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9.png 957w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9-300x70.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-9-768x179.png 768w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><figcaption class=\"wp-element-caption\">Kopieren der erforderlichen Bibliotheken in den lib-Ordner<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Jetzt k\u00f6nnen wir auch code.py \u00fcberschreiben:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"407\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10.png\" alt=\"\" class=\"wp-image-1155\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10.png 577w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-10-300x212.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption class=\"wp-element-caption\">code.py ersetzen<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Mit Thonny k\u00f6nnen wir die Datei code.py bearbeiten und ausf\u00fchren. Klicken Sie auf das \u00d6ffnen-Symbol in Thonny und w\u00e4hlen Sie \"CircuitPython device\" im Dialog \"Where to open from\":<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"250\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11.png\" alt=\"\" class=\"wp-image-1156\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11.png 334w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-11-300x225.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><figcaption class=\"wp-element-caption\">W\u00e4hlen Sie hier das CircuitPython-Ger\u00e4t aus<\/figcaption><\/figure>\n<\/div>\n\n\n<p> Und hier k\u00f6nnen Sie code.py \u00f6ffnen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"495\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12.png\" alt=\"\" class=\"wp-image-1157\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12.png 739w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-12-300x201.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><figcaption class=\"wp-element-caption\">Klicken Sie auf code.py und OK<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Jetzt sollte Ihr Thonny-Fenster in etwa so aussehen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"373\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1024x373.png\" alt=\"\" class=\"wp-image-1158\" style=\"width:760px;height:276px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1024x373.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-300x109.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-768x280.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13-1536x560.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-13.png 1915w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">code.py (oben), die Shell (unten)<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Dr\u00fccken Sie F5 auf Ihrer Tastatur, oder klicken Sie auf das Ausf\u00fchrungssymbol <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"29\" height=\"30\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-14.png\" alt=\"\" class=\"wp-image-1159\" style=\"width:29px;height:30px\"\/><figcaption class=\"wp-element-caption\">das Lauf-Symbol<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Wenn alles gut gegangen ist, sollte die NeoPixel RGB LED an deinem Adafruit Feather RP2040 nun in verschiedenen Farben blinken. Gl\u00fcckwunsch \ud83d\ude42<\/p>\n\n\n\n<p>Jetzt k\u00f6nnen Sie mit dem Skript herumspielen - vielleicht k\u00f6nnen Sie die Farben oder die Zeit zwischen den Farbwechseln \u00e4ndern? Oder andere Funktionen hinzuf\u00fcgen. <\/p>\n\n\n\n<p>Um Ihr ge\u00e4ndertes Skript ausf\u00fchren zu k\u00f6nnen, dr\u00fccken Sie Strg + C in der Shell (oder w\u00e4hlen Sie Ausf\u00fchren &gt; Ausf\u00fchrung unterbrechen im Thonny-Men\u00fc). Jetzt k\u00f6nnen Sie Ihr Skript wieder hochladen. <\/p>\n\n\n\n<p>Eine gro\u00dfartige Sache f\u00fcr die Fehlersuche ist, dass Sie mit Thonny Konsolenausgaben erhalten, so dass Sie print-Anweisungen verwenden k\u00f6nnen, um Informationen auszugeben:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"336\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15.png\" alt=\"\" class=\"wp-image-1160\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15.png 511w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-15-300x197.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><figcaption class=\"wp-element-caption\">Thonny gibt Druckanweisungen vom Adafruit Feather RP2040 aus<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Adafruit CircuitPython-B\u00fcndel <\/h3>\n\n\n\n<p>Adafruit bietet einen bequemen Download von mehreren Bibliotheken in einer ZIP-Datei. Laden Sie das entsprechende adafruit-circuitpython-bundle-7.x.-mpy oder -6.x. mpy herunter <a href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_Bundle\/releases\">hier<\/a>. Sie k\u00f6nnen mehrere oder alle Bibliotheken wie oben beschrieben einfach \u00fcber den Windows Explorer installieren.  Ein kompletter Upload aller Bibliotheken w\u00e4re etwa 1,2 MB gro\u00df, der Adafruit Feather RP2040 hat genug Platz daf\u00fcr. Das Kopieren kann ein paar Minuten dauern.  <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"374\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16.png\" alt=\"\" class=\"wp-image-1165\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16.png 579w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-16-300x194.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Diverse Notizen<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Kann ich die Verfahren in diesem Leitfaden auch f\u00fcr CircuitPython verwenden? <\/h3>\n\n\n\n<p>Auf jeden Fall, ja. Zum Beispiel k\u00f6nnen Sie Zadig unter Windows 8.1 verwenden (siehe die Beschreibung oben f\u00fcr Details. Verwenden Sie Version 2.5.730 von Zadig!). Sie werden nach einem \"CircuitPython CDC control\"-Ger\u00e4t anstelle des \"Board CDC\"-Ger\u00e4ts suchen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"317\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2.png\" alt=\"\" class=\"wp-image-1136\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2.png 688w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-2-300x138.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><figcaption class=\"wp-element-caption\">Zadig f\u00fcr das CDC-Steuerger\u00e4t von CircuitPython<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Die Treiberinstallation schl\u00e4gt mit Zadig? <\/h3>\n\n\n\n<p>Das k\u00f6nnte an der Antivirus-Software liegen. Vielleicht ist es ein falscher Alarm, aber ich kann mir da nicht sicher sein. Mein Virenscanner (Bitdefender) sagt mir folgendes: <\/p>\n\n\n\n<p>\"Die Datei C:\\Users\\Max\\usb_driver\\installer_x64.exe ist mit Gen:Variant.Tedy.11444 infiziert und wurde in die Quarant\u00e4ne verschoben. Wir empfehlen die Durchf\u00fchrung eines System-Scans, um weitere Infektionen auszuschlie\u00dfen.\" <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1024x488.png\" alt=\"\" class=\"wp-image-1140\" style=\"width:764px;height:364px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1024x488.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-300x143.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-768x366.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3-1536x732.png 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/11\/image-3.png 1629w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Eine Reihe von Virenscannern scheint sich einig zu sein, dass die installer_x64.exe (Teil des USB-Treibers) \"Trojan.Tedy\" enth\u00e4lt. Ich empfehle, stattdessen Zadig-2.5.exe zu verwenden. <a href=\"https:\/\/zadig.akeo.ie\/downloads\/\">Die Sie hier herunterladen k\u00f6nnen<\/a>. Ich habe Zadig-2.5 verwendet, um einen seriellen CircuitPython USB-Treiber auf meiner Windows 8.1-Installation zu installieren (die mein Hauptrechner ist). <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Wie kann ich die Ausf\u00fchrung von Code auf dem Pico in Thonny verhindern?<\/h3>\n\n\n\n<p>Klicken Sie in die Shell, und dr\u00fccken Sie Strg+C. Dies sollte die aktuelle Codeausf\u00fchrung stoppen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"732\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12.png\" alt=\"\" class=\"wp-image-698\" style=\"width:658px;height:587px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12.png 821w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12-300x267.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-12-768x685.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><figcaption class=\"wp-element-caption\">KeyboardInterrupt stoppte den Code<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Wiederholung fr\u00fcherer Aussagen in Thonny<\/h3>\n\n\n\n<p>Es ist bequem, denselben Befehl noch einmal auszuf\u00fchren - dr\u00fccken Sie die Aufw\u00e4rts-Taste auf der Tastatur in der Shell-Eingabeaufforderung, um eine Historie der vorherigen Befehle aufzurufen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Wie wei\u00df ich, dass mein Pi Pico nicht mehr mit Thonny verbunden ist?<\/h3>\n\n\n\n<p>Wenn Sie versuchen, den Code auszuf\u00fchren, erhalten Sie eine Fehlermeldung, etwa so:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-1024x588.png\" alt=\"\" class=\"wp-image-699\" style=\"width:699px;height:401px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-1024x588.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-300x172.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13-768x441.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-13.png 1157w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Fehler bei der Abfrage globaler Variablen, serial.serialutil.SerialTimeoutException: Zeit\u00fcberschreitung beim Schreiben<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Das bedeutet, dass Thonny nicht auf die serielle Schnittstelle schreiben kann, an der der Pico angeschlossen sein soll.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"729\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14.png\" alt=\"\" class=\"wp-image-700\" style=\"width:694px;height:618px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14.png 819w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14-300x267.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/02\/image-14-768x684.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Das Ger\u00e4t konnte in Thonny nicht automatisch gefunden werden<\/h3>\n\n\n\n<p>Wenn Sie den folgenden Fehler erhalten:<\/p>\n\n\n\n<p><em>Das Ger\u00e4t konnte nicht automatisch gefunden werden.<br>\u00dcberpr\u00fcfen Sie die Verbindung (stellen Sie sicher, dass sich das Ger\u00e4t nicht im Bootloader-Modus befindet) oder w\u00e4hlen Sie<br>\"Interpreter konfigurieren\" im Men\u00fc \"Interpreter\" (unten rechts im Fenster)<br>um einen bestimmten Port oder einen anderen Interpreter auszuw\u00e4hlen.<\/em><\/p>\n\n\n\n<p>\u00dcberpr\u00fcfen Sie, ob Sie den richtigen Interpreter ausgew\u00e4hlt haben. Wenn auf Ihrem Ger\u00e4t CircuitPython statt MicroPython l\u00e4uft, m\u00fcssen Sie w\u00e4hlen <strong>CircuitPython (generisch)<\/strong> als Dolmetscher in Thonny. Siehe die entsprechenden Informationen in diesem Artikel f\u00fcr Anweisungen.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ihre Tipps f\u00fcr Pico\/MicroPython unter Windows?<\/h2>\n\n\n\n<p>Lassen Sie es uns in den Kommentaren wissen, wenn Sie weitere Tipps f\u00fcr den Einstieg mit Pico und MicroPython unter Windows haben, wir werden den Artikel entsprechend aktualisieren \ud83d\ude42<\/p>\n\n\n\n<p>Viel Spa\u00df mit Ihrem Pico und mit den tollen Projekten, die Sie damit machen k\u00f6nnen!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Weitere Pico-Blogbeitr\u00e4ge bei PiCockpit<\/h2>\n\n\n\n<p>Wenn Ihnen die Lekt\u00fcre dieses Artikels gefallen hat, werden Sie vielleicht auch die folgenden Artikel lesen wollen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-video-output\/\">Videoausgabe \u00fcber den Raspberry Pi Pico (VGA &amp; DVI)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/picockpit.com\/raspberry-pi\/circuitpython-adafruit-feather-rp2040-and-i2c\/\">CircuitPython, Adafruit Feather RP2040 und I2C<\/a><\/li>\n<\/ul>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fde%2Fraspberry-pi-pico-und-micropython-unter-windows%2F&text=Raspberry%20Pi%20Pico%20and%20MicroPython%20on%20Windows\" title=\"Bei X teilen\" aria-label=\"Bei X teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">teilen<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fde%2Fraspberry-pi-pico-und-micropython-unter-windows%2F\" title=\"Bei Facebook teilen\" aria-label=\"Bei Facebook teilen\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">teilen<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fde%2Fraspberry-pi-pico-und-micropython-unter-windows%2F&text=Raspberry%20Pi%20Pico%20and%20MicroPython%20on%20Windows\" title=\"Bei Telegram teilen\" aria-label=\"Bei Telegram teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">teilen<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fde%2Fraspberry-pi-pico-und-micropython-unter-windows%2F\" title=\"Bei Reddit teilen\" aria-label=\"Bei Reddit teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">teilen<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Dieser Artikel beantwortet die Frage: Wie kann ich den Raspberry Pi Pico mit MicroPython unter Windows verwenden? Wir zeigen auch, wie man den richtigen Treiber f\u00fcr das \"Board CDC\" (als das der Pico nach der Installation von MicroPython angezeigt wird) unter Windows 8.1 installiert. (Wir werden auch auf die Unterschiede zwischen MicroPython und CircuitPython eingehen, wo dies m\u00f6glich ist...<\/p>","protected":false},"author":2,"featured_media":6201,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1193,10,3],"tags":[517,477,16,996,606,597,14,11,221,486,782,476,187,456,993,15,762,749,13,992,995,12,994],"class_list":["post-623","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-raspberry-pi-pico","category-raspberry-pi-how-to","tag-adafruit","tag-circuitpython","tag-connect","tag-cpython","tag-linux","tag-microcontroller","tag-micropython","tag-pico","tag-pico-w","tag-project","tag-putty","tag-python","tag-raspberry-pi","tag-raspberry-pi-projects","tag-repl","tag-serial-port","tag-thonny","tag-usb","tag-windows-10","tag-windows-11","tag-windows-7","tag-windows-8-1","tag-zadig"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Raspberry Pi Pico and MicroPython on Windows | PiCockpit<\/title>\n<meta name=\"description\" content=\"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/de\/raspberry-pi-pico-und-micropython-unter-windows\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi Pico and MicroPython on Windows | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/de\/raspberry-pi-pico-und-micropython-unter-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-30T15:11:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-25T20:40:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Geschrieben von\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"28\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"Raspberry Pi Pico and MicroPython on Windows\",\"datePublished\":\"2021-01-30T15:11:05+00:00\",\"dateModified\":\"2023-11-25T20:40:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"},\"wordCount\":3569,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"keywords\":[\"Adafruit\",\"circuitpython\",\"connect\",\"cpython\",\"linux\",\"microcontroller\",\"microPython\",\"Pico\",\"Pico W\",\"project\",\"PuTTY\",\"python\",\"Raspberry Pi\",\"Raspberry Pi projects\",\"repl\",\"serial port\",\"thonny\",\"usb\",\"Windows 10\",\"Windows 11\",\"Windows 7\",\"Windows 8.1\",\"zadig\"],\"articleSection\":[\"Python\",\"Raspberry Pi Pico\",\"Tutorials\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\",\"name\":\"Raspberry Pi Pico and MicroPython on Windows | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"datePublished\":\"2021-01-30T15:11:05+00:00\",\"dateModified\":\"2023-11-25T20:40:52+00:00\",\"description\":\"A complete guide on MicroPython on a Pi with Windows (7\\\/8\\\/10), including instructions on installing and accessing the Pico serial port.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png\",\"width\":1200,\"height\":675,\"caption\":\"Raspberry Pi Pico and MicroPython on Windows Title Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/raspberry-pi-pico-and-micropython-on-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Raspberry Pi Pico and MicroPython on Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/de\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi Pico und MicroPython unter Windows | PiCockpit","description":"Eine vollst\u00e4ndige Anleitung zu MicroPython auf einem Pi mit Windows (7\/8\/10), einschlie\u00dflich Anweisungen zur Installation und zum Zugriff auf die serielle Schnittstelle des Pico.","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:\/\/picockpit.com\/raspberry-pi\/de\/raspberry-pi-pico-und-micropython-unter-windows\/","og_locale":"de_DE","og_type":"article","og_title":"Raspberry Pi Pico and MicroPython on Windows | PiCockpit","og_description":"A complete guide on MicroPython on a Pi with Windows (7\/8\/10), including instructions on installing and accessing the Pico serial port.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/de\/raspberry-pi-pico-und-micropython-unter-windows\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2021-01-30T15:11:05+00:00","article_modified_time":"2023-11-25T20:40:52+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","type":"image\/png"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Geschrieben von":"raspi berry","Gesch\u00e4tzte Lesezeit":"28\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"Raspberry Pi Pico and MicroPython on Windows","datePublished":"2021-01-30T15:11:05+00:00","dateModified":"2023-11-25T20:40:52+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"},"wordCount":3569,"commentCount":10,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","keywords":["Adafruit","circuitpython","connect","cpython","linux","microcontroller","microPython","Pico","Pico W","project","PuTTY","python","Raspberry Pi","Raspberry Pi projects","repl","serial port","thonny","usb","Windows 10","Windows 11","Windows 7","Windows 8.1","zadig"],"articleSection":["Python","Raspberry Pi Pico","Tutorials"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/","url":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/","name":"Raspberry Pi Pico und MicroPython unter Windows | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","datePublished":"2021-01-30T15:11:05+00:00","dateModified":"2023-11-25T20:40:52+00:00","description":"Eine vollst\u00e4ndige Anleitung zu MicroPython auf einem Pi mit Windows (7\/8\/10), einschlie\u00dflich Anweisungen zur Installation und zum Zugriff auf die serielle Schnittstelle des Pico.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2021\/01\/Raspberry-Pi-Pico-and-MicroPython-on-Windows-Title-Image.png","width":1200,"height":675,"caption":"Raspberry Pi Pico and MicroPython on Windows Title Image"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/raspberry-pi-pico-and-micropython-on-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"Raspberry Pi Pico and MicroPython on Windows"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.de","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"Himbeere","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"Ich bin hier, um euch bei all euren Fragen rund um den Raspberry Pi zu helfen und erz\u00e4hle gerne von neuen Projektideen f\u00fcr den Raspberry Pi und gebe schnelle Tipps. Nat\u00fcrlich helfe ich euch auch mit PiCockpit und wie ihr euren Raspberry Pi mit dieser Raspberry Pi Monitoring L\u00f6sung noch einfacher bedienen k\u00f6nnt :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/de\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/comments?post=623"}],"version-history":[{"count":30,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/posts\/623\/revisions"}],"predecessor-version":[{"id":6202,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/posts\/623\/revisions\/6202"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/media\/6201"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/media?parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/categories?post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/de\/wp-json\/wp\/v2\/tags?post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}