1. บทนำ
The GODIYMODULES VEML7700 Ambient Light Sensor Module is a high-accuracy 16-bit sensor designed for measuring ambient light intensity (lux). It utilizes an I2C interface for communication, making it suitable for integration with microcontrollers like Arduino. This module provides precise light measurements across a wide dynamic range, ideal for various applications including environmental monitoring and automatic lighting control systems.
2. คุณสมบัติของผลิตภัณฑ์
- เซ็นเซอร์: Integrates the VEML7700 ambient light sensor.
- อินเทอร์เฟซ: I2C communication protocol.
- ที่อยู่ I2C: Fixed at 0x10 (not modifiable).
- ช่วงการวัด: 0 to 120,000 lux on 16 bits.
- ความแม่นยำ: High precision with 0.0036 lux / count.
- แหล่งจ่ายไฟ: Operates with 3.3 Vdc or 5 Vdc.
- Regulator Output: Features a 3.3 Vdc / 100 mA max regulator output.
- การเชื่อมต่อ: Requires soldering of the included 5-pin connector for use.
- การออกแบบที่กะทัดรัด: Module dimensions are approximately 17 x 17 x 4 mm.
3. เนื้อหาบรรจุภัณฑ์
แต่ละแพ็คเกจประกอบด้วยรายการต่อไปนี้:
- 2 × VEML7700 Ambient Light Sensor Modules
- 2 × 5-pin Male Header Connectors (for soldering)

Image: Two VEML7700 Ambient Light Sensor Modules, showing the front side of both modules along with their respective 5-pin male header connectors.
4. ข้อมูลจำเพาะ
| ข้อมูลจำเพาะ | ค่า |
|---|---|
| ยี่ห้อ | โมดูล GODIY |
| หมายเลขรุ่น | 0f093315-79af-4fc7-93bd-6cc871cfda62 |
| ประเภทเซนเซอร์ | เซ็นเซอร์วัดแสงโดยรอบ VEML7700 |
| อินเทอร์เฟซ | ไอทูซี |
| ที่อยู่ I2C | 0x10 (คงที่) |
| ช่วงการวัด | 0 to 120,000 lux (16-bit) |
| ความแม่นยำ | 0.0036 lux / count |
| แหล่งจ่ายไฟ | 3.3 Vdc หรือ 5 Vdc |
| เอาต์พุตตัวควบคุม | 3.3 Vdc / 100 mA max |
| ประเภทเอาท์พุต | ดิจิตอล |
| วัสดุ | โพลิเมอร์ |
| น้ำหนักสินค้า | 9 g (per module) |
| ขนาดแพ็คเกจ | 12.09 x 10.21 x 3.1 ซม. |
| การใช้งานเฉพาะ | Environmental monitoring, electronic projects |
5. การตั้งค่าและการเชื่อมต่อ
5.1 Soldering the Connector
The VEML7700 module requires soldering of the included 5-pin male header connector for proper integration into your circuit. Carefully solder the pins to the corresponding pads on the module. Ensure good solder joints for reliable connectivity.

ภาพ: ด้านหน้า view of the VEML7700 module, showing the pin labels (I2C Lux Sensor, Vin/Logic: 3-5V) and the separate 5-pin male header connector.
5.2 Pinout and Wiring
The module features the following pins:
- VIN: Power supply input (3.3V or 5V DC).
- จีเอ็นดี: การเชื่อมต่อกราวด์
- มาตรฐานความปลอดภัย: สายส่งข้อมูลอนุกรม I2C
- เอสซีแอล: สายสัญญาณนาฬิกาแบบอนุกรม I2C
- 3V0: 3.3V regulated output (max 100mA). This can be used to power other low-power 3.3V components if needed.
Connect the module to your microcontroller (e.g., Arduino) as follows:
- เชื่อมต่อ หมายเลขประจำตัวผู้เสียภาษี to your microcontroller's 3.3V or 5V power supply.
- เชื่อมต่อ ก.ย.ด. to your microcontroller's Ground.
- เชื่อมต่อ เอสดีเอ to your microcontroller's I2C SDA pin (e.g., A4 on Arduino Uno).
- เชื่อมต่อ เอส ซี แอล to your microcontroller's I2C SCL pin (e.g., A5 on Arduino Uno).

