Camera Board - HM0B10 Overview
Let's take a closer look at the Camera Board - HM0B10 and the hardware on it.
Himax HM0B10 Camera Module (Color)
The HM0B10 camera module from Himax® has a 320 x 320 pixel resolution that supports frame rates of up to 51FPS in full resolution (320x320) and up to 60FPS in windowed/QVGA (320x240) operation. The camera module also has a 2x2 monochrome binning mode that supports up to 120FPS if you're looking to maximize frame rate over resolution and color. The HM01B0 also has a motion detect feature tied to an interrupt output so you can program it to wake up your camera project whenever it senses motion. The video data interface communicates over a configurable 1, 4 or 8bit interface that features both video frame for synchronizing multiple cameras and line sync for creating a composite image from two cameras. The HM01B0 operates over a I2C serial interface with an address of 0x24. For complete information on the HM0B10, refer to the datasheet.
Pinout
The Camera Board breaks out all of the HM0B10's pins to three 9 pin, 0.1"-spaced plated through hole headers. The three headers are split into a single "top" header and a pair of "bottom" headers and we'll refer to them as "Top" and "Bottom" for the descriptions and tables below. Several pins are shared between the two sets. The Top header breaks out the minimum pins needed for basic use of the camera module and the Bottom header pair breaks out all the pins. This bottom pair connects directly to the 2x10 connector on the Red Vision Touch Display.
The tables below outline the pin name, type and function of the pins broken out to each header:
Top Header Pinout
Pin Label/Name | Type | Function |
---|---|---|
GND/Ground | Ground | Ground |
SDA | In/Out | I2C Serial Data I/O (Open Drain) |
HS/HSYNC | Output | |
XC/Clock | Input | Main/External Clock Input |
D6 | Output | Data 6 Output |
D4 | Output | Data 4 Output |
D2 | Output | Data 2 Output |
D0 | Output | Data 0 Output |
PD/Cam Powerdown | Input | Camera Voltage Regulator Enable |
Bottom Header Pair Pinout
Pin Label/Name | Type | Function |
---|---|---|
GND/Ground | Ground | Ground |
3V3/3.3V | Voltage Input | Voltage Regulator 3.3V Input |
SDA | In/Out | I2C Serial Data I/O (Open Drain) |
SCL | Input | I2C Clock Signal |
HS/HSYNC | Output | |
VS/VSYNC | Output | Frame Valid Output |
XC/Clock | Input | Main/External Clock Input |
PC/PCLOCK/SCK | Output | Pixel Clock or Serial Clock Output |
D6 | Output | Data 6 Output |
D7 | Output | Data 7 Output |
D4 | Output | Data 4 Output |
D5 | Output | Data 5 Output |
D2 | Output | Data 2 Output |
D3 | Output | Data 3 Output |
D0 | Output | Data 0 Output |
D1 | Output | Data 1 Output |
PD/Cam Powerdown | Input | Camera Voltage Regulator Enable |
RST/Reset | Input | Camera Voltage Regulator Reset |
LED
The sole LED on this board is a red Power LED to indicate whenever the board has power over 3.3V.
Solder Jumpers
The Camera Board has six solder jumpers labeled: OSC, GND, PAD, OSC_DIS, LED and I2C. The lists below outlines each solder jumper's function, default state and any notes on their use. Note, manipulating these solder jumpers is only recommended for advanced users as they alter the functionality of the board, change the pins used by it and require knowledge of working with jumper pads and PCB traces.
Oscillator Jumpers:
These solder jumpers all adjust which oscillator source connects to the camera's external clock (XCLK) pin or to use the camera's internal oscillator. The board defaults to run at 24MHz with an on board oscillator. Make sure to only connect XCLK to a single source at a time otherwise unexpected behavior or damage may occur.
- OSC: This solder jumper enables the on board 24MHz oscillator by connecting it to the HM01B0's XCLK pin. It is CLOSED by default. Sever the trace in between the solder jumpers to open the jumper and disable the 24MHz clock source.
- PAD: This solder jumper connects the HM0B10's XCLK pin to the PTH pads on the board labeled XC so users can connect an external clock source. The jumper is OPEN by default. Close the jumper to enable the XC pin. Make sure both the OSC and GND jumpers are OPEN when connecting a clock source to the XC pin. Note: When connected to the Red Vision Touch Display, this signal connects to GPIO3 on the XRP Control Board (or Pico).
- GND: This solder jumper pulls the HM0B10's XCLK pin to ground to enable the camera's internal 48MHz oscillator. It is OPEN by default. Close the jumper to enable the internal oscillator. Make sure both the OSC and PAD jumpers are OPEN before closing this jumper.
- OSC_DIS: This solder jumper controls whether the 28MHz oscillator on the board is on or off. It is OPEN by default and enables the crystal. Close the jumper to disable the 28MHz oscillator.
Other Jumpers: * LED: The LED jumper completes the Power LED circuit and is CLOSED by default. Open the jumper to disable the Power LED. * I2C: The I2C jumper pulls the camera's SDA and SCL lines to 3.3V through a pair of resistors. This three-way jumper is CLOSED by default. Opening the jumper completely disables the pullup resistors on the SDA/SCL lines.
Board Dimensions
The SparkFun Red Vision Camera Board - HMB010 measures 0.9" x 1.40" (22.86mm x 35.56mm) and has two mounting holes that fit a 4-40 screw.