CN109944306A - A kind of squatting pan auto-flushing paper extraction system - Google Patents

A kind of squatting pan auto-flushing paper extraction system Download PDF

Info

Publication number
CN109944306A
CN109944306A CN201910340625.5A CN201910340625A CN109944306A CN 109944306 A CN109944306 A CN 109944306A CN 201910340625 A CN201910340625 A CN 201910340625A CN 109944306 A CN109944306 A CN 109944306A
Authority
CN
China
Prior art keywords
flushing
paper extraction
squatting pan
paper
auto
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
CN201910340625.5A
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.)
Bozhou University
Original Assignee
Bozhou 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 Bozhou University filed Critical Bozhou University
Priority to CN201910340625.5A priority Critical patent/CN109944306A/en
Publication of CN109944306A publication Critical patent/CN109944306A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sanitary Device For Flush Toilet (AREA)

Abstract

The drawbacks of the present invention be directed to public place squatting pan manual flush, paper drawing device devises a set of intelligent squatting pan auto-flushing paper extraction system.System selects STM32F103ZET6 single-chip microcontroller as control core, detects whether that someone enters range by infrared sensor, has detected whether paper by laser sensor, realizes auto-flushing and paper extraction by MCU driving solenoid valve and stepper motor.In addition to this, system also has voice broadcast function, and music and public service ads can be played automatically when someone goes to the toilet.This system can be widely used for the large-scale public places such as station, airport, exhibition center, the service life of water resource and paper resources, the flushing device for water-closet that reduces environmental pollution, extends is saved to a certain extent, simultaneously, bacterium caused by avoiding because of manual flush is in the propagation of public restroom, more hommization.

Description

