Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. niek
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by niek

    • niek

      RGB Controller Addressable led strip
      Hardware • • niek  

      8
      0
      Votes
      8
      Posts
      4305
      Views

      dakipro

      @matthewdllh hi, did you have any luck with the strips? I am considering those as well. Can you share the link from where you purchased them? Maybe some more info about the project if you got any success with it? Thanks!
    • niek

      Sketch only works when console is open
      Hardware • • niek  

      3
      0
      Votes
      3
      Posts
      759
      Views

      AWI

      @niek Try with a basic blink sketch and see what happens. if this keeps working add some serial output and see what happens.
    • niek

      Change default pin
      Troubleshooting • • niek  

      2
      0
      Votes
      2
      Posts
      2598
      Views

      mfalkvidd

      @niek said: Is there a way to override the default pin? Yes and no. And maybe you don't have to Have you tried connecting both sensors to the same pins? That might work without you having to do anything. If that doesn't work, read on... The Adafruit BH1750 and BMP085 libraries do not support configuring which device on the i2c bus to "talk" to. There is an old pull request to add support, but it hasn't been added to the official code. You could download the fork. Both sensors communicate using i2c, and it is possible to connect multiple i2c devices to the same i2c bus. The two Adafruit libraries use the Wire library underneath. The Wire library handles i2c communication. So if you use the Wire library directly, you can connect both sensors to the same pins and follow the instructions here. Doing that will probably require some programming skills though, since you will need to do the stuff done by Adafruit's libraries manually. An alternative might be ut use Soft SPI to use a different set of pins, but I think that would require more work than using the Wire library.