CN105902217A - Intelligent shower system based on STM32 - Google Patents

Intelligent shower system based on STM32 Download PDF

Info

Publication number
CN105902217A
CN105902217A CN201610207636.2A CN201610207636A CN105902217A CN 105902217 A CN105902217 A CN 105902217A CN 201610207636 A CN201610207636 A CN 201610207636A CN 105902217 A CN105902217 A CN 105902217A
Authority
CN
China
Prior art keywords
stm32
system based
sensor
intelligent shower
water temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610207636.2A
Other languages
Chinese (zh)
Inventor
吴琦
金冬子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui University
Original Assignee
Anhui University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui University filed Critical Anhui University
Priority to CN201610207636.2A priority Critical patent/CN105902217A/en
Publication of CN105902217A publication Critical patent/CN105902217A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47KSANITARY EQUIPMENT NOT OTHERWISE PROVIDED FOR; TOILET ACCESSORIES
    • A47K3/00Baths; Douches; Appurtenances therefor
    • A47K3/28Showers or bathing douches
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47KSANITARY EQUIPMENT NOT OTHERWISE PROVIDED FOR; TOILET ACCESSORIES
    • A47K3/00Baths; Douches; Appurtenances therefor
    • A47K3/28Showers or bathing douches
    • A47K3/281Accessories for showers or bathing douches, e.g. cleaning devices for walls or floors of showers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume, or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/1917Control of temperature characterised by the use of electric means using digital means

Abstract

The invention discloses an intelligent shower system based on STM32. The intelligent shower system comprises a water temperature feedback adjusting device, a shower damage detection device, a carbon dioxide sensor device, a water price gradient estimating device, a radio frequency device and a main control system. The water temperature feedback adjusting device, the shower damage detection device, the carbon dioxide sensor device, the water price gradient estimating device and the radio frequency device are connected with the main control system. The water temperature feedback adjusting device comprises a single line interface, a high-speed buffer device, a memory and a controlling logic device, a temperature sensor, a high temperature trigger, a low temperature trigger, a configuration register and a cyclical redundancy check generator.The intelligent shower system based on STM32 has following beneficial effects: an STM32 processor is adopted so that processing speed is high and control accuracy is high; through the current water temperature and user's feedback, water temperature can reach to the proper degree; the water temperature adjustment is prevented against overheat and undercooling; equipment is timely maintained; the water-saving purpose is fulfilled by gradient pricing; carbon dioxide concentration can be detected; air exchange is conducted regularly; and the environment is comfortable.

Description

Intelligent shower system based on STM32
Technical field
The present invention relates to a kind of publilc baths shower system, particularly relate to a kind of Intelligent shower based on STM32 System.
Background technology
In order to keep the health of individual, shower is that one preferably cleans custom, according to investigation, in public affairs Common publilc baths also exists many problems, such as water temperature exists supercool overheated situation, shower Damage can not get maintenance, the waste of hydroelectric resources for a long time, problem that bathing environment is the most vexed etc., these Problem brings the biggest inconvenience all to shower person.
Summary of the invention
The purpose of the present invention: a kind of Intelligent shower system based on STM32 is provided, makes the shower of publilc baths Bath indoor carbon dioxide, by more hommization, is monitored, and makes the regulation to air by system, Build comfortable environment.
To achieve these goals, the technical scheme is that
A kind of Intelligent shower system based on STM32, damages including water temperature feedback regulation device, shower Bad detection device, carbon dioxide sensor device, water price gradient calculation device, radio-frequency unit and master control System processed;Described water temperature feedback regulation device, shower damage detection device, carbon dioxide sensing Device device, water price gradient calculation device and radio-frequency unit are connected with described master control system respectively;Institute The water temperature feedback regulation device stated includes one-wire interface, caching device, memorizer and control logic Device, temperature sensor, high temperature trigger, low temperature trigger, configuration register and Cyclic Redundancy Code Checksum generator;Described memorizer is two-way with described one-wire interface with the one end controlling logic device Connect, described memorizer and the one of the other end with described caching device controlling logic device End is bi-directionally connected, described temperature sensor, high temperature trigger, low temperature trigger, configuration register And CRC generator is bi-directionally connected with described caching device respectively.
Above-mentioned Intelligent shower system based on STM32, wherein, described one-wire interface is provided with three Connectivity port, the positive pole of two diodes is connected with the connectivity port described in two of which respectively, described The negative pole of two diodes be connected with the connectivity port another described respectively, and connect by electric capacity Ground.
Above-mentioned Intelligent shower system based on STM32, wherein, described carbon dioxide sensor dress Put be model be the solid electrolyte sensor of MG811, described carbon dioxide sensor device connects Operational amplifier.
Above-mentioned Intelligent shower system based on STM32, wherein, described carbon dioxide sensor dress Put and include air relief valve, electromagnetic valve, multiple effusion meter, multiple gas sensor and total sensor, described Air relief valve by described electromagnetic valve respectively one end with described multiple effusion meters be connected, described The other end of multiple effusion meters is corresponding with one end of described multiple gas sensors respectively to be connected, described The other end of multiple gas sensors be connected with described total sensor respectively.
Above-mentioned Intelligent shower system based on STM32, wherein, described vertical covers disposed on sensor has mark Fixed cover.
Above-mentioned Intelligent shower system based on STM32, wherein, described radio-frequency unit is that signal is The read-write card chip of high integration in the 13.56MHz contactless communication of MF RC522.
Above-mentioned Intelligent shower system based on STM32, wherein, is provided with in described master control system A-D converter, digital-to-analog converter, I/O interface and usb bus, described master control system passes through The external host computer of described usb bus and slave computer.
Above-mentioned Intelligent shower system based on STM32, wherein, described master control system embeds Being provided with display screen, described display screen is touch control screen.
The present invention uses STM32 processor, faster than like product processing speed, control accuracy is high, logical The feedback crossing current water temperature and user makes water temperature reach most suitable degree, it is to avoid traditional shower water temperature Overheated and the surfusion of regulation;While detection temperature, accomplish the timely maintenance to equipment;Pass through Gradient charging to water rate, reaches the purpose of saving water resource;Gas concentration lwevel is detected, And open air exchange system in good time, improve environmental amenity degree.
Accompanying drawing explanation
Fig. 1 is the connection block diagram of present invention Intelligent shower based on STM32 system.
Fig. 2 is the connection of the water temperature feedback regulation device of present invention Intelligent shower based on STM32 system Block diagram.
Fig. 3 is the company of the carbon dioxide sensor device of present invention Intelligent shower based on STM32 system Connect block diagram.
Detailed description of the invention
Embodiments of the invention are further illustrated below in conjunction with accompanying drawing.
Refer to shown in accompanying drawing 1 and accompanying drawing 2, a kind of Intelligent shower system based on STM32, including Water temperature feedback regulation device 1, shower damage detection device 2, carbon dioxide sensor device 3, water Valency gradient calculation device 4, radio-frequency unit 5 and master control system 6;Described water temperature feedback regulation dress Put 1, shower damages detection device 2, carbon dioxide sensor device 3, water price gradient calculation device 4 and radio-frequency unit 5 be connected with described master control system 6 respectively;Described water temperature feedback regulation dress Put 1 and include one-wire interface 11, caching device 12, memorizer and control logic device 13, temperature Degree sensor 14, high temperature trigger 15, low temperature trigger 16, configuration register 17 and cyclic redundancy Code check generator 18;Described memorizer and the one end and the described single line that control logic device 13 Interface 11 is bi-directionally connected, described memorizer and the other end of control logic device 13 and described height One end of speed buffer storage 12 is bi-directionally connected, described temperature sensor 14, high temperature trigger 15, Low temperature trigger 16, configuration register 17 and CRC generator 18 are respectively with described Caching device 12 is bi-directionally connected.
Described one-wire interface 11 is provided with three connectivity ports, the positive pole of two diodes 19 respectively with Connectivity port described in two of which connects, the negative pole of two described diodes 19 respectively with another Individual described connectivity port connects, and by electric capacity 10 ground connection.
Described carbon dioxide sensor device 3 be model be the solid electrolyte sensor of MG811, Described carbon dioxide sensor device 3 concatenation operation amplifier.The signal of solid electrolyte sensor Output impedance is the highest, therefore directly can not measure its output letter with common voltmeter or circuit tester Number.One-level impedance inverter circuit can be terminated after sensor signal exports, sensor is exported impedance Being reduced to commonly can measure rank, impedance transformation operational amplifier must select high input impedance type, than Such as CA3140.
Referring to shown in accompanying drawing 3, described carbon dioxide sensor device 3 includes air relief valve 31, electricity Magnet valve 32, multiple effusion meter 33, multiple gas sensor 34 and total sensor 35, described decompression Valve 31 passes through described electromagnetic valve 32 one end respectively with described multiple effusion meters 33 and is connected, institute The other end of the multiple effusion meters 33 stated is corresponding with one end of described multiple gas sensors 34 respectively Connecting, the other end of described multiple gas sensors 34 is connected with described total sensor 35 respectively.
Described vertical sensor 35 is provided with calibration mask 36.
Described radio-frequency unit 5 be signal be MF RC522 13.56MHz contactless communication in high The read-write card chip of integrated level.Be for " three tables " application release a low-voltage, low cost, The contactless read-write card chip that volume is little, be intelligence instrument and portable handheld device research and development preferable Select.MF RC522 make use of the modulation and demodulation concept of advanced person, fully-integrated at 13.56MHz Under all types of passive contactless communication modes and agreement.Support 14443A compatibility transponder letter Number.Numerical portion processes ISO14443A frame and error detection.Additionally, also support quick CRYPT01 AES, term checking MIFARE series of products.MFRC522 supports that MIFARE series is more at a high speed Contactless communication, bidirectional data transfers speed is up to 424kbit/s.As 13.56MHz height collection The newcomer of one-tenth degree read-write card family chip family, MF RC522 and MF RC500 and MF RC530 There are many similarities, also possess many features and difference simultaneously.It uses SPI with inter-host communication Pattern, advantageously reduces line, reduces pcb board volume, reduces cost.
A-D converter, digital-to-analog converter, I/O interface and USB it is provided with in described master control system 6 Bus, described master control system 6 is by the described external host computer of usb bus and slave computer.
Embedding on described master control system 6 and be provided with display screen, described display screen is touch control Screen.
The present invention realizes STM32 and external temperature sensor (DS18B20) by Single Wire Bus Technology Communication, and the temperature obtained from temperature sensor is shown in TFTLCD module.DS18B20 be by The temperature sensor of a kind of " one-wire bus " interface that DALLAS semiconductor company releases.With tradition The temperature element such as critesistor compare, it is that a kind of novel volume is little, is suitable for voltage width with micro- The simple digital temperature sensor of processor interface.One-wire bus structure has succinct and economic spy Point, can make user easily set up sensor network, thus the structure for measurement system introduces brand-new general Reading, measuring temperature range is-55~+125 DEG C, and precision is ± 0.5 DEG C.Scene temperature is directly with " one Line bus " be digitally transmitted, substantially increase the anti-interference of system.It can directly read quilt Testing temperature, and can be according to actual requirement by simple programming realization 9~the digital value reading of 12 Mode.It is operated in the voltage range of 3~5.5V, uses multiple packing forms, so that system sets Flexibly, conveniently, the alarm temperature setting resolution and user's setting is stored in EEPROM meter, falls Still preserve after electricity.
Utilize electronic keyboard that the maximum of water temperature control system and minima are stored in the number of single-chip microcomputer According in memory element, and complete system water temperature is controlled the transformation process of function.DS18B20 temperature sensing The temperature parameter gathered is sent in STM32 by device, and STM32 row data process, by dot character TFTLCD Display carries out temperature and shows.Water temperature controls this function then can set a temperature in systems Value can realize the monitoring process to collecting temperature parameter, if collecting temperature parameter is above or below setting Constant temperature angle value directly causes the start-up course of alert program when collecting temperature parameter is above or below setting Temperature value, feedback system starts to start.
After system or power reset, microcontroller is in running status.HCLK under running status Thering is provided clock for CPU, kernel performs program code.When CPU is not required to continue to run with, it is possible to use Multiple low-power consumption modes save power consumption, such as when waiting certain external event.User needs according to The conditions such as low power consumption, rapid boot-up time and available wake source, selected one optimal low Power consumption mode.
Due under conditions of certain temperature and humidity, the voltage of sensor output and measuring in environment Gas concentration lwevel be approximated to proportional relation, so through A/D change after magnitude of voltage can pass through This proportional relation formula is converted into carbon dioxide concentration value.If the variations in temperature of environment is more obvious, It is accomplished by carbon dioxide sensor is manually demarcated.Utilize this module to the carbon dioxide in environment Concentration is acquired, if excessive concentration, then oxygen enriching system starts.
In sum, the present invention uses STM32 processor, control faster than like product processing speed Precision is high, makes water temperature reach most suitable degree by the feedback of current water temperature and user, it is to avoid pass Overheated and the surfusion of system shower water temperature regulation;While detection temperature, that accomplishes equipment is timely Safeguard;By the gradient charging to water rate, reach the purpose of saving water resource;To gas concentration lwevel Detect, and open air exchange system in good time, improve environmental amenity degree.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the patent model of the present invention Enclose, every equivalent structure transformation utilizing description of the invention content to be made, or directly or indirectly use It is attached to the technical field of other Related products, is the most in like manner included in the scope of patent protection of the present invention In.

