Difference between revisions of "BH1750"

From Let's Control It
Jump to navigation Jump to search
Line 14: Line 14:
  
 
== ESP Easy ==
 
== ESP Easy ==
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "BH1750 Lux Sensor" from the dropdown box and enter the IDX found in the Domoticz device page. That should be all.
+
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "BH1750 Lux Sensor" from the dropdown box.
 +
 
 +
[[File:EasyConfigLUX.png]]
 +
 
 +
Enter the IDX found in the Domoticz device page. That should be all.
  
 
== ESP Connexio ==
 
== ESP Connexio ==
 
Syntax: LUXRead "var"
 
Syntax: LUXRead "var"

Revision as of 07:46, 3 October 2015

Introductie

The ESP module can read a BH1750 Lux sensor using the I2C protocol.

The BH1750 sensor needs to be connected to a the I2C pins on the ESP module. These pins can be configured on the hardware tab.

Hardware

BH1750.jpg

The BH1750 sensor can be connected directly to an ESP module by using the two pins SDA and SCL.

Software

Custom Sketch

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "BH1750 Lux Sensor" from the dropdown box.

EasyConfigLUX.png

Enter the IDX found in the Domoticz device page. That should be all.

ESP Connexio

Syntax: LUXRead "var"