Firmware Setup - blairfrandeen/momobox GitHub Wiki

CircuitPython Installation

The momobox currently uses CircuitPython 8.0.2. The latest version of CircuitPython can be downloaded here.

To install CircuitPython to the Raspberry Pi Pico:

  1. Press and hold down the BOOTSEL button on top of the Pico, and connect it to your computer via USB. Keep holding the BOOTSEL button until the Pico mounts as a USB mass-storage device called RPI-RP2.
  2. Copy the .uf2 file downloaded from the link above to the root folder of RPI-RP2. This should cause the Pico to disappear.
  3. Disconnect and then reconnect the USB cable (without holding the BOOTSEL button). The Pico should mount again as a USB mass storage device called CIRCUITPY

Access to the CircuitPytho REPL

You'll need to be able to access the serial console and REPL on the Pico in order to checkout and setup the momobox. See instructions from [Adafruit] for full details on how this can be done on various system.

My personal preference is to use screen in Linux. If this is your first time using the serial console with the Pico or other embedded devices, you may need to execute

sudo adduser $USER dialout

and then reboot your computer in order to get access. Once this is done, you should be able to type a command such as

screen /dev/ttyACM0/

to access the serial console and REPL on the Pico.

Momobox Firmware Installation

Copy everything in the /src directory to the root folder of the Pico. This should automatically restart CircuitPython and load the main module (code.py).