Skip to content

Commit dc07b0a

Browse files
Upload Arduino sketches to boards with MicroPython firmware [HC-1626] (#477)
* Create Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md * Fix intro + title * Some refinements --------- Co-authored-by: seaxwi <[email protected]>
1 parent 27b9113 commit dc07b0a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Upload a sketch to a board running MicroPython
3+
---
4+
5+
Uploading a sketch to an Arduino board running MicroPython is straightforward. You don’t need to manually uninstall MicroPython—uploading a sketch automatically replaces the existing firmware and restores the board’s standard Arduino functionality. If you’d like to switch back to MicroPython, simply [reinstall the MicroPython firmware](https://support.arduino.cc/hc/en-us/articles/15156644171548-Upload-firmware-for-Arduino-Lab-for-Micropython).
6+
7+
Boards with MicroPython support:
8+
9+
- Arduino GIGA R1 WiFi
10+
- Arduino Nano 33 BLE
11+
- Arduino Nano 33 BLE Rev2
12+
- Arduino Nano 33 BLE Sense
13+
- Arduino Nano 33 BLE Sense Rev2
14+
- Arduino Nano ESP32
15+
- Arduino Nano RP2040 Connect
16+
- Arduino Nicla Vision
17+
- Arduino Opta Lite
18+
- Arduino Opta RS485
19+
- Arduino Opta WiFi
20+
- Arduino Portenta C33
21+
- Arduino Portenta H7
22+
- Arduino Portenta H7 Lite
23+
- Arduino Portenta H7 Lite Connected
24+
25+
---
26+
27+
Follow these steps:
28+
29+
1. If Arduino Lab for MicroPython is running: Disconnect from the board, or close the application.
30+
31+
1. Open an Arduino development tool that support sketch uploads, such as Arduino IDE or the [Arduino Cloud Editor](https://app.arduino.cc/sketches/examples?nav=Examples&eid=01.Basics%2FBlink){.link-external}.
32+
33+
1. Select your board. If it doesn't appear, set your board to **bootloader mode** by double-pressing the reset button.
34+
35+
- The board is in bootloader mode when the LED pulses slowly in green[^colors].
36+
37+
- _If you're using Nano ESP32:_ If the bootloader mode won't activate, try adjusting your timing, waiting 0.3 to 1 second between each press.
38+
39+
1. Upload the **Blink** example, or any other Arduino sketch, to restore the standard Arduino bootloader.
40+
41+
- In Arduino IDE, select File > Example > 01.Basics > Blink.
42+
43+
[^colors]: On some earlier versions of the Nano ESP32, the LED will be blue instead of green, and yellow instead of purple.

0 commit comments

Comments
 (0)