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 • 13 days ago • OldSurferDude 13 days ago -
Wio-E5 (STM32 and SX1262)
My Project • 31 Dec 2024, 17:52 • nagelc 25 Jan 2025, 20:21 -
Nb of possible nodes in a mysensors networks with domoticz
My Project • 13 Jan 2025, 18:10 • GLAB 16 Feb 2025, 01:11 -
Long time test done with soil sensor!
My Project • 7 Jan 2025, 09:13 • Nicklas Starkel 13 Jan 2025, 09:10 -
Status of my rv(camper) home automation system 2020-2025
My Project • a day ago • fsgraz about 5 hours ago