Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.7 KB

File metadata and controls

70 lines (49 loc) · 1.7 KB

ML Image Classification Example for Pico W

Report the occupany status of an EV Charger with a Raspberry Pi Pico W, Himax HM01B0 based camera module board, and the Slack API.

Requires a Slack Bot token.

Hardware

Default Pinout

HM01B0 Raspberry Pi Pico W
VCC 3V3
SCL GPIO5
SDA GPIO4
VSYNC GPIO6
HREF GPIO7
PCLK GPIO8
D0 GPIO9
GND GND

Software

Cloning

git clone --recurse-submodules https://github.com/ArmDeveloperEcosystem/ml-image-classification-example-for-pico-w.git

Building

  1. Set up the Pico C/C++ SDK
  2. Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
  1. Change directories:
ml-image-classification-example-for-pico-w
  1. Create build dir, run cmake and make:
mkdir build

cd build

cmake .. \
    -DPICO_BOARD=pico_w \
    -DWIFI_SSID="<WIFI SSID>" \
    -DWIFI_PASSWORD="<Wi-Fi Password>" \
    -DSLACK_BOT_TOKEN="<Slack Bot Token>" \
    -DSLACK_CHANNEL="<Slack Channel>"


make
  1. Copy example ml-image-classification-example-for-pico-w.uf2 to Pico W when in BOOT mode.

License

MIT


Disclaimer: This is not an official Arm product.