Prøve GULL - Gratis
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.
Denne historien er fra January 2023-utgaven av Electronics For You.
Abonner på Magzter GOLD for å få tilgang til tusenvis av kuraterte premiumhistorier og over 9000 magasiner og aviser.
Allerede abonnent? Logg på
FLERE HISTORIER FRA Electronics For You
Electronics For You
Low-power, reliable transmitter chip
Researchers at MIT (United States) have developed a compact transmitter chip that reduces signal errors by a factor of four and extends battery life for IoT devices.
1 min
September 2025

Electronics For You
Leading Suppliers of MICROSCOPES FOR OC OF ELECTRONICS
Who are India's Leading Suppliers of Microscopes for Quality Control of Electronics? Here is the list...
5 mins
September 2025

Electronics For You
Compact swarm-level AI drones navigation using neural network
Researchers at Shanghai Jiao Tong University (Shanghai, China) have developed a compact AI navigation system for drones.
1 min
September 2025

Electronics For You
ML-based wireless power transfer
Researchers at Chiba University (Chiba, Japan) have developed a machine learning-based method to design wireless power transfer (WPT) systems that stay efficient and stable across varying loads.
1 min
September 2025
Electronics For You
Wi-Fi that knows who you are
WhoFi, developed at La Sapienza University (Rome, Italy), is a Wi-Fi-based surveillance system that identifies individuals by how their bodies disrupt wireless signals; no cameras, contact, or consent is needed.
1 min
September 2025

Electronics For You
3mm-thick holographic display that delivers lifelike 3D visuals
Stanford researchers (California) have unveiled a 3mm-thick holographic display that delivers lifelike 3D visuals using true holography, not stereoscopy.
1 min
September 2025

Electronics For You
Smart Trolley Robot 'TROLL.E 1.0'
Robots now play a vital role across modern society, often described as human-like due to their growing presence in social and commercial environments.
3 mins
September 2025
Electronics For You
Compact metal-free thin-film supercapacitor delivers 200V
GDUT (Guangzhou, China )researchers have developed a metal-free thin-film supercapacitor (TFSC) stack that delivers 200V in just 3.8cm³.
1 min
September 2025

Electronics For You
Al-powered self-driving lab tests materials 10x faster
Researchers at NC State (Raleigh, North Carolina) have developed an Al-powered self-driving lab that uses dynamicstate flow and real-time data to test materials 10x faster than traditional labs.
1 min
September 2025

Electronics For You
Breakthrough in co-packaging photonic and electronic chips
The MIT (United States) FUTUR-IC team has developed a breakthrough chip packaging method that co-integrates electronics and photonics using passive alignment.
1 min
September 2025
Translate
Change font size