Versuchen GOLD - Frei
WEATHER STATION Using STM32 (Blue Pill) And ThingSpeak loT
Electronics For You
|January 2023
This simple weather station detects environmental parameters such as temperature, humidity, and soil moisture. The temperature and humidity sensor DHT11 used measures the atmospheric temperature while the soil moisture sensor measures moisture in the earth. Block diagram of the project is shown in Fig. 1.
Circuit for regulated power supply required for the project is shown in Fig. 2. It is built around 12V-0-12V, 750mA step-down centre-tapped transformer, full-wave rectifier comprising two 1N4007 diodes (D1 and D2), 5V regulator 7805 (IC1), and two electrolytic capacitors: 1000µF, 25V (C1) and 100μF, 25V (C2).
The main circuit, shown in Fig. 3, is built around soil moisture sensor module DHT11, STM32F103 board known as Blue Pill, LM016L LCD, ESP8266 board, and a few other components. The power requirement of this project is 5V for STM32 and 3.3V 3.6V for ESP8266 Wi-Fi module.
5V is converted to 3.6V through the potential divider circuit formed by silicon diodes D3 and D4 and the 1k resistor connected in series with them. Each silicon diode's cut in voltage is 0.7V. So, the two diodes in series drop the voltage by 1.4V and we get 5V-1.4V = 3.6V.
As shown in Fig. 3, the DHT11 sensor is used to measure temperature and humidity. The sensor comes with a dedicated in-built NTC thermistor to measure temperature. It has an 8-bit microcontroller on-board to output the values of temperature and humidity as serial data through one-wire protocol. The sensor has only one data pin through which both temperature and humidity values can be read, thus saving pins on the microcontroller side. The sensor is factory calibrated and easily interfaces with a microcontroller. Pin details of DHT11 are shown in Fig. 4 and the STM32F103C8T6 (Blue Pill) is shown in Fig. 5.

Diese Geschichte stammt aus der January 2023-Ausgabe von Electronics For You.
Abonnieren Sie Magzter GOLD, um auf Tausende kuratierter Premium-Geschichten und über 9.000 Zeitschriften und Zeitungen zuzugreifen.
Sie sind bereits Abonnent? Anmelden
WEITERE GESCHICHTEN VON Electronics For You
Electronics For You
SMART SPEED MONITORING SYSTEM For Road Safety
Advances in embedded systems and sensors have enabled efficient, intelligent surveillance solutions that improve safety and control in transportation and automation applications.
3 mins
March 2026
Electronics For You
REAL-TIME FACE TRACKING Using Raspberry Pi 4 Versus Raspberry Pi 5 With Hailo-8L
Real-time face tracking has evolved from a research novelty into a practical tool for interactive robotics, surveillance, and automation.
7 mins
March 2026
Electronics For You
LED BAR DISPLAY Showing Audio Signal Level
This is a simple audio-signal-based LED indicator built around the LM3914 display driver IC.
3 mins
March 2026
Electronics For You
Simple Tricks To Pack MORE 5G ANTENNAS
Can compact isolation structures enable denser 5G antennas? PCB-friendly isolation techniques make it possible to place more antennas into tight layouts without sacrificing isolation, gain, or efficiency.
5 mins
March 2026
Electronics For You
Deploying GENERATIVE AI MODELS Efficiently
Enterprise deployment of Generative AI depends on the seamless optimisation of hardware and software, driving higher performance at lower cost. It highlights the purpose-built hardware powering GenAl and the software methods that help enterprises extract maximum efficiency.
5 mins
March 2026
Electronics For You
Alexa-Enabled Smart IoT ELECTRICITY METER SWITCH BOARD
Imagine tracking power-line voltage, frequency, current draw, and appliance power consumption through a smart switch plug.
5 mins
March 2026
Electronics For You
Making Responsible AI THE STANDARD
With hallucinations, bias, opaque decisions, and even CO2 costs adding up, it is clear that AI needs discipline and responsibility built in from the start.
5 mins
March 2026
Electronics For You
BATTERYLESS MICROCONTROLLER Operation Using Supercapacitor
Imagine a world where microcontrollers (MCUs) and development boards operate without batteries.
5 mins
March 2026
Electronics For You
Gujarat Is Becoming The 'Taiwan Of India'
In conversation with EFY’s Nitisha Dubey, Jatin Chudasama of Allnyx Technologies discusses Gujarat’s electronics ecosystem, policy landscape, market opportunities, and workforce challenges, while outlining the company’s scaling and long-term growth plans.
2 mins
March 2026
Electronics For You
FROM TIER-1 TO TIER-0.5: The Rise Of Intelligent Parts And Micro-Interactions
What if the smartest part of a product is not the product itself but the tiny subsystem quietly making decisions and talking back? Designing the future becomes an exercise in coordinating many small, purposeful minds rather than relying on one central core.
12 mins
March 2026
Translate
Change font size

