The Arducam Pico4ML is a Raspberry Pi Pico with extensions. It runs an Arm Cortex-M0+ microprocessor. This means that any setup for the Raspberry Pi will build code that runs on the Pico4ML. However, the Pico4ML has extra components on it. These are:
Inertial Measurement Unit: ICM-20948
Mono channel microphone with direct PCM output
Camera module: HiMax HM01B0
Screen: 0.96 inch LCD SPI Display
Set Up for Raspberry Pi Pico
Follow the instructions in this post. At the end of the exercise, you should have an environment variable named PICO_SDK_PATH.
Fetch the Repo
Proceed as follows:
Open the terminal
Change location to a suitable folder
Create a folder for pico4ml
Change into that folder
Fetch the repo using the following command
git clone --recursive https://github.com/ArduCam/pico-tflmicro.git
The above commands should run without any errors. At this point, you are ready to run the next command.
This takes a little bit of time to run. When it completes, you will find new folders and files in the build folder. For example, the image below shows the build files for the micro_speech example.
At this point, you are ready to flash your Arducam Pico4Ml with any of the .uf2 examples. To do this, you need to get the pico into BOOTSEL mode.
Follow these steps to get the pico4ml into BOOTSEL mode:
Plug one end of the supplied cable into your computer
Plug the other end into the pico4ml
Hold down the BOOT button
Switch on the cable
Wait a few seconds for the board to appear as a drive on your computer
Release the BOOT button
Once the board appears as a drive, you can copy any .uf2 file over to the drive. The board will reboot after copying.
Go ahead and try out any of the examples that you have compiled.