Difference between revisions of "BH1750 (Deutsch)"
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Module | {{Module | ||
|NAME=BH1750 | |NAME=BH1750 | ||
− | |MENUCONFIG={{Hardware}}->I2C->I2C master->I2C BH1750 | + | |MENUCONFIG={{Hardware}}->I2C->I2C master->I2C BH1750 |
|STATUS={{Experimental}} | |STATUS={{Experimental}} | ||
|PINNING=no | |PINNING=no | ||
|ECMD={{has_ecmd}} | |ECMD={{has_ecmd}} | ||
|CONTROL6=no | |CONTROL6=no | ||
− | |DEPENDS=I2C | + | |DEPENDS=[[ECMD]], [[I2C]] |
|REQUIRES= - | |REQUIRES= - | ||
− | |CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/i2c/master/ https://github.com/ethersex/ethersex/tree/master/hardware/i2c/master/] | + | |CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/i2c/master/i2c_bh1750.c https://github.com/ethersex/ethersex/tree/master/hardware/i2c/master/i2c_bh1750.c] |
}} | }} | ||
Line 15: | Line 15: | ||
BH1750 implementiert eine [[ECMD_(Deutsch)|ECMD]] Schnittestelle zur Steuerung des Sensors. Siehe [[ECMD_Reference|ECMD Referenz]]. | BH1750 implementiert eine [[ECMD_(Deutsch)|ECMD]] Schnittestelle zur Steuerung des Sensors. Siehe [[ECMD_Reference|ECMD Referenz]]. | ||
+ | |||
+ | {| border=1 | ||
+ | | '''Command Syntax''' | ||
+ | | '''Short description''' | ||
+ | |- | ||
+ | | bh1750 mode auto_power_down | ||
+ | | Setzen des Arbeitsmodus (Empfindlichkeit 1=Niedrig, 2=Mittel 3=Hoch 99=Automatisch, Stromsparmodus 0=aus, 1=an) | ||
+ | |- | ||
+ | | bh1750 lux | ||
+ | | Abfrage der gemessenen Helligkeit in Lux | ||
+ | |- | ||
+ | |} |
Latest revision as of 13:26, 16 June 2018
BH1750 | |
---|---|
Status | Experimental
|
menuconfig | I/O->I2C->I2C master->I2C BH1750 |
Pinning | no |
Ecmd | yes |
Control6 | no |
Depends on | ECMD, I2C |
Requires | - |
Code | https://github.com/ethersex/ethersex/tree/master/hardware/i2c/master/i2c_bh1750.c |
ECMD
BH1750 implementiert eine ECMD Schnittestelle zur Steuerung des Sensors. Siehe ECMD Referenz.
Command Syntax | Short description |
bh1750 mode auto_power_down | Setzen des Arbeitsmodus (Empfindlichkeit 1=Niedrig, 2=Mittel 3=Hoch 99=Automatisch, Stromsparmodus 0=aus, 1=an) |
bh1750 lux | Abfrage der gemessenen Helligkeit in Lux |