Datasheet VEML6035 (Vishay) - 6

FabricanteVishay
DescripciónLow Power, High Sensitivity, I²C, Accuracy Ambient Light Sensor
Páginas / Página15 / 6 — VEML6035. APPLICATION INFORMATION. 1. Application Circuit. Host. micro …
Formato / tamaño de archivoPDF / 222 Kb
Idioma del documentoInglés

VEML6035. APPLICATION INFORMATION. 1. Application Circuit. Host. micro controller. Note. 2. I2C Interface. Device Address

VEML6035 APPLICATION INFORMATION 1 Application Circuit Host micro controller Note 2 I2C Interface Device Address

Línea de modelo para esta hoja de datos

Versión de texto del documento

VEML6035
www.vishay.com Vishay Semiconductors
APPLICATION INFORMATION
VEML6035 is a cost effective solution of ambient light sensor with I2C bus interface. The standard serial digital interface is easy to access “Ambient Light Signal” without complex calculation and programming by external controller. Beside the digital output also a flexible programmable interrupt pin is available.
1. Application Circuit
1.7 V to 3.6 V R1 R2 R3 GND (1) R4 1.7 V to 3.6 V V (6) DD C1 C2 10R 10 μF 100 nF
Host VEML6035 micro controller
SDA (2) I2C bus data SDA C1 and R4 are optional for very disturbed supply SCL (5) I2C bus clock SCL NC (4) INT (3) GPIO (interrupt) Fig. 10 - Application Circuit (x) = Pin Number
Note
• The interrupt pin is an open drain output. Proposed values for the pull-up resistors should be > 1 kΩ, e.g. 2.2 kΩ to 4.7 kΩ for the R1 and R2 (at SDA and SCL) and 10 kΩ to 100 kΩ for R3 (at interrupt). Normally just one decoupling capacitor is needed. This should be ≥ 100 nF and placed close to the VDD pin. For detailed description about set-up and use of the interrupt as well as more application related information see application note: “Designing VEML6035 Into an Application” (www.vishay.com/doc?84944)
2. I2C Interface
The VEML6035 contains actual six 16 bit command codes for operation control, parameter setup, and result buffering. All registers are accessible via I2C communication. Fig. 7 shows the basic I2C communication with VEML6035. The built in I2C interface is compatible with I2C modes “standard” and “fast”: 10 kHz to 400 kHz. I2C H-level range = 1.3 V to 3.6 V. Please refer to the I2C specification from NXP for details. Write protocol → write command to VEML6035 1 7 1 1 8 1 8 1 8 1 1 S Slave address Wr A Command code A Data LSB A Data MSB A P Read protocol → read data from VEML6035 1 7 1 1 8 1 1 7 1 1 8 1 8 1 1 S Slave address Wr A Command code A S Slave address Rd A Data LSB A Data MSB N P S = start condition Host action P = stop condition A = acknowledge VEML6035 response N = no acknowledge Fig. 11 - VEML6035 Command Protocol
Device Address
The VEML6035 has one fix slave address for the host programming and accessing selection. The predefined 7 bit I2C bus address is set to 0101001 = 0x29. The least significant bit (LSB) defines read or write mode. Accordingly the bus address is set to 0101 0010 = 52h for write and 0101 0011 = 53h for read.
Auto-Memorization
VEML6035 can memorize the last ambient data before shutdown and keep this data before waking up. When VEML6035 is in shutdown mode, the host can freely read this data via read command directly. When VEML6035 wakes up, the data will be refreshed by new detection. Rev. 1.0, 12-Mar-2019
6
Document Number: 84889 For technical questions, contact: sensorstechsupport@vishay.com THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000