X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=i2c%2Frohm_bh1750%2FREADME;fp=i2c%2Frohm_bh1750%2FREADME;h=ab543461d70dd1ccc2ccc85f14d9f92ad67650a1;hb=5afac0494668d72903647122417b7a5506f7677f;hp=0000000000000000000000000000000000000000;hpb=9b05e5def7ad0445d571aa32b2a12921e3cec762;p=sigrok-dumps.git diff --git a/i2c/rohm_bh1750/README b/i2c/rohm_bh1750/README new file mode 100644 index 0000000..ab54346 --- /dev/null +++ b/i2c/rohm_bh1750/README @@ -0,0 +1,58 @@ +------------------------------------------------------------------------------- +ROHM BH1750FVI Digital Ambient Light Sensor +------------------------------------------------------------------------------- + +This is a capture of data output from a ROHM BH1750FVI digital ambient +light sensor. + +Details: +https://www.mouser.com/ds/2/348/bh1750fvi-e-186247.pdf + + +Logic analyzer setup +-------------------- + +The logic analyzer used is a Saleae Logic clone (at 500kHz): + + Probe BH1750FVI pin + ---------------------------- + D0 (CH1) SCL + D1 (CH2) SDA + + +bh1750_hresolutionmode.sr +------------------------- + +The sigrok 0.7.1 command line used: + +sigrok-cli --driver fx2lafw --channels D0=SCL,D1=SDA \ + --config samplerate=500khz:captureratio=1 --samples 100000 \ + --triggers SCL=1,SDA=f --output-file + +The file provides recommended setup of the sensor in One Time H-Resolution Mode +with default value 69 (0x45) of the measurement time bits in measurement time +registers (sensor sensitivity adjusting) with standard resolution 0.83 lux per +count. +The sensor has ADDR pin grounded (ADDR = 'L'), which results to the slave +address 35 (0x23). +The long time period between communication bursts represents sensor's +conversion period for configured resolution. + + +bh1750_h2resolutionmode.sr +-------------------------- + +The sigrok 0.7.1 command line used: + +sigrok-cli --driver fx2lafw --channels D0=SCL,D1=SDA \ + --config samplerate=500khz:captureratio=1 --samples 500000 \ + --triggers SCL=1,SDA=f --output-file + +The file provides setup of the sensor in One Time H-Resolution Mode2 with +value 254 (0xFE) of the measurement time bits in measurement time +registers (sensor sensitivity adjusting) with the lowest resolution 0.11 lux +per count (the highest sensitivity). +The sensor has ADDR pin grounded (ADDR = 'L'), which results to the slave +address 35 (0x23). +The long time period between communication bursts represents sensor's +conversion period for configured resolution.