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.



  • @stubtoe check this thread



  • Fantastic. Thank you @niccodemi 👍


Log in to reply
 

Suggested Topics

  • 8
  • 2
  • 90
  • 2
  • 3
  • 2

22
Online

11.2k
Users

11.1k
Topics

112.5k
Posts