Elektroda.com
Elektroda.com
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.com

Simple wall-mounted weather station

PablitoX 3894 12
This content has been translated flag-pl » flag-en View the original version here.
  • Simple wall-mounted weather station

    I liked the Byrrt weather station Link So I decided to create my own, simpler and stupider version on the commonly available and cheap DS18B20, BMP180 and DHT11 sensors (but with a housing). I aimed at the readability of the information on the display, so there are no infographics, no "trends", etc. Indoor and outdoor temperature, pressure, humidity and that's it.

    Software is an arduin conglomerate of prefabs and custom scribbles. The program correctly displays negative temperatures, there are no double minus flowers between -9 and -10 degrees, I did not use the "lcd_clear" command, so the screen does not blink. For reasons unknown to me, the pressure measurement with the BMP180 had to be multiplied by 1.013 for the result to be correct, I connected another sensor, but it turned out to be damaged. For a few days I compared the accuracy of the pressure measurement with the METAR reports from a nearby airport, above 1000 hPa the error did not exceed 1 hPa, below 1000 hPa the indications differed by 1-2 hPa, it is difficult, I will live with it. The indications of both thermometers are practically identical.



    The board is dual-voltage, so you can use various modules, not only at 5V, in the presented project the BMP sensor is powered by 3.3V, but you can solder the LM78L05 there and it will also work. The analog part is filtered with a simple 10 uH filter, I didn't give any quartz capacitors, because I didn't, but there is room for them. The presented version is a wall-mounted device, although the design of the housing is a matter for the user and it may as well be free-standing, etc. outside the device.

    The housing is KM-111 from the Maszczyk offer. A little warning against the cheapest blue LCD displays, the characters are not displayed, just "displayed" at a sluggish pace. The refresh time is in practice up to a second.

    Simple wall-mounted weather station

    Simple wall-mounted weather station Simple wall-mounted weather station Simple wall-mounted weather station Simple wall-mounted weather station Simple wall-mounted weather station Simple wall-mounted weather station Simple wall-mounted weather station

    Cool? Ranking DIY
    Can you write similar article? Send message to me and you will get SD card 64GB.
    About Author
    PablitoX
    Level 10  
    Offline 
    PablitoX wrote 52 posts with rating 139, helped 0 times. Been with us since 2019 year.
  • #2
    pier
    Level 23  
    Hi
    With pressure measurement you are fine. The sensor simply measures absolute pressure and the pressure above sea level is commonly used.
    Check with this calculator if it is correct.
    If you want, I can send you a piece of code that calculates it taking into account the temperature.
    I would get rid of the DHT11 right away, it's a toy piece of plastic that shows random values, especially when it comes to humidity.
    Plus for a well-chosen housing, the whole thing looks nice.
  • #3
    Tomekob
    Level 15  
    "pier", but you made me happy with this calculator, I needed it and I didn't know it was and where. THANKS!
  • #4
    ArturAVS
    Moderator of HydePark/Cars
    Minimalistic workmanship and good functionality, a big plus from me. Very good selection of electronics housing.
  • #5
    efi222
    Level 11  
    As my colleague @pier noticed, the DHT11 is a toy, although you can find a good one. As for the BMP180, they have factory spreads of up to 3 hPa. And here only a software correction can help.
    Make the station neat and aesthetic.
  • #6
    Slawek K.
    Level 35  
    Such a small note, the station does not measure the temperature in the room (room), but the temperature of the electronics inside the housing. The sensor should be placed outside, at the bottom of the housing - so that it does not heat up from the electronic system.

    Besides, a very nice housing ;)
  • #7
    PablitoX
    Level 10  
    None of that, all the thermometers are on the outside, only the humidity is measured inside. You can see it in the last photos.
  • #8
    Slawek K.
    Level 35  
    You write about the DS18B20, which I see on the board, and the DHT and BME sensors are on the outside of the board, but still inside the housing. I don't know which sensor you are taking the temperature measurement from, but both are inside a closed housing. So, as I wrote above, you measure the temperature of the electronics that heats the air inside the case, not the room temperature. The temperature sensor should be outside the housing, from the bottom.
  • #9
    PablitoX
    Level 10  
    Believe me they are not :) The device is wall mounted, but this "wall" is a plate with a hole underneath (old wardrobe), so the sensors are on wires outside the casing (and also outside the wardrobe). The device is wall mounted, but it is better if it is not a solid wall, but some plasterboard, or a partition wall with the possibility of releasing dallas and Bosch somewhere where they will not stick around. Only DHT11 remained "on the plate", but he only measures the humidity (which, due to the hole and inaccurate adherence to the plate, does not distort the result at all).
  • #10
    pier
    Level 23  
    Oh, the BMP180 will not measure the pressure correctly, how will it be in the housing?
    As for DHT11 I already wrote, it does not measure moisture.
  • #11
    PablitoX
    Level 10  
    Some kind of festival of misunderstanding begins. In addition to pressure, the BMP180 also measures the temperature inside, so it cannot be in the housing, and the Dallas is supposed to be outside (because it is not yet) *

    * outside the BUILDING
  • #12
    pier
    Level 23  
    It's cool, I forgot about the temperature measured by BMP, but I won't let DHT go away, it's crap.
    And how do you tend to calculate the NPM pressure as I wrote?
  • #13
    Slawek K.
    Level 35  
    PablitoX wrote:
    Believe me they are not :) The device is wall mounted, but this "wall" is a plate with a hole underneath (old wardrobe), so the sensors are on wires outside the casing (and also outside the wardrobe). The device is wall mounted, but it is better if it is not a solid wall, but some plasterboard, or a partition wall with the possibility of releasing dallas and Bosch somewhere where they will not stick around. Only DHT11 remained "on the plate", but he only measures the humidity (which, due to the hole and inaccurate adherence to the plate, does not distort the result at all).

    In an earlier post you wrote that I should look at the photo, the photos show where the sensors are, so I wrote my comments on this basis. If you wrote in the description that the sensors are on the wires, this would not be this discussion ;)
    In conclusion, I would definitely prefer to measure both temperatures with 2 DS than BMP.