Skip to content

LeNet-5-28×28 on Raspberry Pico 2040

Repository: https://github.com/auralius/noodle/tree/main/examples/lenet-5-esp32

Select the [env:rpi_pico] environment.

In the test folder, there is a Python script, named mnist-sender.py. This Python scripts reads a line from the MNIST dataset (\(28 \times 28=784\) bytes) and streams the data to the Pico. Raspberry Pico uses RP2040 microcontroller which is powered by dual ARM Cortex-M0+ cores and lacks a hardware Floating Point Unit (FPU).

The inference time stays consistently at ~1 second.