Essayer OR - Gratuit
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.

Cette histoire est tirée de l'édition January 2023 de Electronics For You.
Abonnez-vous à Magzter GOLD pour accéder à des milliers d'histoires premium sélectionnées et à plus de 9 000 magazines et journaux.
Déjà abonné ? Se connecter
PLUS D'HISTOIRES DE Electronics For You
Electronics For You
Soft-robotic glove for swelling relief
A soft-robotic wearable glove developed by researchers at Cornell University electronically compresses the hand to reduce swelling and has been designed to help patients manage oedema at home.
1 min
April 2026
Electronics For You
TACHOMETER WITH LED DISPLAY To Show Bicycle And Fan Speeds
Measuring the speed of a rotating object is a common requirement. Knowing the speed of table and ceiling fans, as well as kitchen appliances such as mixers and grinders, can often be useful.
5 mins
April 2026
Electronics For You
How AI Is Revolutionising EMBEDDED SYSTEMS' DESIGN
From flowcharts to firmware, the embedded design pipeline is evolving. This article examines Al's growing influence on embedded design workflows.
8 mins
April 2026
Electronics For You
AUDIO SPECTRUM ANALYSER With Bar-Type LED Display
An audio spectrum analyser is an electronic instrument or device that measures and displays the amplitude of an input signal as a function of frequency.
4 mins
April 2026
Electronics For You
“We Believe In Relationship Building More Than Business”
In an interaction with EFY's Nitisha Dubey, Pragnesh Patel of CircuitWala shares insights into Gujarat's PCB ecosystem, policy support, growth roadmap, expansion strategy, and the company's market positioning challenges.
2 mins
April 2026
Electronics For You
BLDC Motor Failure Detection System FOR DRONE SAFETY
Drones are widely used across several fields, including aerial photography, surveying, inspection, agriculture, and recreation.
5 mins
April 2026
Electronics For You
HOW VISION COMPUTING SOCs Will Reshape India's Electronics And Embedded Systems Landscape
Vision Computing SoCs could emerge as a defining layer in India’s next phase of electronics growth. With the right ecosystem in place, the country can move beyond following global hardware trends and begin shaping the future of intelligent embedded systems.
3 mins
April 2026
Electronics For You
AI-Powered, Secure, And Intelligent FUTURE OF EMBEDDED SYSTEMS
What if the silent chips around us could think? By 2025, embedded systems have moved beyond executing code-they can now actively shape their environments. From wearables that predict heart conditions to self-healing factories, smart machines now learn and adapt in real time. This expanding capability brings new challenges in energy, safety, and design.
6 mins
April 2026
Electronics For You
"EMBEDDED AI IS No Longer Waiting FOR THE CLOUD"
Transformer-level AI running natively on microcontrollers was once considered impossible.
4 mins
April 2026
Electronics For You
AI-BASED GATEMAN SYSTEM To Record Vehicle Number Plates
An earlier version of this automatic gateman system, built around a camera-based design, was published on the Electronics For You website and can be accessed here:
4 mins
April 2026
Translate
Change font size
