Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 2.06 KB

README.md

File metadata and controls

72 lines (52 loc) · 2.06 KB

HM01B0 Library for Pico

Capture monochrome images on your Raspberry Pi Pico with a Himax HM01B0 based camera module.

Learn more in the Raspberry Pi "Real-time monochrome camera input on Raspberry Pi Pico" guest blog post.

Hardware

Default Pinout

HM01B0 Raspberry Pi Pico / RP2040
VCC 3V3
SCL GPIO5
SDA GPIO4
VSYNC GPIO6
HREF GPIO7
PCLK GPIO8
D0 GPIO9
RESET -
MCLCK -
GND GND

GPIO pins are configurable in examples or API.

Examples

See examples folder.

Cloning

git clone https://github.com/ArmDeveloperEcosystem/hm01b0-library-for-pico.git 

Building

  1. Set up the Pico C/C++ SDK
  2. Set PICO_SDK_PATH
export PICO_SDK_PATH=/path/to/pico-sdk
  1. Create build dir, run cmake and make:
mkdir build
cd build
cmake .. -DPICO_BOARD=pico
make

For SparkFun MicroMod RP2040 use: cmake .. -DPICO_BOARD=sparkfun_micromod

  1. Copy example .uf2 to Pico when in BOOT mode.

License

MIT

Acknowledgements

The TinyUSB library is used in the usb_camera example.


Disclaimer: This is not an official Arm product.