You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/camera_board.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@ Let's take a closer look at the Camera Board - HM0B10 and the hardware on it.
2
2
3
3
## Himax HM0B10 Camera Module (Color)
4
4
5
-
The HM0B10 camera module from Himax<sup>®</sup> 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 I<sup>2</sup>C serial interface with an address of <b>0x24</b>. For complete information on the HM0B10, refer to the [datasheet]().
5
+
The HM0B10 camera module from Himax<sup>®</sup> 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 I<sup>2</sup>C serial interface with an address of <b>0x24</b>. For complete information on the HM0B10, refer to the [datasheet](https://cdn.sparkfun.com/assets/7/f/c/8/3/HM01B0-MNA-Datasheet.pdf).
6
6
7
7
## Pinout
8
8
9
-
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 [SparkFun Pico Touch Display for XRP]().
9
+
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.
10
10
11
11
The tables below outline the pin name, type and function of the pins broken out to each header:
12
12
@@ -169,14 +169,14 @@ The sole LED on this board is a red Power LED to indicate whenever the board has
169
169
170
170
## Solder Jumpers
171
171
172
-
The Camera Board has six solder jumpers labeled: <b>OSC</b>, <b>GND</b>, <b>PAD</b>, <b>OSC_DIS</b>, <b>LED</b> and <b>I2C</b>. The lists below outlines each solder jumper's function, default state and any notes on their use.
172
+
The Camera Board has six solder jumpers labeled: <b>OSC</b>, <b>GND</b>, <b>PAD</b>, <b>OSC_DIS</b>, <b>LED</b> and <b>I2C</b>. 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](https://learn.sparkfun.com/tutorials/how-to-work-with-jumper-pads-and-pcb-traces).
173
173
174
174
**Oscillator Jumpers:**
175
175
176
176
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.
177
177
178
178
* <b>OSC</b>: 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.
179
-
* <b>PAD</b>: This solder jumper connects the HM0B10's XCLK pin to the PTH pads on the board labeled <b>XC</b> so users can connect an external clock source of their choosing. The jumper is OPEN by default. Close the jumper to enable the <b>XC</b> pin. Make sure both the <b>OSC</b> and <b>GND</b> jumpers are OPEN when connecting a clock source to the <b>XC</b> pin.
179
+
* <b>PAD</b>: This solder jumper connects the HM0B10's XCLK pin to the PTH pads on the board labeled <b>XC</b> so users can connect an external clock source. The jumper is OPEN by default. Close the jumper to enable the <b>XC</b> pin. Make sure both the <b>OSC</b> and <b>GND</b> jumpers are OPEN when connecting a clock source to the <b>XC</b> pin. **Note:** When connected to the Red Vision Touch Display, this signal connects to GPIO3 on the XRP Control Board (or Pico).
180
180
* <b>GND</b>: 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 <b>OSC</b> and <b>PAD</b> jumpers are OPEN before closing this jumper.
181
181
* <b>OSC_DIS</b>: 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.
Copy file name to clipboardExpand all lines: docs/firmware.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
The SparkFun Red Vision Kit for XRP requires updated firmware to run proplerly. This firmware updates the XRP Control Board with the right drivers to work with the Vision Kit and also includes all of the MicroPython OpenCV examples included in the package. In this section we'll go over where to find this firmware to download, how to upload it to your XRP Control Board and where to open the examples once you've assembled the Vision Kit onto your XRP Kit.
1
+
The SparkFun Red Vision Kit for XRP requires updated firmware to run properly. This firmware updates the XRP Control Board with the right drivers to work with the Vision Kit and also includes all of the MicroPython OpenCV examples included in the package. In this section we'll go over where to find this firmware to download, how to upload it to your XRP Control Board and where to open the examples once you've assembled the Vision Kit onto your XRP Kit.
2
2
3
3
!!! Note
4
4
We recommend updating the firmware on the XRP Control Board prior to installing the Vision Kit boards onto it as the Touch Display makes it difficult to reach the RESET and BOOT buttons.
Copy file name to clipboardExpand all lines: docs/quickstart.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,16 @@ Now that we've got the proper firmware installed and the Red Vision Kit connecte
46
46
* Open the [XRP Code Editor](https://xrpcode.wpi.edu/) in a Chromium<sup>™</sup>C based browser (Chrome, Edge, etc.)
47
47
* If you have not already, set the main power switch on the XRP Control Board to "On". The XRP Code Editor has a pop-up for this as well if you try and run code without the board powered on fully.
48
48
* Connect the XRP to the Code Editor. The window may open a pop-up asking to update the firmware. Click "Cancel" as updating the firmware will overwrite the MicroPython OpenCV firmware. A second pop-up may open asking to update libraries, click "Ok" to update the libraries. This will *not* affect the behavior or examples and is necessary to run other XRP examples.
49
-
* Open the XRPExamples folder
50
-
49
+
* Open the folder named "red_vision_examples" and double click the file named "ex06_detect_sfe_logo.py" to open the code.
50
+
* Next, click the green "RUN" button in the top-right of the XRP Code Editor window.
51
51
* With the code running, we've printed out a black and white image with three objects on it; a star, the SparkFun flame and a heart. When holding it in front of the camera it should outline it and give information on the size and location of the logo. If you'd like to replicate this at home, just hold up your SparkFun red box or another SparkFun board point the logo on it at the camera. It should identify it; outline it and give information on the size and location of the logo similarly to the photo below:
52
52
53
53
<figuremarkdown>
54
54
[{ width="600"}](./assets/img/Logo-Example-2.jpg"Click to enlarge")
55
+
</figure>
56
+
57
+
This close-up photo offers a better view of what the Touch Screen Display shows when the SparkFun logo is detected in camera frame. You can see in the top left what contour the code is looking for, the bounding box and outline of the logo along with information on the position of the logo's center on the screen (green numbers) and the size of the bounding box (white numbers).
58
+
59
+
<figuremarkdown>
60
+
[{ width="600"}](./assets/img/Logo-Example-1.jpg"Click to enlarge")
0 commit comments