Skip to content

Technik Blog

Programmieren | Arduino | ESP32 | MicroPython | Python | Raspberry Pi | Raspberry Pi Pico

Menu
  • About me
  • Contact
  • Deutsch
  • English
Menu

DIY Weather Station v2.0

Posted on 25. November 202229. April 2023 by Stefan Draeger

In this article I would like to introduce you to the DIY Weather Station V2. This slightly improved version now has an OLED display and a piezo buzzer for the output of signals.

DIY Weater Station v2.0
DIY Weather Station v2.0

  • History – What is the difference to version 1?
  • Structure of the circuit board
  • Sensors & actuators at a glance
  • Programming the DIY Weather Station V2
    • GitHub Repository
    • Program for reading out the sensors
    • Show sensor data on the OLED display
  • Display sensor data on a web page
  • Costs

History – What is the difference to version 1?

In the first version, I had chosen the design of the board to be quite small and compact. This resulted in a round circuit board that was reduced to the essentials. However, it lacked a display on which the values could also be shown. In addition, a small button for print mounting (12 mm high) was added, which can be used to step through the various sensor values.

Furthermore, a small piezo buzzer was missing, which serves to acoustically signal a previously programmed threshold value.

DIY Weather Station V2 - with Sensors and Display
DIY Weather Station V2 – with Sensors and Display
first version of DIY Weather Station
first version of DIY Weather Station

Structure of the circuit board

The installed sensors / actuators are connected via socket connectors. This not only makes it easy to replace sensors, but also allows the sensors to be installed anywhere.

Circuit board of the DIY weather station V2 (without sensors)
Circuit board of the DIY weather station V2 (without sensors)

Sensors & actuators at a glance

The DIY weather station has 3 sensors, an OLED display and a piezo buzzer (and also a print button and a light-emitting diode).

LED with series resistor
LED with series resistor
Piezo Buzzer
Piezo Buzzer
Push button with pull-up resistor
Push button with pull-up resistor
Circuit board of the DIY weather station V2 (without sensors)
Circuit board of the DIY weather station V2 (without sensors)
BMP180 Sensor - Air Pressure Sensor
BMP180 Sensor – Air Pressure Sensor
DHT11 Sensor - Temperature & Relative Humidity
DHT11 Sensor – Temperature & Relative Humidity
UV Sensor - Typ GYML8511
UV Sensor – Typ GYML8511
OLED display - I2C, resolution 64x32
OLED display – I2C, resolution 64×32

The following values can be measured with the installed sensors:

  • DHT11
    • Temperature
    • rel. Humidity
  • BMP180
    • Air pressure
    • Temperature
  • UV Sensor
    • UV-A & UV-B radiation

The BMP180 & DHT11 sensor both provide a temperature that we can process, so we may have the ability to measure a temperature at two locations and process them in one program.

Programming the DIY Weather Station V2

This small weather station can be programmed in the Arduino IDE with C/C++. It is also possible to program the sensors or microcontrollers in ESPeasy or MicroPython, but more about this in a separate article.

How to set up the Arduino IDE on a Microsoft Windows PC is explained in the article Installing the Arduino IDE. If you have a Linux PC, I would recommend the article Installing the Arduino IDE on Linux.

GitHub Repository

On my GitHub repository StefanDraeger / ESP8266—DIY-Wetterstation you can find a detailed explanation of this project with pictures and source code for small projects you can build with this board.

Program for reading out the sensors

On the GitHub repository mentioned above, you can find small examples of the sensors as well as two projects that show the sensor data on the OLED display on the one hand and on a website on the other.

Show sensor data on the OLED display

DIY Wetterstation V2 - Anzeigen der Sensorwerte auf einem OLED Display
Watch this video on YouTube.

Display sensor data on a web page

DIY Wetterstation V2 - Anzeigen der Sensordaten auf einer einfachen Webseite
Watch this video on YouTube.

Costs

The costs for the entire project amounted to 13 € for the components (sensors, actuators, socket connectors, etc.). Theoretically, you would have to add the time that went into the development of the board in EasyEDA, but I am taking this out of the calculation.

The production costs for the board amount to just under $14.45 (approx. €12.67) including shipping via “Global Direct Line Saver”.

Costs with shipping from Jlcpcb for this DIY Weather Station v2
Costs with shipping from Jlcpcb for this DIY Weather Station v2

Shipping via “Global Direct Line Saver” is particularly cheap, but the package takes much longer to reach the recipient. If you use JLCPCB.com, you will receive a message after production and can therefore easily calculate how long it will take from production to dispatch (usually only one day).

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Fragen oder Feedback?

Du hast eine Idee, brauchst Hilfe oder möchtest Feedback loswerden?
Support-Ticket erstellen

Newsletter abonnieren

Bleib auf dem Laufenden: Erhalte regelmäßig Updates zu neuen Projekten, Tutorials und Tipps rund um Arduino, ESP32 und mehr – direkt in dein Postfach.

Jetzt Newsletter abonnieren

Unterstütze meinen Blog

Wenn dir meine Inhalte gefallen, freue ich mich über deine Unterstützung auf Tipeee.
So hilfst du mit, den Blog am Leben zu halten und neue Beiträge zu ermöglichen.

draeger-it.blog auf Tipeee unterstützen

Vielen Dank für deinen Support!
– Stefan Draeger

Categories

Links

Blogverzeichnis Bloggerei.de TopBlogs.de das Original - Blogverzeichnis | Blog Top Liste Blogverzeichnis trusted-blogs.com

Stefan Draeger
Königsberger Str. 13
38364 Schöningen

Tel.: 01778501273
E-Mail: info@draeger-it.blog

Folge mir auf

  • Impressum
  • Datenschutzerklärung
  • Disclaimer
  • Cookie-Richtlinie (EU)
©2025 Technik Blog | Built using WordPress and Responsive Blogily theme by Superb
Cookie-Zustimmung verwalten
Wir verwenden Cookies, um unsere Website und unseren Service zu optimieren.
Funktional Always active
Die technische Speicherung oder der Zugang ist unbedingt erforderlich für den rechtmäßigen Zweck, die Nutzung eines bestimmten Dienstes zu ermöglichen, der vom Teilnehmer oder Nutzer ausdrücklich gewünscht wird, oder für den alleinigen Zweck, die Übertragung einer Nachricht über ein elektronisches Kommunikationsnetz durchzuführen.
Vorlieben
Die technische Speicherung oder der Zugriff ist für den rechtmäßigen Zweck der Speicherung von Präferenzen erforderlich, die nicht vom Abonnenten oder Benutzer angefordert wurden.
Statistiken
Die technische Speicherung oder der Zugriff, der ausschließlich zu statistischen Zwecken erfolgt. Die technische Speicherung oder der Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Zustimmung deines Internetdienstanbieters oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen allein in der Regel nicht dazu verwendet werden, dich zu identifizieren.
Marketing
Die technische Speicherung oder der Zugriff ist erforderlich, um Nutzerprofile zu erstellen, um Werbung zu versenden oder um den Nutzer auf einer Website oder über mehrere Websites hinweg zu ähnlichen Marketingzwecken zu verfolgen.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Einstellungen anzeigen
{title} {title} {title}