Claims (8)

1. an Intelligent shower system based on STM32, it is characterised in that: include that water temperature feedback regulation fills Put, shower damage detects device, carbon dioxide sensor device, water price gradient calculation device, penetrates Frequently device and master control system;Described water temperature feedback regulation device, shower damage detection device, Carbon dioxide sensor device, water price gradient calculation device and radio-frequency unit respectively with described main control System connects;Described water temperature feedback regulation device includes one-wire interface, caching device, storage Device and control logic device, temperature sensor, high temperature trigger, low temperature trigger, configuration register And CRC generator;One end of described memorizer and control logic device is with described One-wire interface is bi-directionally connected, described memorizer and the other end of control logic device and described high speed One end of buffer storage is bi-directionally connected, described temperature sensor, high temperature trigger, low temperature trigger, Configuration register and CRC generator respectively with the described two-way company of caching device Connect.
Intelligent shower system based on STM32 the most according to claim 1, it is characterised in that: described One-wire interface be provided with three connectivity ports, the positive pole of two diodes respectively with described in two of which Connectivity port connects, and the negative pole of two described diodes is respectively with the connectivity port another described even Connect, and pass through capacity earth.
Intelligent shower system based on STM32 the most according to claim 1, it is characterised in that: described Carbon dioxide sensor device be model be the solid electrolyte sensor of MG811, described dioxy Change carbon sensor device concatenation operation amplifier.
Intelligent shower system based on STM32 the most according to claim 3, it is characterised in that: described Carbon dioxide sensor device include air relief valve, electromagnetic valve, multiple effusion meter, multiple gas sensing Device and total sensor, described air relief valve by described electromagnetic valve respectively with described multiple effusion meters One end connect, the other end of described multiple effusion meters respectively with described multiple gas sensors One end correspondence connects, and the other end of described multiple gas sensors is respectively with described total sensor even Connect.
Intelligent shower system based on STM32 the most according to claim 4, it is characterised in that: described Vertical covers disposed on sensor have calibration mask.
Intelligent shower system based on STM32 the most according to claim 1, it is characterised in that: described Radio-frequency unit be signal be MF RC522 13.56MHz contactless communication in the reading of high integration Write card chip.
Intelligent shower system based on STM32 the most according to claim 1, it is characterised in that: described Master control system in be provided with A-D converter, digital-to-analog converter, I/O interface and usb bus, institute The master control system stated passes through the described external host computer of usb bus and slave computer.
Intelligent shower system based on STM32 the most according to claim 7, it is characterised in that: described Master control system on embed display screen is installed, described display screen is touch control screen.
CN201610207636.2A 2016-03-23 2016-03-23 Intelligent shower system based on STM32 Pending CN105902217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610207636.2A CN105902217A (en) 2016-03-23 2016-03-23 Intelligent shower system based on STM32

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610207636.2A CN105902217A (en) 2016-03-23 2016-03-23 Intelligent shower system based on STM32

