Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. How to connect two BH1750 digital light sensor?

How to connect two BH1750 digital light sensor?

Scheduled Pinned Locked Moved General Discussion
bh1750light senorsdigital
2 Posts 2 Posters 21 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eilleesy
    Banned
    wrote on last edited by
    #1

    Hi, all
    I want to read data from two BH1750 sensors at the same time. I connected ADDR pin to VCC for first sensor and didn't connect ADDR pin to second sensor. I2C scanner shows sensors connected to 0x23 and 0x5C respectively.
    I tried to use this LIB by Genotronex, and it's work, but the values prints in int type. So i tried this LIB by Claws, because data reads in float type and wrote a sketch, but my arduino reads data only from 0x23 address and lux1/lux2 has the same values.
    Also, I tried to change calculation method in Genotronex lib, but to no avail.
    I will be glad to any suggestions. Many thanks.

    skywatchS 1 Reply Last reply
    0
    • E Eilleesy

      Hi, all
      I want to read data from two BH1750 sensors at the same time. I connected ADDR pin to VCC for first sensor and didn't connect ADDR pin to second sensor. I2C scanner shows sensors connected to 0x23 and 0x5C respectively.
      I tried to use this LIB by Genotronex, and it's work, but the values prints in int type. So i tried this LIB by Claws, because data reads in float type and wrote a sketch, but my arduino reads data only from 0x23 address and lux1/lux2 has the same values.
      Also, I tried to change calculation method in Genotronex lib, but to no avail.
      I will be glad to any suggestions. Many thanks.

      skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by
      #2

      @Eilleesy I suggest you post your code and any error messages you get. A link to the library you want to use might also be useful.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      11

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular