STM32-based intelligent shower device and control circuit

Through the STM32-based intelligent shower device, the use of voice recognition and Bluetooth module to achieve precise control of water temperature and speed, solving the problem that traditional shower equipment cannot meet personalized needs, improving the comfort and safety of the shower, and achieving the accuracy of the shower Water energy saving.

CN119257470APending Publication Date: 2025-01-07EAST CHINA UNIV OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410944985.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Traditional shower equipment cannot meet users' personalized needs for temperature and water flow, resulting in an increase in the market demand for intelligent and personalized shower systems.

Method used

A smart shower device based on STM32 is designed, including a control valve, water pipe and shower, using an LCD display, voice module, Bluetooth module, leakage detection sensor and STMFCT control chip to achieve accurate control of water temperature and water speed through voice recognition. , and introduce fixtures and plastic support rods to improve convenience of use.

Benefits of technology

Accurate control of water temperature and speed, providing a personalized experience, improving the comfort and safety of the shower, while recording user habits, realizing water and energy saving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119257470A_ABST
    Figure CN119257470A_ABST
Patent Text Reader

Abstract

The invention discloses an STM32-based intelligent shower device and a control circuit, the STM32-based intelligent shower device comprises a control valve, a water pipe and a shower head, the control valve is respectively connected with a hot water valve and a cold water valve, the control valve is also provided with a main valve, and the control valve is provided with a liquid crystal display screen, a sound box and a key; a power amplifier module, a Bluetooth module, a voice module, an electric leakage detection sensor, a digital temperature sensor, a valve motor driving module and an STMFCT control chip are arranged in the control valve. Rapid man-machine interaction can be achieved through the voice recognition module, accurate control over the water temperature can be achieved by controlling the cold and hot water inlet valve, accurate control over the water speed can be achieved by controlling the main valve, a user can play music by connecting a mobile phone with Bluetooth, and meanwhile, the intelligent water dispenser is convenient to use. A user can manually adjust the water temperature and the water speed through the keys, the OLED module can display the current water temperature and the current water speed in real time, the leakage protection circuit is introduced, and use is safer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent shower devices, and in particular to an intelligent shower device and a control circuit based on STM32. Background Art

[0002] The smart shower system is an innovative technology in the field of smart home in recent years, which aims to improve the comfort, convenience and energy saving of the shower experience. With the improvement of people's living standards, the requirements for shower experience are getting higher and higher. Traditional shower equipment often cannot meet the personalized needs of users in terms of temperature, water flow, etc., so the market demand for intelligent and personalized shower systems is increasing. The smart shower system based on STM32 can not only realize the intelligent adjustment of parameters such as temperature and water flow, but also realize personalized settings through human-computer interaction to meet the needs of different users. This personalized and intelligent design concept further enhances the user's shower experience.

[0003] To this end, we propose an intelligent shower device and control circuit based on STM32 to solve the above problems. Summary of the invention

[0004] The technical problem solved by the present invention is to provide an intelligent shower device and a control circuit based on STM32.

[0005] To achieve the above object, the present invention provides the following technical solutions: an intelligent shower device based on STM32, comprising a control valve, a water pipe, and a shower head, wherein the control valve is respectively connected to a hot water valve and a cold water valve, a main valve is also installed on the control valve, a liquid crystal display screen, a sound, and buttons are installed on the control valve, and a power amplifier module, a Bluetooth module, a voice module, a leakage detection sensor, a digital temperature sensor, a valve motor drive module, and an STMFCT control chip are arranged inside the control valve;

[0006] The power amplifier module, Bluetooth module, voice module, leakage detection sensor, digital temperature sensor, and valve motor drive module are all connected to the STMFCT control chip.

[0007] Furthermore, a clamp is installed on the control valve, an elbow is connected to the back of the shower, the elbow is connected to a sub-handle parallel to the handle of the shower, the sub-handle is parallel to the handle of the shower and has the same shape, and the clamp is used to clamp the sub-handle.

[0008] Furthermore, the control valve and the clamp are connected via a plastic support rod.

[0009] Furthermore, the plastic support rod is connected to the control valve via a rotating shaft.

[0010] Furthermore, the clamp is composed of a circular disc and two plastic clamping blocks, the two plastic clamping blocks are symmetrically distributed on the circular disc, and the plastic clamping blocks are in an arc-shaped structure.