ภาพ: รายละเอียดด้านหน้า view of the VEML7700 module, clearly showing the VIN, GND, SDA, SCL, and 3V0 pin labels.

ภาพ: ด้านหลัง view of the VEML7700 module, revealing the VEML7700 sensor chip and other surface-mount components.
6. คู่มือการใช้งาน
6.1 การตั้งค่าซอฟต์แวร์ (Arduino Ex)ampเลอ)
To operate the VEML7700 sensor with an Arduino, you will typically need an I2C library for the VEML7700. Many such libraries are available through the Arduino IDE's Library Manager (e.g., "Adafruit VEML7700 Library").
- ติดตั้งไลบรารี: เปิด Arduino IDE ไปที่ Sketch > รวมไลบรารี > จัดการไลบรารี... ค้นหา "VEML7700" and install a suitable library (e.g., Adafruit VEML7700).
- โหลดตัวอย่างample Sketch: หลังจากติดตั้งเสร็จแล้ว ให้ไปที่ File > อดีตamples > [Installed Library Name] > veml7700_test (or similar example)
- รหัสอัปโหลด: Connect your Arduino board, select the correct board and port, then upload the exampสเก็ตช์
- ตรวจสอบเอาต์พุต: Open the Serial Monitor in the Arduino IDE (set baud rate to 115200 or as specified in the sketch). You should see ambient light readings in lux.
6.2 Reading Ambient Light
The VEML7700 sensor provides highly accurate ambient light measurements. The library functions will typically handle the configuration of the sensor's gain and integration time to optimize readings across its 0 to 120,000 lux range. The output will be a digital value representing the light intensity in lux.
The sensor's high accuracy of 0.0036 lux per count allows for detection of very subtle changes in light, making it suitable for applications requiring fine-grained light sensing.
7. การบำรุงรักษา
The VEML7700 Ambient Light Sensor Module is a robust electronic component. Follow these guidelines for optimal performance and longevity:
- จัดการด้วยความระมัดระวัง: Avoid dropping or subjecting the module to excessive physical shock.
- ให้แห้ง: Protect the module from moisture and liquids. Water damage can lead to malfunction.
- ความสะอาด : Keep the sensor surface clean and free from dust or debris, which can affect light readings. Use a soft, dry cloth for cleaning if necessary.
- พื้นที่จัดเก็บ: Store the module in a dry, anti-static environment when not in use.
- แหล่งจ่ายไฟ: Always ensure the correct power supply voltage (3.3V or 5V DC) is applied to prevent damage.
8 การแก้ไขปัญหา
If you encounter issues with your VEML7700 Ambient Light Sensor Module, consider the following troubleshooting steps:
- No Readings / Incorrect Readings:
- ตรวจสอบสายไฟ: Verify all connections (VIN, GND, SDA, SCL) are correct and secure. Ensure no short circuits.
- การบัดกรี: Inspect solder joints on the 5-pin header. Re-solder any cold or incomplete joints.
- แหล่งจ่ายไฟ: Confirm the module is receiving the correct voltagอี (3.3V หรือ 5V)
- ที่อยู่ I2C: The VEML7700 has a fixed I2C address of 0x10. Ensure your code is configured to communicate with this address.
- ห้องสมุด: Ensure the correct VEML7700 library is installed and properly initialized in your code.
- สิ่งกีดขวางเซ็นเซอร์: Check if the sensor's light-sensitive area is obstructed by dust, dirt, or other objects.
- ไม่พบโมดูล:
- Perform an I2C scanner sketch to confirm if the module is detected on the I2C bus at address 0x10.
- ตรวจสอบการเชื่อมต่อสายไฟและสายดินอีกครั้ง
- การอ่านเป็นระยะ:
- ตรวจสอบการเชื่อมต่อที่หลวมหรือรอยบัดกรีที่ไม่ดี
- มั่นใจได้ถึงการจ่ายไฟฟ้าที่เสถียร
9. การรับประกันและการสนับสนุน
This product is typically covered by a standard replacement policy for manufacturing defects. For specific warranty details, please refer to the retailer or platform where the product was purchased. For technical support or further assistance, please contact GODIYMODULES customer service or consult online community forums dedicated to Arduino and VEML7700 sensor usage.
Please note that damage resulting from improper installation, misuse, or unauthorized modifications is not covered under warranty.