A kind of squatting pan auto-flushing paper extraction system
Technical field
The invention belongs to everyday use fields, and in particular to a set of intelligent squatting pan auto-flushing paper extraction system System.
Technical background
In the biggish public place of flow of the people, such as market, station, the manual flushing of traditional squatting pan, paper drawing device saving It is ineffective with water and saving paper, it be easy to cause the wasting of resources and environmental pollution;Meanwhile easily artificial damage, and easy biography Bacterium is broadcast, it is unfavorable to the health of people[1].The automatic flushing of intelligent squatting pan, paper drawing device can well solve these Drawback, its automatic sensing are manually controlled without human body, can effectively prevent bacterial cross-infection.Meanwhile automatically controlling bath, paper extraction Number and the length of paper extraction reduce environmental pollution to save resource.However it is current, intelligent squatting pan is due to price Valuableness cannot be used widely.Therefore, a set of function admirable, the squatting pan auto-flushing paper extraction system gesture of reasonable price are designed It must go.
The rapid development of embedded technology, so that embedded system is widely used in all trades and professions.Herein with single-chip microcontroller STM32F103ZET6 is as control core, and in conjunction with sensor technology and solenoid valve, Design of Stepper Motor Control Circuit, design is realized A set of squatting pan auto-flushing paper extraction system.System also has voice broadcast function in addition to automatic flushing, paper extraction function may be implemented Can, it can play automatically music and public service ads when someone goes to the toilet, meet people to living space automation and comfort It is required that more humanized.
Summary of the invention
The invention mainly includes a kind of squatting pan auto-flushing paper extraction systems, which is characterized in that the system by Detection system, master control system and drive system composition.The detection system is made of infrared sensor and laser sensor;It is described Infrared sensor be used to detect whether that someone goes to the toilet, the laser sensor is for detecting whether paper extraction is finished.Described Master control system is made of STM32F103ZET6 single-chip minimum system and power supply system, is the control core of whole system.It is described Drive system for driving voice module and stepper motor, realize system voice broadcast and automatic paper extraction function.
Furthermore, the microcontroller of the position STM32F103ZET632 of the selection of the master control system microarray biochip Device uses Tail-Chaining interrupt techniques using ARM Cortex-M3 kernel in interrupt processing.
Furthermore, the detection system includes infrared detection and laser detection, by infrared sensor and laser Sensor composition.
Furthermore, the automatic paper extraction driving of the drive system includes automatic flushing system module, the drive of automatic paper extraction Dynamic system module, voice broadcasting system module;The automatic flushing system realizes auto-flushing;The automatic paper extraction driving It is 25 centimetres every time that system control user, which takes the length of paper,;The automatic broadcasting music or public service ads of the voice broadcast module.
Furthermore, the software system design uses Keil u Vision5 too development, using C voice as opening Send out language.
Detailed description of the invention
System construction drawing Fig. 1 of the invention;
Infrared sensor interface circuit Fig. 2 of the invention;
Laser sensor interface circuit Fig. 3 of the invention;
Electromagnetic relay circuit Fig. 4 of the invention;
Stepping motor interface circuit Fig. 5 of the invention;
WT5001 voice module interface circuit Fig. 6 of the invention;
Algorithm flow chart Fig. 7 of the invention;
System pictorial diagram Fig. 8 of the invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
System construction drawing of the invention as shown in Figure 1, a kind of squatting pan auto-flushing paper extraction system on the whole by detection system System, master control system and drive system composition.Detection system is made of infrared sensor and laser sensor.Infrared sensor is used to Detect whether that someone goes to the toilet, laser sensor is for detecting whether paper extraction is finished.Nobody enters induction zone, and indicator light goes out; When someone enters induction zone, indicator light is bright.When detecting that paper has been used up, then low paper indicator is bright.Master control system by STM32F103ZET6 single-chip minimum system and power supply system composition, are the control cores of whole system.Drive system is for driving Dynamic voice module and stepper motor, realize system voice broadcast and automatic paper extraction function.When someone enters induction zone, voice System plays music or public service ads automatically, and paper extraction system completes automatic paper extraction under the drive of stepper motor.Relay module For controlling the on and off of solenoid valve, to realize the function of auto-flushing.
Infrared sensor interface circuit of the invention is as shown in Fig. 2, the receiver SM0038 of infrared sensor is a one The infrared remote control receiver of body, externally only 3 pins, pin 1 connect 12 volts of power supplys, and pin 2 is connected to by divider resistance R4 The port PG.15 of single-chip microcontroller, pin 3 are grounded.When someone enters induction range, infrared sensor will detect human body generation Infra-red radiation, the signal of receiving end pin 2 becomes low level, and indicator light is bright;If nobody enters induction zone, indicator light off.
Laser sensor interface circuit of the invention as shown in figure 3, laser detection by Laser emission and laser pick-off module Composition, judges whether there is paper by the way that whether laser detection receiving module receives laser.When lacking paper, laser sensor is not examined Barrier is measured, then No. 2 pins are high level, are sent to control system, light low paper indicator by single-chip microcontroller.When there is paper, 2 Number pin is low level, and single-chip microcontroller control instructions lamp does not work.
The design of automatic flushing system circuit of the invention as shown in figure 4, automatic flushing system using electromagnetism relay Device goes to control biggish electric current, higher voltage with lesser electric current, lower voltage as control circuit, realization.Described Port PC3 connection resistance R12, the base stage of resistance R12 the connection R10 and triode Q1, the collector of the triode Diode D5 and relay are connected, the transistor emitter connects power supply, is connected with rank above the electromagnetic relay Iron, the green terminal base connection photodiode and R6.
The automatic flushing system controls solenoid valve by relay to control water yield and water discharging time.Solenoid valve There is closed chamber in the inside, and through-hole is provided on different location, respectively connects different water pipes.The centre of chamber is piston, and two sides is electricity Magnet.Electromagnet can generate magnetic attraction valve body after being powered, and solenoid valve is exactly that different drainings are controlled by the movement of valve body The opening and closing in hole.Inlet opening be it is normally opened, water enters different drainpipes by inlet opening, and the pressure of water pushes water vat Piston, piston driving piston rod, piston rod drive mechanical device, realize auto-flushing.
The stepping motor interface circuit that automatic paper extraction driving circuit of the invention uses is as shown in figure 5, the THB7128 used
Driving chip drives stepper motor to rotate one by the direction of setting after driving chip receives a pulse signal Fixed angle, the rotation of stepper motor are carried out step by step with fixed angle, and the control of angular displacement is to pass through control What the number of pulse processed was realized.Can control user to take the length of paper by stepper motor is every time 25 centimetres, reach saving paper, Avoid the purpose of waste.
Voice broadcast circuit of the invention is using WT5001 voice module interface circuit as shown in fig. 6, WT5001- 48L is the MP3 speech chip of a OTP high tone quality, possesses 8-bit CISC, supports WAV and MP3 decoding;Peripheral hardware Rich interface;One SPI supports DMA;16 ohm of earphones can be directly driven;Band real-time clock and permanent calendar function;Standard RS232 serial ports control function;It is low in energy consumption, about 80 uA of standby current when suspend mode;Control plays response speed and is better than similar product; It is applicable to the occasion for replacing voice or the music file time is longer, sound quality is more demanding[6].Included SPI-FLASH storage Medium carries one watt of power amplifier;It download online music file or TF card or U disk can be passed through replaces music file.Voice is broadcast The function of reporting module is to play music or public service ads automatically when infrared sensor detects that someone enters induction zone;Nobody When, stop playing music.
Algorithm flow chart of the invention is as shown in fig. 7, system is based on Keil u Vision5 too development, with C voice work For development language.Whole system software includes infrared detection module, fingerprint identification module, laser detection module, single chip control module, auto-flushing Drive module, automatic paper extraction module and voice broadcast module.Firstly, detecting whether that someone enters by infrared sensor, will test As a result it is sent to single-chip microcontroller.If someone enters, music is played by MCU driving voice broadcast module;It can be suspended by key Play or switch song.MCU driving automatic flushing system works once at regular intervals.Postponing certain time, (program is set It is fixed) after, it is detected by laser sensor either with or without paper, will test result and be sent to single-chip microcontroller.When without paper, lighted by single-chip microcontroller scarce Paper indicator light;There is paper, then after people presses paper extraction key, certain length (25 centimetres) are released by MCU driving stepper motor Paper.If infrared sensor detects nobody, analyze and determine previously whether someone if someone stops music and broadcasts by single-chip microcontroller It puts, and is washed by water by MCU driving solenoid valve, closed after a certain period of time.It is used by software realization squatting pan unmanned It does not wash by water when being used with someone, only postpone certain time (5 seconds) functions of washing by water after people leaves;Realize that people goes to the toilet When, the function of the automatic paper for extracting equal length out.
System of the invention is in kind as shown in figure 8, whether meeting design requirement for each module performance of verifying system, to system It is repeatedly tested, the table that obtains that test result is as follows.
Each module testing result of 1 system of table and test result
Serial number Module to be measured Intended result Test result Test result
1 Infrared sensor Someone goes to the toilet, and LED light is bright Before hand is placed on sensor, LED light is bright Reach requirement
2 Laser sensor When without paper, low paper indicator is bright When without paper, low paper indicator is bright Reach requirement
3 Auto-flushing module After people leaves, postpone automatic punching in 5 seconds Water Handle is taken away after infrared sensor 5 seconds, system auto-flushing Reach requirement
4 Automatic paper extraction module After convenient, go out length phase by lower button Same paper Go out the paper of equal length by lower button Reach requirement
5 Voice broadcast When people goes to the toilet, music is played automatically;From After opening, stop playing Handle starts to play music for 5 seconds after being placed on infrared sensor, suspends by lower button, then Next track is switched to by primary Reach requirement
After tested, each module of system can reach design requirement, and whole system is stable, accuracy with higher and preferably Sensitivity, meet system design considerations.
The present invention is not limited to above to the description of embodiment, the content that those skilled in the art disclose according to the present invention, The improvement and modification that need not be carried out by creative work on the basis of the present invention, all should protection scope of the present invention it It is interior.

