Go Unlimited with Magzter GOLD

Go Unlimited with Magzter GOLD

Get unlimited access to 10,000+ magazines, newspapers and Premium stories for just

$149.99
 
$74.99/Year
The Perfect Holiday Gift Gift Now

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.

- PAMARTHI KANAKARAJA AND DR CH SRI KAVYA K.

WEATHER STATION Using STM32 (Blue Pill) And ThingSpeak loT

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.

MORE STORIES FROM Electronics For You

Electronics For You

Electronics For You

Tech Majors Are Racing TOWARDS NET-ZERO - What About You?

Apple, Microsoft, Amazon, Google, Infosys, Wipro—global and Indian firms are heading closer to achieving net-zero emissions, a mandate to combat climate change. Here is what you need to know to start your journey...

time to read

12 mins

December 2025

Electronics For You

Electronics For You

Miniature IoT WATER TDS And LEVEL MONITOR Cum CONTROLLER

For setups that rely on stored water, clear awareness of tank level and water quality is essential.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

The Impact Of GENERATIVE AI On The Future Of AUTOMOTIVE AND EVs

Autonomous vehicles, connected ecosystems, and smart factories are only the beginning. Generative Al is pushing the auto industry beyond predictions into a bold era of creativity-from EV design to real-time diagnostics and showroom automation. Here is how GenAl is reshaping innovation across the automotive value chain.

time to read

8 mins

December 2025

Electronics For You

Electronics For You

How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER

AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.

time to read

3 mins

December 2025

Electronics For You

How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER

AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

5 Interesting Reference Designs FOR SMART HOMES

Smart home devices are transforming the way people interact with their appliances. They make homes more convenient, secure, and energy-efficient. From smart plugs and energy monitors to smart locks and thermostats, reference designs help design engineers create connected products that are easy to use, consume less power, and are reliable. These designs allow you to control devices remotely, track energy use, extend battery life, and automate routines. They provide practical solutions for upgrading homes and small commercial spaces without major modifications.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

Fancy USB LED VASE

This USB LED vase is a simple yet elegant device that fuses art with electronics to create a decorative lighting display. Powered directly from a standard USB port, it uses readily available components such as MOSFETs, resistors, capacitors, and LEDs to produce a striking, dynamic sequence of lights.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

"WHAT OTHERS SELL IN FOUR BOXES WE BUILT IN ONE"

Years of custom field work are shaping a product line with its own cloud, its own hardware, and a market that is now beginning to recognise its value.

time to read

8 mins

December 2025

Electronics For You

Electronics For You

BUILD LARGE LANGUAGE MODELS

Large language models are machine learning models designed for a range of language-related tasks such as text generation and translation. Here’s how open source software can help you build your own large language model.

time to read

6 mins

December 2025

Electronics For You

Electronics For You

Rare Earth Or Rare Ingenuity? India Remains Between The Two

With China firmly controlling rare earth exports, India confronts a critical moment in its technological trajectory.

time to read

8 mins

December 2025

Translate

Share

-
+

Change font size

Holiday offer front
Holiday offer back