Skip to content
Robot Kit Guide
Illustrated title card for the guide: How to Update Arduino Alvik Firmware and MicroPython Library
setup

How to Update Arduino Alvik Firmware and MicroPython Library

Update the Arduino Alvik Carrier firmware and MicroPython library together, install the library alone over USB, and verify the installed versions.

By Robot Kit Guide Editorial · · 3 min read

Use Arduino’s web-based Alvik Updater to install or update the Carrier firmware and the Alvik MicroPython library together. Arduino update guide For a library-only update on an Alvik already running MicroPython, install the Alvik package over USB from your computer with mpremote. Arduino library README · MicroPython package guide

What the Alvik Updater changes

ComponentWhat the updater does
Alvik Carrier firmwareInstalls or updates it. Arduino update guide
Alvik MicroPython libraryInstalls or updates it. Arduino update guide
MicroPython firmware on the Nano ESP32Leaves it as it is. Use Arduino’s separate Firmware Installer to install or update it. Arduino update guide · Firmware Installer guide

The updater keeps projects and files you added. Default demo examples have a separate restore procedure. Arduino update guide · Restore the default examples

Update the firmware and library together

  1. Open the Arduino Alvik Updater from the Arduino Help Center. Arduino update guide
  2. Turn on Alvik and connect its Nano ESP32 to your computer with a USB-C data cable. Arduino update guide
  3. Click Connect. Select Alvik’s serial port in the dialog. It may appear as Nano ESP32 or under another name. If several ports are listed, disconnect and reconnect Alvik before starting the update to identify its port. Arduino update guide
  4. Click Update when the button becomes available. Wait for a checkmark and Updated below the button. Arduino update guide

Set up mpremote for USB

Use mpremote to check versions after the web update or to install the library by itself. Keep Alvik powered on and connected by USB.

In your computer’s terminal, install mpremote with pip. MicroPython mpremote reference

pip install --user mpremote

When a command needs the device and no connect command is specified, mpremote selects the first available USB serial device. If several devices are connected, run mpremote connect list and identify Alvik’s port in the first column. Use that port wherever the commands below show <device>. MicroPython mpremote reference

Install only the Alvik library over USB

If the Nano ESP32 already runs MicroPython, run this command from your computer to install Arduino’s Alvik package over USB. Arduino library README · MicroPython package guide

mpremote mip install github:arduino/arduino-alvik-mpy

To select Alvik’s port explicitly, use this form. MicroPython mpremote reference · MicroPython package guide

mpremote connect <device> mip install github:arduino/arduino-alvik-mpy

Check the installed library and Carrier firmware

On your computer, run mpremote soft-reset repl to clear the current program state and open a fresh MicroPython prompt. To select Alvik’s port explicitly, run mpremote connect <device> soft-reset repl. MicroPython mpremote reference

At the MicroPython prompt, enter these lines in order. Arduino’s demo shows how to start Alvik. The three getters report the library version, the Carrier firmware version and the Carrier firmware version the library requires. Arduino demo code · Alvik library code

from arduino_alvik import ArduinoAlvik

alvik = ArduinoAlvik()
alvik.begin()
print("Library", alvik.get_lib_version())
print("Carrier", alvik.get_fw_version())
print("Required Carrier", alvik.get_required_fw_version())
alvik.stop()

Compare Carrier with Required Carrier. The version check in library 1.1.4 requires an exact match. After a successful start with that library release, both Carrier lines show 1.1.1. Alvik library code · Package version metadata · Arduino release notes

Troubleshoot the Alvik update

  • Alvik is missing from the port dialog. Reconnect it and grant USB device permission if prompted. Use a data cable and a direct USB connection. Try a different USB port if Alvik still fails to appear. Arduino update guide
  • The update appears to stall. Check that Alvik’s power switch is set to On, then reload the updater page and retry. Arduino update guide
  • begin() asks for a Carrier firmware update. In library 1.1.4, startup raises the same update error when the Carrier version differs from the requirement or when no version arrives before the check times out. The timeout also prints Could not get FW version. Alvik library code

Evidence and limits

No hands-on testing was performed for this guide. Arduino’s update guide, Alvik library 1.1.4 and the MicroPython v1.25.0 documentation were checked on November 29, 2026. Arduino update guide · Arduino release notes · MicroPython mpremote reference

Sources

  1. Arduino Help Center | Update firmware and libraries for Arduino Alvik
  2. Arduino Help Center | Upload firmware for Arduino Lab for Micropython
  3. Arduino Help Center | Restore the default examples on your Alvik
  4. Arduino Alvik MicroPython library 1.1.4 README
  5. MicroPython v1.25.0 | Package management
  6. MicroPython v1.25.0 | MicroPython remote control with mpremote
  7. Arduino Alvik 1.1.4 | Default demo source
  8. Arduino Alvik 1.1.4 | MicroPython library implementation
  9. Arduino Alvik 1.1.4 | MicroPython package version metadata
  10. Arduino Alvik MicroPython library 1.1.4 release notes

Related