Claims (8)

1. a kind of squatting pan auto-flushing paper extraction system, which is characterized in that the system is by detection system, master control system and drive Dynamic system composition.The detection system is made of infrared sensor and laser sensor;The infrared sensor is used to detect Whether someone goes to the toilet, and the laser sensor is for detecting whether paper extraction is finished.The master control system by STM32F103ZET6 single-chip minimum system and power supply system composition, are the control cores of whole system.The drive system For driving voice module and stepper motor, realize system voice broadcast and automatic paper extraction function.
2. a kind of squatting pan auto-flushing paper extraction system according to claim 1, which is characterized in that the main control system The microcontroller of the position STM32F103ZET632 of the selection of system microarray biochip, using ARM Cortex-M3 kernel in interrupt processing Middle Tail-Chaining interrupt techniques.
3. a kind of squatting pan auto-flushing paper extraction system according to claim 1, which is characterized in that the detection system Including infrared detection and laser detection, it is made of infrared sensor and laser sensor;By laser detection receiving module whether It receives laser and judges whether there is paper;Detect whether that someone enters range by infrared sensor.
4. a kind of squatting pan auto-flushing paper extraction system according to claim 1, which is characterized in that the drive system It is made of voice broadcast circuit system, automatic paper extraction drive circuit system, automatic flushing system.
5. a kind of squatting pan auto-flushing paper extraction system according to claim 4, which is characterized in that the auto-flushing System, as electronic control device, realizes auto-flushing using electromagnetic relay.
6. a kind of squatting pan auto-flushing paper extraction system according to claim 5, which is characterized in that the port PC3 Resistance R12 is connected, the collector of the base stage of resistance R12 the connection R10 and triode Q1, the triode connects two poles Pipe D5 and relay, the transistor emitter connects power supply, is connected with armature above the electromagnetic relay, described Green terminal base connection photodiode and R6.
7. a kind of squatting pan auto-flushing paper extraction system according to claim 4, which is characterized in that the automatic paper extraction Drive system controls the length that control user takes paper using THB7128 stepper motor driver chip.
8. a kind of squatting pan auto-flushing paper extraction system according to claim 4, which is characterized in that the voice broadcast The MP3 speech chip for the WT5001-48L OTP high tone quality that system uses, when infrared sensor detects that someone enters induction Automatically music or public service ads are played when area;Nobody when, stop play music.
CN201910340625.5A 2019-04-25 2019-04-25 A kind of squatting pan auto-flushing paper extraction system Pending CN109944306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910340625.5A CN109944306A (en) 2019-04-25 2019-04-25 A kind of squatting pan auto-flushing paper extraction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910340625.5A CN109944306A (en) 2019-04-25 2019-04-25 A kind of squatting pan auto-flushing paper extraction system