[0011] Furthermore, the clamp is composed of a circular disk and two elastic sheets, the two elastic sheets are symmetrically distributed on the circular disk, and the clamping space formed by the two elastic sheets is thick in the middle and thin at both ends when viewed from a top view.

[0012] Another object of the present invention is to provide a control circuit of an intelligent shower device based on STM32, including a power amplifier circuit, 阀门驱动电路 、 主控电路 , button circuit, DS18B20 digital temperature sensor circuit, buzzer circuit, leakage detection circuit, reset circuit, power supply filter circuit, clock circuit, crystal oscillator circuit, start-up mode selection circuit and download circuit.

[0013] The beneficial effects of the present invention are: a quick human-computer interaction can be achieved through the voice recognition module, the water temperature can be accurately controlled by controlling the hot and cold water inlet valves, the water speed can be accurately controlled by controlling the main valve, the user can play music through the mobile phone connected to Bluetooth, at the same time, the user can use the button to manually adjust the water temperature and water speed, the OLED module can display the current water temperature and water speed in real time, and the leakage protection circuit is introduced, which is safer to use. The intelligent shower system can record the user's shower habits and preferences, can save water and energy, provide users with personalized experience, and improve comfort. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the main structure of the present invention;

[0015] Figure 2 It is a schematic diagram of the side view structure of the shower head in the present invention;

[0016] Figure 3 This is a schematic diagram of the main structure of the clamp in the first embodiment of the present invention;

[0017] Figure 4 This is a schematic diagram of the top view of the clamp structure in the first embodiment of the present invention;

[0018] Figure 5 This is a schematic diagram of the main structure of the clamp in the second embodiment of the present invention;

[0019] Figure 6 This is a schematic diagram of the top view of the clamp structure in the second embodiment of the present invention;

[0020] Figure 7 It is a schematic diagram of the circuit structure of the voice module interface and the Bluetooth module interface in the present invention;

[0021] Figure 8 It is a schematic diagram of the circuit structure of the reset circuit in the present invention;

[0022] Fig. 9 This is a schematic diagram of the structure of the OLED module interface circuit in the present invention;

[0023] Fig.10 This is a schematic diagram of the structure of the power amplifier module interface circuit in the present invention;

[0024] Fig.11 It is a schematic diagram of the circuit structure of the crystal oscillator circuit in the present invention;

[0025] Fig.12 This is a schematic diagram of the circuit structure of the STM32F103C8T6 control chip in the present invention;

[0026] Fig.13 This is a schematic diagram of the power filter circuit, power indicator light, and onboard LED circuit structure in the present invention;

[0027] Fig.14 It is a schematic diagram of the structure of the startup mode selection circuit and the download circuit in the present invention;

[0028] Fig.15 It is a schematic diagram of the structure of the leakage detection circuit, the motor drive module interface circuit, and the DS18B20 digital temperature sensor circuit in the present invention;

[0029] Fig.16 It is a schematic diagram of the structure of the buzzer circuit, the motor drive module interface circuit, and the key circuit in the present invention.

[0030] In the figure: 1. control valve; 2. water pipe; 3. shower; 4. main valve; 5. hot water valve; 6. cold water valve; 7. LCD screen; 8. speaker; 9. button; 10. plastic support rod; 11. clamp; 1101. disc; 1102. plastic clamp block; 1103. elastic sheet. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] like Figure 1-2As shown, an STM32-based intelligent shower device of the present invention comprises a control valve 1, a water pipe 2, and a shower head 3. The control valve 1 is respectively connected to a hot water valve 5 and a cold water valve 6. A main valve 4 is also installed on the control valve 1. A liquid crystal display screen 7, an audio system 8, and a button 9 are installed on the control valve 1. The button 9 has two, namely, KEY1 and KEY2. A power amplifier module, a Bluetooth module, a voice module, a leakage detection sensor, a digital temperature sensor, a valve motor drive module, and an STM32F103C8T6 control chip are arranged inside the control valve 1; the power amplifier module, the Bluetooth module, the voice module, the leakage detection sensor, the digital temperature sensor, and the valve motor drive module are all connected to the STM32F103C8T6 control chip.

