Combining multiple sensors into one sketch
-
Hi there,
Had some success creating a few temperature and humidity sensors hooked up to my veralite via a serial gateway.
I now want to move on and build an outdoor weather station using multiple sensors connected to one Arduino board. The thing is I'm struggling to understand how I would go about combining the sensor sketches for the various different sensors into one single sketch (e.g. temperature, humidity, rain sensor, barometric pressure etc). I assume its not as simple as copy and pasting sketches together.
Can anyone point me in the direction of some resource that would explain how to go about combining the sketches in this way?
Any help or guidance much appreciated.
-
Hi there,
Had some success creating a few temperature and humidity sensors hooked up to my veralite via a serial gateway.
I now want to move on and build an outdoor weather station using multiple sensors connected to one Arduino board. The thing is I'm struggling to understand how I would go about combining the sensor sketches for the various different sensors into one single sketch (e.g. temperature, humidity, rain sensor, barometric pressure etc). I assume its not as simple as copy and pasting sketches together.
Can anyone point me in the direction of some resource that would explain how to go about combining the sketches in this way?
Any help or guidance much appreciated.
-
Fantastic. Thank you @niccodemi :thumbsup:
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