Hardware/CubeSat Gumstix/Test/Camera
From UIT
(Difference between revisions)
(Created page with "{{TOC right}} The camera controller controller design reads images from the camera and sends them to the Gumstix. [[File:Cubesat ADC test board connections.JPG|center|500px]...") |
(→Image size) |
||
(One intermediate revision by one user not shown) | |||
Line 13: | Line 13: | ||
In this design, the images are stored in the FPGA memory. | In this design, the images are stored in the FPGA memory. | ||
The [http://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Spartan-6] LX100 FPGA has: | The [http://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Spartan-6] LX100 FPGA has: | ||
− | * | + | * 122 KB distributed RAM |
+ | * 603 KB Block RAM built out of 4.5 KB blocks | ||
+ | |||
+ | The following table provides the required memory for different image sizes for 1 byte per pixel: | ||
+ | {| class="wikitable" style="margin: 20pt" | ||
+ | ! resolution || pixel number || data volume | ||
+ | |- | ||
+ | | [https://en.wikipedia.org/wiki/Video_Graphics_Array VGA] || 640 x 480 || 307.2 K | ||
+ | |- | ||
+ | | QVGA || 320 x 240 || 76.8 K | ||
+ | |- | ||
+ | | [https://en.wikipedia.org/wiki/Common_Intermediate_Format CIF] || 352 x 288 || 101.4 K | ||
+ | |- | ||
+ | | QCIF || 176 x 144 || 25.3 K | ||
+ | |} | ||
+ | |||
+ | VGA resolution doesn't allow to have 2 images at a time, | ||
+ | so [https://en.wikipedia.org/wiki/Common_Intermediate_Format CIF] resolution is chosen. | ||
[[Category:Hardware]] | [[Category:Hardware]] | ||
[[Category:Cubesat]] | [[Category:Cubesat]] | ||
[[Category:Gumstix]] | [[Category:Gumstix]] |
Latest revision as of 15:04, 11 November 2015
|
The camera controller controller design reads images from the camera and sends them to the Gumstix.
Images
The OV7670 camera can be configures for different image sizes and frame rates.
Image size
In this design, the images are stored in the FPGA memory. The Spartan-6 LX100 FPGA has:
- 122 KB distributed RAM
- 603 KB Block RAM built out of 4.5 KB blocks
The following table provides the required memory for different image sizes for 1 byte per pixel:
resolution | pixel number | data volume |
---|---|---|
VGA | 640 x 480 | 307.2 K |
QVGA | 320 x 240 | 76.8 K |
CIF | 352 x 288 | 101.4 K |
QCIF | 176 x 144 | 25.3 K |
VGA resolution doesn't allow to have 2 images at a time, so CIF resolution is chosen.