Publications (1)

Publication Number Publication Date
CN109944306A true CN109944306A (en) 2019-06-28

Family

ID=67016257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910340625.5A Pending CN109944306A (en) 2019-04-25 2019-04-25 A kind of squatting pan auto-flushing paper extraction system

Country Status (1)

Country Link
CN (1) CN109944306A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524335A (en) * 2020-05-19 2020-08-11 周成生 Intelligent terminal and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853024A (en) * 2010-06-25 2010-10-06 耿会超 Networking control method and automatic flushing system of flushers used in public toilet
CN204139280U (en) * 2014-10-16 2015-02-04 池州学院 A kind of pan with auto-flushing
CN105507391A (en) * 2014-10-16 2016-04-20 池州学院 Squatting pan with automatic flushing function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853024A (en) * 2010-06-25 2010-10-06 耿会超 Networking control method and automatic flushing system of flushers used in public toilet
CN204139280U (en) * 2014-10-16 2015-02-04 池州学院 A kind of pan with auto-flushing
CN105507391A (en) * 2014-10-16 2016-04-20 池州学院 Squatting pan with automatic flushing function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524335A (en) * 2020-05-19 2020-08-11 周成生 Intelligent terminal and system

Similar Documents

Publication Publication Date Title
CN104180486A (en) Intelligent home system and control method
CN109944306A (en) A kind of squatting pan auto-flushing paper extraction system
CN206396852U (en) Deodorization bathroom accessory system
CN104814707B (en) A kind of embedded dish washer and its running status reminding method and device
CN107439407A (en) A kind of pet cat toy and its method of work
CN203670248U (en) Linkage controller of ventilating fan of toilet bowl
CN204533727U (en) A kind of touch-control water tap
CN209184847U (en) A kind of public lavatory intelligent light control system
CN112764444B (en) Constant-temperature intelligent valve control system and control method thereof
CN204374687U (en) A kind of packing toilet intelligent controller
CN210888179U (en) Steel construction removes environmental protection public latrine function pronunciation play device
CN202925656U (en) Ultrasonic sensing urinal
CN214375904U (en) Energy-saving circuit for infrared induction sanitary appliance
CN205348323U (en) Public lavatory of school water saving fixtures
CN110295655A (en) A kind of energy conserving system of wisdom public lavatory
CN2635767Y (en) Automatic scavenging and flushing device for toilet
CN206845514U (en) A kind of temperature control and the intelligent electric fan of power-off protection
CN102003776A (en) Air conditioner and operating method thereof
CN105507391A (en) Squatting pan with automatic flushing function
CN2553412Y (en) Intelligent control meter for radiator
CN209545968U (en) A kind of control circuit of acoustic control lamp
CN205688538U (en) A kind of induction type water-saving urinal
CN204139280U (en) A kind of pan with auto-flushing
CN215409308U (en) Toilet auto-induction air suction deodorization device and squatting pan
CN110345643A (en) Water heater external hot water circuit control system and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190628