yvGDBLmpE

Based on Liangshanpai handheld environmental monitoring device

 
Overview
Function Introduction:
This project involves data acquisition from temperature, humidity, air pressure, and hazardous gas sensors, real-time display, and independent power supply. It's a very comprehensive project requiring diverse technical knowledge. Here's a basic guide:


Hardware Selection:

Temperature and Humidity Sensor: The DHT21 is an affordable and stable temperature and humidity sensor.
Air Pressure Sensor: The BMP183 is a high-precision, low-power air pressure sensor that can communicate with a microcontroller via an I2C interface.
Hazardous Gas Sensor: The TVOC gas sensor AGS10 can detect smoke and alcohol.
Display Module: If a low-power screen is needed, an OLED display can be considered. They are small, can display high-contrast images, and are very energy-efficient. A 1.69-inch TFT screen is used here.
Battery: 3.7V 5000MA lithium battery.



Programming:

The MDK platform is used.
Drivers are written for the sensors to acquire the collected data. The communication and operation of each device are understood by consulting its specifications.
For real-time display, a graphics library is used, and the collected data is displayed on the screen using the written code.



Human-Machine Interface Design: In addition to displaying data, user interface elements such as buttons and menus are designed. These elements can be implemented using LVGL or other graphics libraries.


Testing and Verification: After downloading the modified program to GD, comprehensive testing and verification are conducted through human-machine interaction to ensure the system's correctness and reliability. This includes testing the sensor accuracy under relatively stable environmental conditions to ensure reliability and stability during testing.


Optimization and Improvement: Based on the test results, some optimizations and improvements need to be made to the system to improve performance or resolve potential problems.


Documentation: Detailed documentation is prepared, including hardware specifications, software code, test results, etc., for future maintenance and improvement of the project.
Design Requirements:
The Liangshanpai Handheld Environmental Monitor is a portable device specifically designed for environmental monitoring. It is small and lightweight, battery-powered, freeing you from the hassle of power cords and allowing you to monitor the environment anytime, anywhere.
The device is equipped with temperature and humidity sensors to detect temperature and humidity data in real time, providing accurate data support for environmental analysis. In addition, it is equipped with a barometric pressure sensor to detect atmospheric pressure data, helping you understand the current atmospheric pressure conditions.
To provide a more comprehensive view of environmental conditions, the Liangshanpai handheld environmental monitor is equipped with a hazardous gas sensor for detecting harmful gases and other data. This sensor features high sensitivity and a fast response, enabling real-time monitoring of hazardous gas concentrations in the environment.
For convenient real-time data viewing, the Liangshanpai handheld environmental monitor features an easy-to-observe screen. Through touchscreen operation, you can easily view real-time data such as temperature, humidity, air pressure, and hazardous gases. Furthermore, the screen boasts a beautiful visual effect and a user-friendly interface, making it very convenient to use.
You can monitor environmental conditions anytime, anywhere, bringing greater convenience to your work and life.
Hardware Design:
The Liangshanpai handheld environmental monitor's hardware design includes the following main components:


Sensors:

Temperature and Humidity Sensor: The AHT21 sensor is selected, which accurately measures temperature and humidity to meet environmental monitoring needs.
Air Pressure Sensor: The BMP183 sensor is selected, which measures atmospheric pressure and temperature, providing essential data for environmental monitoring.
Hazardous Gas Sensor: The TVOC gas sensor AGS10 is used to detect harmful gases such as smoke and alcohol.



Microcontroller Section:

The Liangshanpai handheld environmental monitor uses a GD32-type microcontroller to process sensor data and communicates with other GD32 microcontrollers via an I2C interface.
For better screen refresh, it is connected to the hardware SPI pin.



Display Module:

A TFT display screen is used to display the collected environmental data.



Battery Power Supply:

The Liangshanpai handheld environmental monitor uses a rechargeable lithium battery to ensure long-term use.



Peripheral Circuits:

In addition to the main functional modules, corresponding peripheral circuits need to be designed to support the operation of these modules, including power management circuits, filtering circuits, and protection circuits.
Hardware Introduction:

The AGS10 is a MEMS semiconductor intelligent TVOC gas sensor with calibrated digital signal output. It uses dedicated digital module acquisition technology and gas sensing technology, featuring high reliability and excellent long-term stability. This MEMS gas sensor features low power consumption, high sensitivity, fast response, high reliability and stability, low cost, and simple driving circuitry. It uses I2C digital output signals and integrates a high-performance semiconductor silicon-based resistive TVOC sensor. While the AHT21 and AHT10 temperature and humidity sensors from Auson are similar in function and performance, there are some differences. The AHT21 is a high-precision temperature and humidity sensor with digital I2C signal output, while the AHT10 is also a digital signal output sensor, but its accuracy and performance may differ from the AHT21.
The AHT21 is compact and tiny, measuring only 3*3mm and 0.8mm in height, making it ideal for use in a variety of devices. It not only boasts excellent performance but also maintains good accuracy over a wide temperature range (-40℃ to 120℃). Furthermore, the AHT21 features I2C digital signal output for easy communication with microcontrollers or other devices. If you need to replace the AHT10 sensor and require digital I2C signal output, the AHT21 may be a suitable option. You can use the AHT21 to measure and monitor temperature and humidity and connect it to your devices for data transmission and processing. The 1.69-inch TFT display is a color high-definition IPS LCD bare screen with a resolution of 240x280. It uses an SPI interface for communication and is driven by an ST7789. IPS technology provides a wider viewing angle, allowing users to view the screen from different angles without color distortion or image shift. The SPI interface is a commonly used synchronous serial interface that allows communication between the microcontroller and other devices. The ST7789 is a common TFT LCD controller that supports the SPI interface and can be used to drive the 1.69-inch TFT display. The WF183D is an economical digital pressure and temperature sensor that internally contains a MEMS pressure sensor and a high-resolution 24-bit ΔΣ ADC and DSP. This means it can measure pressure and temperature very accurately and convert this data into digital signal output. Through the UART interface, the WF183D provides high-precision calibrated digital pressure and temperature output, making communication connections very simple. UART is a common serial communication protocol that allows communication between the microcontroller and other devices. Using the UART interface, you can easily connect the WF183D to your devices and read its measurement data. Performance









Framework definition
circuit
sensor circuit

top-level and bottom-level



operation video:
https://www.bilibili.com/video/BV1pc411Z7rV/?spm_id_from=333.999.0.0&vd_source=0e4686609dd9c60a63b3f7fe54080c03
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 12:44:12

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号