Skip to content

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

License

Notifications You must be signed in to change notification settings

ArmDeveloperEcosystem/hm01b0-library-for-pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks