Categories
Statistics
Flag Counter
Since 08.08.2014
Counts only, if "DNT = disabled".

Your IP is 54.147.244.185
ec2-54-147-244-185.compute-1
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
LIMITATIONS
Due to our Software License we must not allow to use the Target 3001 File for commercial use !

Favourites  Target 3001 Website
Your valuable opinion :
5 stars

Avg. 5.00 from 1 votes.



Envico_Luxmeter.php   8271 Bytes    15-04-2016 16:15:03


ENVICO®light


Luxmeter Adapter




ENVICO Luxmeter Adapter




✈ Circuit Description




This Adapter / Sensor consists only of three integrated circuits. One is an eeprom which holds information such as type of sensor, warning and alarm levels, one is a voltage regulator and the third one is an integrated light sensor with an internal integrating Analog Digital Converter. The ADC provides 16-bit resolution and is capable of rejecting 50Hz flicker caused by artificial light sources. The I2C interface provides four user programmable lux sensitivity ranges for optimised counts/lux in a variety of lighting conditions. Fotunately its SCL and SDA pins are 5 V tolerant (even when running at 3.3 V)



✈ Some Illumination examples ...




  Range

  Example

  Range 1 = 0 lux to 1'000 lux

  Lighting in an office : 500 lux

  Range 2 = 0 lux to 4'000 lux

  Lighting in a TV-Studio : 1'000 lux

  Range 3 = 0 lux to 16'000 lux

  Operation room : 10'000 lux

  Range 4 = 0 lux to 64'000 lux

  Sunlight on an cloudy day : 20'000 lux




✈ Downloads







✈ Arduino Sketch - The TEST - Code



Double click on code to select ...


		
/*
 Standalone Sketch to test the Luxmeter sensor with an ISL76683.
 http://www.changpuak.ch/electronics/envico/ENVICO_LUXMETER/ISL76683.pdf
 (Just to test the sensor and the I2C communication)
 Do not forget to supply the arduino with Vin, +12V !!!
 Alexander C. Frank, 15.06.2015, Version 1.0
*/
 
#include <Wire.h>

byte I2C_address = 0x44; 

void setup()
{
 Wire.begin();        // join i2c bus (address optional for master)
 Serial.begin(9600);  // start serial for output

 // INIT LUXSENSOR
 Wire.beginTransmission(I2C_address);
 Wire.write(0x00);      // Command        
 Wire.write(B10000000);        
 Wire.endTransmission();
 delay(10);
 Wire.beginTransmission(I2C_address);
 Wire.write(0x01);      // Control    
 Wire.write(B00001100);        
 Wire.endTransmission();
 delay(10);
 Wire.beginTransmission(I2C_address);
 Wire.write(0x02);      // High byte of HI interrupt threshold. Default is 0xFF    
 Wire.write(0xFF);        
 Wire.endTransmission();
 delay(10);
 Wire.beginTransmission(I2C_address);
 Wire.write(0x03);      // High byte of LO interrupt threshold. Default is 0x00    
 Wire.write(0x00);        
 Wire.endTransmission();
 delay(234);
 Serial.print("LUX Sensor Test\n");
}

void loop()
{

 Wire.beginTransmission(I2C_address);
 Wire.write(0x04); 
 Wire.endTransmission(); 
 
 Wire.requestFrom(I2C_address,2);
 int lux_lo = Wire.read();
 int lux_hi = Wire.read();
 unsigned long int lumi = (( lux_hi << 8 ) | lux_lo ) ;

 Serial.print(lumi,DEC); Serial.write(" lux");Serial.write("\n");

 delay(1000); 
}






✈ Share your thoughts


✈ Nothing more to be seen below this point ? Maybe your browser blocks the facebook iframe.
The webmaster does not read the comments regularly. Urgent questions should be send via email.








 
t1 = 3844 d

t2 = 629 ms

★ ★ ★  Copyright © 2006 - 2017 by changpuak.ch  ★ ★ ★

PRchecker.info Impressum