newby start his project
-
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
-
@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?
-
Thanks awi.
-
I made that some weeks aga.
this is my sensor and maybe it can give you some inspiration. Good Lucy @csnij
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
Interface-board-for-remote-control
My Project • 15 days ago • OldSurferDude 2 days ago -
Radar motion sensor
My Project • 16 days ago • suresh sharma 16 days ago -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
Simulate Online-Recreating 'Flappy Bird' with Arduino Nano
My Project • 15 Jan 2025, 09:13 • Skylar Jones 15 Jan 2025, 09:13 -
Wio-E5 (STM32 and SX1262)
My Project • 31 Dec 2024, 17:52 • nagelc 25 Jan 2025, 20:21