Publications (1)

Publication Number Publication Date
CN105902217A true CN105902217A (en) 2016-08-31

Family

ID=56745369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610207636.2A Pending CN105902217A (en) 2016-03-23 2016-03-23 Intelligent shower system based on STM32

Country Status (1)

Country Link
CN (1) CN105902217A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10448762B2 (en) 2017-09-15 2019-10-22 Kohler Co. Mirror
US10663938B2 (en) 2017-09-15 2020-05-26 Kohler Co. Power operation of intelligent devices
US10887125B2 (en) 2017-09-15 2021-01-05 Kohler Co. Bathroom speaker
US11093554B2 (en) 2017-09-15 2021-08-17 Kohler Co. Feedback for water consuming appliance
US11099540B2 (en) 2017-09-15 2021-08-24 Kohler Co. User identity in household appliances

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10448762B2 (en) 2017-09-15 2019-10-22 Kohler Co. Mirror
US10663938B2 (en) 2017-09-15 2020-05-26 Kohler Co. Power operation of intelligent devices
US10887125B2 (en) 2017-09-15 2021-01-05 Kohler Co. Bathroom speaker
US11093554B2 (en) 2017-09-15 2021-08-17 Kohler Co. Feedback for water consuming appliance
US11099540B2 (en) 2017-09-15 2021-08-24 Kohler Co. User identity in household appliances
US11314215B2 (en) 2017-09-15 2022-04-26 Kohler Co. Apparatus controlling bathroom appliance lighting based on user identity
US11892811B2 (en) 2017-09-15 2024-02-06 Kohler Co. Geographic analysis of water conditions
US11921794B2 (en) 2017-09-15 2024-03-05 Kohler Co. Feedback for water consuming appliance
US11949533B2 (en) 2017-09-15 2024-04-02 Kohler Co. Sink device

