1. บทนำ
The Aideepen OV7670 Camera Module is a low-cost, low-power CMOS VGA image sensor designed for various embedded visual application scenarios. This manual provides essential information for the proper setup, operation, and maintenance of your camera module.
2. คุณสมบัติของผลิตภัณฑ์
- แบบอย่าง: OV7670 Camera; Resolution 640x480 VGA.
- อินเทอร์เฟซ: Standard SCCB interface, compatible with I2C interface.
- เล่มที่tage: IO ฉบับที่tage 2.5V to 3.0V (internal LDO power supply to the core 1.8V).
- รูปแบบเอาต์พุต: Supports multiple output formats including RawRGB, RGB (GRB4:2:2, RGB565/555/444), YUV(4:2:2), and YCbCr (4:2:2).
- Automatic Control Functions: Automatic Exposure Control (AEC), Automatic Gain Control (AGC), Automatic White Balance (AWB), Automatic Black Level Calibration (ABLC).
- Image Quality Control: Includes color saturation, hue, gamma, sharpness ANTI_BLOOM.
- การใช้งาน: Suitable for smart home devices (doorbells, baby monitors), industrial uses (product inspection, barcode scanning, smart cars), IoT systems (environmental monitoring, agricultural tracking), maker/education projects (robotics, image processing), and security applications (motion detection, basic face recognition).
3. เนื้อหาบรรจุภัณฑ์
แพ็คเกจประกอบด้วยรายการต่อไปนี้:
- 3 x OV7670 Camera Modules
- 3 x Lens Caps

Image 3.1: Three OV7670 Camera Modules with protective lens caps.
4. การตั้งค่า
This section outlines the general steps for setting up your OV7670 Camera Module. Specific implementation details may vary depending on your microcontroller (e.g., Arduino, ESP32) and development environment.
4.1 การเชื่อมต่อทางกายภาพ
- Identify the pinout of your OV7670 module and your target microcontroller.
- Connect the module to your microcontroller using appropriate jumper wires. Ensure correct connections for power (VCC, GND), I2C (SCL, SDA), and data pins (D0-D7, VSYNC, HREF, PCLK, XCLK).

Image 4.1: Pinout diagram for the OV7670 Camera Module, showing connections for power, I2C, and data lines.

ภาพที่ 4.2: ด้านบน view of the OV7670 Camera Module, highlighting the pin headers for connection to a microcontroller.
4.2 การกำหนดค่าซอฟต์แวร์
- Install the necessary libraries for OV7670 camera control in your chosen IDE (e.g., Arduino IDE, PlatformIO).
- อ้างถึงอดีตample code or tutorials specific to your microcontroller and the OV7670 module for initial programming.
- Upload the code to your microcontroller.
Video 4.1: This video demonstrates the installation of a camera module onto an ESP32-CAM board and connecting it to a WiFi network for streaming. It illustrates a common setup process for such camera modules.
5. คู่มือการใช้งาน
Once the module is set up and programmed, you can begin capturing images or video streams. The operation depends heavily on the software you implement.
5.1 Basic Image Capture
Typically, you will initialize the camera, set desired resolution and image format, and then trigger image capture. The captured data can be stored on an SD card (if supported by your microcontroller board) or transmitted via WiFi/serial communication.
5.2 Adjusting Camera Settings
The OV7670 module supports various settings adjustments via the SCCB/I2C interface. These include:
- Resolution (e.g., VGA, CIF, QVGA)
- Brightness, Contrast, Saturation
- White Balance (AWB)
- Exposure Control (AEC)
- ได้รับการควบคุม (AGC)
- Special effects (e.g., grayscale, sepia)
Consult the OV7670 datasheet and your chosen library's documentation for detailed register configurations and function calls.
6. การบำรุงรักษา
Proper care and maintenance will extend the lifespan of your OV7670 Camera Module.
- การจัดการ: Handle the module by its edges to avoid touching the lens or electronic components.
- การทำความสะอาด: Use a soft, lint-free cloth or a lens cleaning pen to gently clean the lens if necessary. Avoid abrasive materials or harsh chemicals.
- พื้นที่จัดเก็บ: Store the module in an anti-static bag or its original packaging when not in use to protect it from dust and electrostatic discharge.
- สิ่งแวดล้อม: ควรหลีกเลี่ยงการวางโมดูลไว้ในที่ที่มีอุณหภูมิสูง ความชื้นสูง หรือแสงแดดโดยตรงเป็นเวลานาน
7 การแก้ไขปัญหา
If you encounter issues with your OV7670 Camera Module, consider the following troubleshooting steps:
- ไม่มีภาพ/หน้าจอดำ:
- Verify all power and data connections are secure and correct.
- ตรวจสอบแหล่งจ่ายไฟ voltage to ensure it is within the specified range (2.5V to 3.0V).
- Ensure the camera module is properly initialized in your code.
- Confirm that the correct camera model (OV7670) is selected in your software library.
- Garbled Image/Incorrect Colors:
- Check for loose data line connections.
- Verify that the image format settings in your code match the expected output of the module.
- Adjust Automatic White Balance (AWB) settings or try manual white balance.
- Module Not Detected (I2C):
- Ensure SCL and SDA lines are correctly connected and pull-up resistors are used if required by your microcontroller.
- Check the I2C address of the OV7670 module (typically 0x21 or 0x42) and ensure your code is addressing it correctly.
- คุณภาพของภาพต่ำ:
- Adjust brightness, contrast, and saturation settings.
- จัดให้มีแสงสว่างเพียงพอในสภาพแวดล้อม
- หากเลนส์ดูสกปรก ให้ทำความสะอาดเลนส์
8. ข้อมูลจำเพาะ
| คุณสมบัติ | ข้อมูลจำเพาะ |
|---|---|
| แบบอย่าง | OV7670 Camera |
| ปณิธาน | 640x480 VGA (300KP) |
| เซ็นเซอร์รับภาพ | ซีมอส |
| อินเทอร์เฟซ | SCCB (I2C compatible) |
| IO ฉบับที่tage | 2.5V to 3.0V (1.8V core) |
| รูปแบบเอาท์พุต | RawRGB, RGB (GRB4:2:2, RGB565/555/444), YUV(4:2:2), YCbCr (4:2:2) |
| Automatic Controls | AEC, AGC, AWB, ABLC |
| ขนาด | ขนาดโดยประมาณ 3.5 ซม. x 3.4 ซม. x 3.1 ซม. (1.37 นิ้ว x 1.33 นิ้ว x 1.22 นิ้ว) |

Image 8.1: OV7670 Camera Module with key dimensions indicated.
9. การรับประกันและการสนับสนุน
Aideepen products are designed for reliability and performance. For any questions or technical assistance, please refer to the official Aideepen webโปรดเยี่ยมชมเว็บไซต์หรือติดต่อฝ่ายบริการลูกค้า โปรดเก็บหลักฐานการซื้อไว้เพื่อใช้ในการเคลมประกัน
หากต้องการข้อมูลเพิ่มเติม โปรดเยี่ยมชม Aideepen Store.





