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.
Voltage regulator for STM32 can be replace by 5V battery or 5V DC adaptor. The STM microcontroller is used for getting the sensor data and displaying it on LCD and also sending the data to the Wi-Fi board. The ESP receives the data and uploads it to ThingSpeak cloud. But before that we need to set up the ThingSpeak and get the API token to incorporate it in the code.
This story is from the {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Sign In
This story is from the {{IssueName}} edition of {{MagazineName}}.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Sign In
TRULY INNOVATIVE ELECTRONICS -INNOVATION UPDATES
Amongst numerous press releases of new products received by us, these are the ones we found worthy of the title Truly Innovative Electronics
Elastomer enhancing smart wearable performance
A high-tech, flexible wearable device made from the innovative elastomer material
Nanotechnology based noninvasive cancer diagnostics
Nanoflake sensors built from indium oxide with platinum and nickel detect changes in isoprene
Space communication with silent amplifiers
In the new communication system from researchers at Chalmers University of Technology, in Sweden, a weak optical signal (red) from the spacecraft's transmitter can be amplified noisefree when it encounters two so-called pump waves (blue and green) of different frequencies in a receiver on Earth.
Advancements in TOPCon solar cells
The structure and performance of tandem devices with highly passivated TOPCon bottom cells
Quantum leap in magnetism refines superconductors
Rice University physicists have uncovered key magnetic and electronic properties in kagome magnets, structures resembling basket-weaving patterns.
Sensor targets food antioxidants
A research team from Hunan City University and Xiangtan University in China has developed a sensor for detecting TBHQ, a food antioxidant used in oils and fats, addressing health concerns at high concentrations.
Data sensing with repurposed RFID tags
UC San Diego researchers have advanced passive data collection with a breakthrough in battery-free sensing.
Seal-inspired sensors to safeguard offshore wind farms
Schematic structure of the seal whisker-inspired flow sensors
Artificial nose identifies scents accurately
Artificial nose identifies scents accurately