Household tap water quality monitoring device based on single-chip microcomputer design

1. Preface This article introduces a household tap water quality monitoring device based on single-chip microcomputer design. Using STM32F103ZET6 as the main control chip, combined with the water quality sensor and ADC module, the detection and monitoring functions of tap water quality are realized. Through the 0.96-inch OLED display, the collected water quality data is […]

51 microcontroller: 220v household timer switch control system simulation (based on the inherent hardware of the development board)

This experiment is a small task of microcontroller development, because the system involves independent buttons (on/off keys, up, down, left and right keys, self-defined), LED digital tubes, buzzers, interrupts, timers and other related facilities. The use of 51 microcontroller is relatively comprehensive, so I will use it as an example to review. The system uses […]

Householder transformation for QR decomposition and its code implementation (C++)

Article directory Introduction Prepositional theory Householder performs QR decomposition Code Introduction Elementary transformation tools such as trigonometric decomposition (LU decomposition) can be used to solve systems of linear equations, but they do have some limitations. For example, for ill-conditioned systems of linear equations, LU decomposition may lead to numerically unstable results. Furthermore, for irreversible matrices, […]

Android 11 and above SettingsProvider DatabaseHelper analysis

In the Android operating system, SettingsProvider is a very critical component, which is responsible for storing and managing system and application settings. In this article, I’ll dig into the DatabaseHelper class, which is the core part of the SettingsProvider. 1. What is DatabaseHelper? DatabaseHelper is a class inherited from SQLiteOpenHelper that is responsible for creating, […]

Simulation of Household Digital Clock and Thermometer Based on 51 Single Chip Microcomputer

Simulation diagram: Characteristics of the chip/module: Introduction to AT89C52: AT89C52 is a classic 8-bit microcontroller, one of a series of microcontrollers produced by STMicroelectronics. It is based on the 8051 core and has many features compatible with it. The main features of AT89C52 are as follows: Internal memory: AT89C52 has 8KB of flash memory (Flash) […]

Household intelligent watering system based on single chip computer

1. Development environment keil5, STM32CubeMX, Altium Designer 2. Hardware List MCU: STM32F051K8Ux Soil Moisture Sensor: TL-69 Temperature sensor: DS18B20 (digital sensor directly outputs digital signal) OLED screen: OLED12864, Water pump: L9110, etc.; 3. Functional design The sensor collects the temperature and humidity of the air and soil, transmits the data to the single-chip microcomputer, and […]

Personal household electricity consumption query – based on Docker and Homeassistant

This application can help you connect the electricity bill and electricity consumption data of the State Grid to homeassistant, and realize real-time tracking of household electricity consumption; and can save the daily electricity consumption to the database, and the history can be traced. Specifically, two types of data are provided: Shown as entity in homeassistant: […]

Individual household electric power consumption data mining and time series forecasting modeling

I received a task today that needs to perform calculations related to data mining analysis based on a given data set, and complete predictive modeling of data in a future period. The official data details are introduced here, as follows: The data set contains a total of 9 different fields, the details are as follows: […]

Reverse engineering core principle: SEH

SEH SEH is an exception handling mechanism provided by the Windows operating system, which is realized by using __try, __except, and __finally keywords in the program source code. Mainly used in anti-debugging. Note: SEH has a different structure than try.catch exception handling in C++. In terms of time, compared with C++’s try and catch exception […]

Java project – household accounting program

The main requirement of this project is to simulate the implementation of a text-based interface “household accounting software”, which can record the family’s income and expenditure, and can print the income and expenditure schedule. 1. The item adopts hierarchical menu method. The main menu is as follows: —————–Household income and expenditure accounting software—————– 1 Details […]