VMA341 BH1750 DIGITAL LIGHT-INTENSITY SENSOR MODULE USER MANUAL
VMA341 USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.
VMA341 5. Overview The VMA341 (BH1750) is a digital ambient light sensor for I2C bus interface. This module is the most suitable to obtain ambient light data for adjusting LCD and the keypad backlight power of mobile phones. supply voltage............................................................................................................... 5 V voltage .................................................................................................................. 3.3 VCC operating temperature .
VMA341 int i; uint16_t val=0; BH1750_Init(BH1750address); delay(200); if(2==BH1750_Read(BH1750address)) { val=((buff[0]<<8)|buff[1])/1.2; Serial.print(val,DEC); Serial.println(" lux"); } delay(150); } int BH1750_Read(int address) // { int i=0; Wire.beginTransmission(address); Wire.requestFrom(address, 2); while(Wire.available()) // { buff[i] = Wire.read(); // receive one byte i++; } Wire.endTransmission(); return i; } void BH1750_Init(int address) { Wire.beginTransmission(address); Wire.
Velleman® Service and Quality Warranty Since its foundation in 1972, Velleman® acquired extensive experience in the electronics world and currently distributes its products in over 85 countries. All our products fulfil strict quality requirements and legal stipulations in the EU. In order to ensure the quality, our products regularly go through an extra quality check, both by an internal quality department and by specialized external organisations.