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.
| HM01B0 | Raspberry Pi Pico W |
|---|---|
| VCC | 3V3 |
| SCL | GPIO5 |
| SDA | GPIO4 |
| VSYNC | GPIO6 |
| HREF | GPIO7 |
| PCLK | GPIO8 |
| D0 | GPIO9 |
| GND | GND |
git clone --recurse-submodules https://github.com/ArmDeveloperEcosystem/ml-image-classification-example-for-pico-w.git- Set up the Pico C/C++ SDK
- Set
PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk- Change directories:
ml-image-classification-example-for-pico-w
- Create
builddir, runcmakeandmake:
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
- Copy example
ml-image-classification-example-for-pico-w.uf2to Pico W when in BOOT mode.
Disclaimer: This is not an official Arm product.