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


          19

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          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