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. My Project
  3. newby start his project

newby start his project

Scheduled Pinned Locked Moved My Project
4 Posts 3 Posters 1.5k Views 1 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.
  • C Offline
    C Offline
    csnij
    wrote on last edited by
    #1

    Hello,

    i have build a gatway and a humidity/temp sensor from mysensor.org and its works perfectly.

    now wil i start with a little wether station bild by my self to learn to write software for the arduino.
    there must a humidity/temp, presser and a lux sensor in.
    now saw i that the pressure (bmp085) and the lux sensor (bh1750) use the same pins.

    How and were can i change one of this? i can't find it in the exampels to chance it.

    thanks chris

    AWIA 1 Reply Last reply
    0
    • C csnij

      Hello,

      i have build a gatway and a humidity/temp sensor from mysensor.org and its works perfectly.

      now wil i start with a little wether station bild by my self to learn to write software for the arduino.
      there must a humidity/temp, presser and a lux sensor in.
      now saw i that the pressure (bmp085) and the lux sensor (bh1750) use the same pins.

      How and were can i change one of this? i can't find it in the exampels to chance it.

      thanks chris

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #2

      @csnij both sensors should use the same pins as they are I2c. This is a serial bus protocol where each of the devices has an unique bus address. If you use the example libraries (including the wire.h) for these sensors they will be addressed on their default bus address. (sounds like magic doesn't it? :wink:

      1 Reply Last reply
      0
      • C Offline
        C Offline
        csnij
        wrote on last edited by
        #3

        Thanks awi.

        1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          I made that some weeks aga. :) this is my sensor and maybe it can give you some inspiration. Good Lucy @csnij

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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


          29

          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