[0033] At the same time, please refer to the figure, the smart shower device based on STM32 has a control circuit corresponding to the above module, which includes a power amplifier circuit PA, a valve drive circuit VD, a main control circuit CTRL, a button circuit F4, a DS18B20 digital temperature sensor circuit F8, a buzzer circuit F9, a leakage detection circuit F10, a reset circuit RSTC, a power filter circuit PFC, a clock circuit CLK, a crystal oscillator circuit XTAL, a startup mode selection circuit BOOT and a download circuit SWD.

[0034] In the figure, U1 is the STM32F103C8T6 control chip, F1 is the voice module interface, F2 is the Bluetooth module interface, F3 is the OLED module interface, F4 is the button circuit, F5 is the serial port interface, F6 is the motor drive module interface, F7 is the power amplifier module interface, F8 is the DS18B20 digital temperature sensor circuit, F9 is the buzzer circuit, F10 is the leakage detection circuit, RSTC is the reset circuit, PFC is the power filter circuit, PLED is the power indicator, BLED is the onboard LED, CLK is the clock circuit, XTAL is the crystal oscillator circuit, BOOT is the startup mode selection circuit, SWD is the download circuit, H5 is the Bluetooth module interface, P1 is the voice module interface, H1 is the OLED module interface, P3 is the motor drive module interface, P2 is the power amplifier module interface, the main control chip STM32F103 PB6 and PB7 of C8T6 are connected to pins 3 and 5 of voice module interface P1, PA2 and PA3 are connected to U2_RX and U2_TX of Bluetooth module interface, PA5, PA7, PB0, PB1, PA4 are connected to SCK, SDA, RES, D / C, CS of OLED interface circuit H1, PA0 and PA1 are connected to key KEY_UP1 and key KEY1, PA9 and PA10 are connected to U1_RX and U1_TX of STM32 serial port interface circuit, PB12, PB13, PB14 are connected to pins 7, 9, 11 of motor driver module, PB10 and PB11 are connected to pins 2 and 4 of power amplifier module, PA8 is connected to DQ pin of DS18B20 circuit, PA5 is connected to pin 2 of buzzer circuit, PC13 is connected to one end of onboard indicator light. SPK+ and SPK- pins of voice module are connected to pins 1 and 3 of power amplifier module.

[0035] In the above, a quick human-computer interaction can be achieved through the voice recognition module, the water temperature can be accurately controlled by controlling the hot and cold water inlet valves, and the water speed can be accurately controlled by controlling the main valve. The user can play music through the mobile phone connected to Bluetooth. At the same time, the user can use the buttons to manually adjust the water temperature and water speed. The OLED module can display the current water temperature and water speed in real time. The leakage protection circuit is introduced, which is safer to use.

[0036] The smart shower system based on STM32 is first powered by a power supply. At this time, the power indicator light is on and the entire system is initialized, including initializing the voice recognition module, initializing the DS18B20 circuit, initializing the Bluetooth module circuit, initializing the OLED circuit, and initializing the main control chip. Then the entire system starts to run, the main control chip starts to work normally, the temperature sensor starts to collect real-time water temperature, the OLED screen displays the real-time water temperature and water speed, the voice recognition circuit stands by to detect the user's voice command and pass the command to the main control chip to achieve the effect of voice control, the Bluetooth module circuit starts to connect the user's terminal device for data communication and passes the information to the main control chip. The main control chip drives the speaker to output the corresponding audio through the power amplifier circuit. When the user says "a little hotter", the main control chip will control the hot water valve to open larger and the cold water valve to open smaller through the valve drive circuit. When the user says "a little colder", the main control chip will control the hot water valve to open smaller and the cold water valve to open larger through the valve drive circuit. When the user says "adjust to X degrees", the main control chip will control the hot water valve to open smaller and the cold water valve to open larger through the valve drive circuit. The water valve and the cold water valve are adjusted to the corresponding temperature. When the user says "a little higher", the main control chip will control the main valve to open higher through the valve drive circuit. When the user says "a little lower", the main control chip will control the main valve to open lower through the valve drive circuit. When the user says "close", the main control chip will control the main valve to close through the valve drive circuit. When the user says "open", the main control chip will control the main valve to open through the valve drive circuit. When the user says "optimal water temperature", the main control chip will control the hot water valve and the cold water valve to the temperature with the longest use time last time through the valve drive circuit. In addition, the user can also control the audio playback through voice commands such as "previous song", "next song", "pause", and "play". In addition, the user can also customize voice commands through the mobile phone.

[0037] In addition, a clamp 11 is added to the control valve 1, and the control valve 1 and the clamp 11 are connected by a plastic support rod 10. When the shower head 3 is removed from the hanger on the wall, it can be directly clamped by the clamp 11. In this way, when washing hair alone or bathing children, there is no need to hold the shower head 3 by hand to lower the height, and the plastic support rod 10 can adjust the height of the shower head 3.

[0038] Embodiment 1

[0039] See also Figure 3-4 The clamp 11 is composed of a disc 1101 and two plastic clamps 1102. The two plastic clamps 1102 are symmetrically distributed on the disc 1101. The plastic clamps 1102 are arc-shaped. The clamp 11 has the same structure and function as the pendant equipped with the bathing device itself, and both are used to clamp the shower head 3.

[0040] Embodiment 2

[0041] See also Figure 5-6The clamp 11 is composed of a disc 1101 and two elastic sheets 1103. The two elastic sheets 1103 are symmetrically distributed on the disc 1101. The clamping space formed by the two elastic sheets 1103 in a top view is thick in the middle and thin at both ends. The difference between this embodiment and the first embodiment is that the clamp 11 in this embodiment can be used not only to clamp the shower head 3, but also to clamp the water pipe 2. Under the action of the plastic support rod 10, even if the shower head 3 falls from a high place, the clamp 11 can clamp the water pipe 2 to prevent the shower head from falling directly on the ground.

[0042] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An intelligent shower device based on STM32, comprising a control valve (1), a water pipe (2), and a shower head (3), wherein the control valve (1) is respectively connected to a hot water valve (5) and a cold water valve (6), and a main valve (4) is also installed on the control valve (1), characterized in that: The control valve (1) is equipped with a liquid crystal display screen (7), a speaker (8), and a button (9); the control valve (1) is internally provided with a power amplifier module, a Bluetooth module, a voice module, a leakage detection sensor, a digital temperature sensor, a valve motor drive module, and an STM32F103C8T6 control chip; The power amplifier module, Bluetooth module, voice module, leakage detection sensor, digital temperature sensor, and valve motor drive module are all connected to the STM32F103C8T6 control chip.

2. The STM32-based smart shower device according to claim 1, characterized in that: The control valve (1) is mounted with a clamp (11); the back of the shower head (3) is connected with an elbow (12); the elbow (12) is connected with a secondary handle (13) parallel to the handle of the shower head (3); the secondary handle (13) is parallel to the handle of the shower head (3) and has the same shape; the clamp (11) is used to clamp the secondary handle (13).

3. The STM32-based smart shower device according to claim 2, characterized in that: The control valve (1) and the clamp (11) are connected via a plastic support rod (10).

4. The STM32-based smart shower device according to claim 3 is characterized in that: The plastic support rod (10) is connected to the control valve (1) via a rotating shaft.

5. The STM32-based smart shower device according to any one of claims 2-3, characterized in that: The clamp (11) is composed of a circular disk (1101) and two plastic clamping blocks (1102). The two plastic clamping blocks (1102) are symmetrically distributed on the circular disk (1101), and the plastic clamping blocks (1102) are in an arc-shaped structure.

6. The STM32-based smart shower device according to any one of claims 2-3, characterized in that: The clamp (11) is composed of a circular disk (1101) and two elastic sheets (1103). The two elastic sheets (1103) are symmetrically distributed on the circular disk (1101). The clamping space formed by the two elastic sheets (1103) is thick in the middle and thin at both ends when viewed from a top view.

7. A control circuit of an STM32-based smart shower device according to any one of claims 1 to 6, characterized in that: Including power amplifier circuit, 阀门驱动电路 、 主控电路 , button circuit, DS18B20 digital temperature sensor circuit, buzzer circuit, leakage detection circuit, reset circuit, power supply filter circuit, clock circuit, crystal oscillator circuit, start-up mode selection circuit and download circuit.

Citation Information

Patent Citations

  • Method and system for managing the operation of a shower

    CA2903935A1

  • Intelligent bath equipment and intelligent bath control system

    CN104898744A

  • Intelligent shower system

    CN117111654A

  • Shower device based on voice control

    CN213545909U

  • Shower controller based on mobile phone intelligent control and provided with LCD display

    CN217590880U