Similar Documents

Publication Publication Date Title
CN105902217A (en) Intelligent shower system based on STM32
CN103207633B (en) A kind of temperature and humidity monitor method and system
CN104056292A (en) Detection system for sterilizing effect of sterilizer
CN108469762A (en) A kind of intelligent pet ring, pet monitoring system and monitoring method
CN206906342U (en) Air pollution surveillance system based on ZigBee-network
CN203414433U (en) Temperature and humidity detection system for drying process
CN103439370A (en) Temperature and humidity detection system in drying process
CN206946340U (en) Poultry farming green house temperature-humidity TT&C system
CN205642545U (en) Ground water level remote monitering system
CN204389714U (en) A kind of weather monitoring instrument realizing Temperature and Humidity based on SHT2X chip
CN104596593A (en) Intelligent monitoring device for gas flow measurement
CN204129034U (en) The integrated water quality monitoring sensor of the multi-functional multiparameter of water environment
CN107991943A (en) A kind of parameter tester of portable type solar energy electricity generation system
CN1595323A (en) Intelligent type heat quantity metering and temperature regulation integrated equipment
CN106768413A (en) Multipoint temperature detecting device
CN207335761U (en) Home environment intelligent detection device based on FPGA
CN206223718U (en) Gas sensor drive circuit with humidity compensation function
CN207280549U (en) A kind of long-range monitoring alarm of reservoir level
CN206161041U (en) Gaseous monitoring node of local industrial environment based on bluetooth
CN206773553U (en) Novel system condition managing control circuit
CN206548933U (en) A kind of infusion monitoring system
CN110001065A (en) A kind of 3D printer operation process intelligent monitor system
CN205247129U (en) Multiple spot temperature detects wireless monitoring memory system based on STM32 singlechip
CN204576783U (en) Based on the radio transmitting device of X-bee
CN107023956A (en) A kind of home for destitute indoor and outdoor surroundingses intelligent checking system based on FPGA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Anhui University

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Anhui University

Document name: Notification that Application Deemed to be Withdrawn

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831