Giter Site home page Giter Site logo

armdeveloperecosystem / hm01b0-library-for-pico Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 29 KB

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

License: MIT License

CMake 25.65% C 74.35%
rasperry-pi-pico rp2040 hm01b0

hm01b0-library-for-pico's Introduction

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.

hm01b0-library-for-pico's People

Contributors

sandeepmistry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hm01b0-library-for-pico's Issues

Is there a way to set auto exposure off?

Thanks for this excellent library. I am wondering if there is a way to turn off auto exposure. I see there is a line in main.c to adjust exposure integration time, but per the spec sheet the default state is to have autoexposure on. Is that something that can be turned off with this library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.