Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Weather Station Sketch

Weather Station Sketch

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • maximM Offline
    maximM Offline
    maxim
    wrote on last edited by
    #1

    Hello everybody,

    I have a question about the weather station sketch:

    https://github.com/windkh/mysensors/blob/master/WeatherStationSensor/WeatherStationSensor.ino

    this sketch is recommended in the forum but the DHT sensor measures no temperature changes or humidity change, during BMP180 to a temperature change responds.
    I have tested the DHT-sensor with the Humidity Sketch of Mysensors under IDE> examples, the sensor reacts immediately to a change in temperature.

    Only when I reboot Arduino, then DHT provides the right temperature !?

    Even the official weather station sketch behaves exactly

    Can someone help me, thanks in advance.

    (Between pin1 and pin2 a 10Kohm resistor is built)

    greeting
    Timo

    mfalkviddM 1 Reply Last reply
    0
    • maximM maxim

      Hello everybody,

      I have a question about the weather station sketch:

      https://github.com/windkh/mysensors/blob/master/WeatherStationSensor/WeatherStationSensor.ino

      this sketch is recommended in the forum but the DHT sensor measures no temperature changes or humidity change, during BMP180 to a temperature change responds.
      I have tested the DHT-sensor with the Humidity Sketch of Mysensors under IDE> examples, the sensor reacts immediately to a change in temperature.

      Only when I reboot Arduino, then DHT provides the right temperature !?

      Even the official weather station sketch behaves exactly

      Can someone help me, thanks in advance.

      (Between pin1 and pin2 a 10Kohm resistor is built)

      greeting
      Timo

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Hi @maxim, welcome to the MySensors forum!

      Whatd does the serial debug output say?

      1 Reply Last reply
      0
      • maximM Offline
        maximM Offline
        maxim
        wrote on last edited by
        #3

        Hi, thanks for your reply.
        I see in the serial monitor (debug is enabled) that the temperature and the humidity data are alternately displayed, but no changes are displayed. If I put an ice pack on the sensor, it shows 24 degrees :)
        But after about an hour I see in serial monitor that the temperature goes down to 12 degrees.

        1 Reply Last reply
        0
        • maximM Offline
          maximM Offline
          maxim
          wrote on last edited by
          #4

          also the official Sketch with development library behaves the same way, which means there is no temperature change of DHT22 in serial monitor display, after a new start of Arduino I see the right temperature, I do not know what I'm doing wrong?

          Sketch:
          https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/WeatherStationSensor/WeatherStationSensor.ino

          1 Reply Last reply
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          9

          Online

          12.1k

          Users

          11.2k

          Topics

          113.4k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular