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
-
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? :wink:
-
I made that some weeks aga. :) this is my sensor and maybe it can give you some inspiration. Good Lucy @csnij
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login