Hardware/CubeSat Gumstix/Test/OV7670 config
From UIT
Revision as of 14:18, 9 December 2015 by Francois.corthay (Talk | contribs)
|
The OV7670 camera can be configures for different image sizes and frame rates.
Configuration
An RS232 interface allows to send configuration commands to the camera.
Power-up settings
At power-up, the test system sets the camera in 352 × 288 CIF mode with RGB output.
The following table provides the register write sequence:
address | data | comment |
---|---|---|
12 | 80 | COM7: reset |
12 | 24 | COM7: CIF resoultion, RGB |
11 | 40 | CLKRC: no clock prescaling |
User interface
In a terminal program:
- typing a "r" launches the initialisation sequence again; the console prints an "r" in return to acknowledge the command
- typing 4 hex digits allow to enter a register address and value; the console prints an "v" in return to acknowledge the command