CN112305960A - Circuit with disinfection function shoes - Google Patents
Circuit with disinfection function shoes Download PDFInfo
- Publication number
- CN112305960A CN112305960A CN202011112723.2A CN202011112723A CN112305960A CN 112305960 A CN112305960 A CN 112305960A CN 202011112723 A CN202011112723 A CN 202011112723A CN 112305960 A CN112305960 A CN 112305960A
- Authority
- CN
- China
- Prior art keywords
- pin
- circuit
- module
- control module
- resistor
- 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.)
- Withdrawn
Links
- 238000004659 sterilization and disinfection Methods 0.000 title claims abstract description 24
- 230000000087 stabilizing effect Effects 0.000 claims abstract description 12
- 238000005070 sampling Methods 0.000 claims abstract description 8
- 238000005286 illumination Methods 0.000 claims description 3
- 230000006266 hibernation Effects 0.000 claims 1
- 239000000463 material Substances 0.000 abstract description 3
- 230000003760 hair shine Effects 0.000 abstract 2
- 239000003990 capacitor Substances 0.000 description 27
- 239000011800 void material Substances 0.000 description 17
- 230000006641 stabilisation Effects 0.000 description 14
- 238000011105 stabilization Methods 0.000 description 14
- 239000013078 crystal Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 5
- UIIMBOGNXHQVGW-UHFFFAOYSA-M Sodium bicarbonate Chemical compound [Na+].OC([O-])=O UIIMBOGNXHQVGW-UHFFFAOYSA-M 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 241000894006 Bacteria Species 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 210000002683 foot Anatomy 0.000 description 3
- 238000002791 soaking Methods 0.000 description 3
- 241000233866 Fungi Species 0.000 description 2
- KFSLWBXXFJQRDL-UHFFFAOYSA-N Peracetic acid Chemical compound CC(=O)OO KFSLWBXXFJQRDL-UHFFFAOYSA-N 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 2
- 230000000249 desinfective effect Effects 0.000 description 2
- 229910000030 sodium bicarbonate Inorganic materials 0.000 description 2
- 235000017557 sodium bicarbonate Nutrition 0.000 description 2
- 101710179738 6,7-dimethyl-8-ribityllumazine synthase 1 Proteins 0.000 description 1
- 101710186608 Lipoyl synthase 1 Proteins 0.000 description 1
- 101710137584 Lipoyl synthase 1, chloroplastic Proteins 0.000 description 1
- 101710090391 Lipoyl synthase 1, mitochondrial Proteins 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000003385 bacteriostatic effect Effects 0.000 description 1
- 238000004061 bleaching Methods 0.000 description 1
- 238000009395 breeding Methods 0.000 description 1
- 230000001488 breeding effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002147 killing effect Effects 0.000 description 1
- 244000005700 microbiome Species 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035699 permeability Effects 0.000 description 1
- 208000017520 skin disease Diseases 0.000 description 1
- 230000001954 sterilising effect Effects 0.000 description 1
- 210000004243 sweat Anatomy 0.000 description 1
- 201000004647 tinea pedis Diseases 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61L—METHODS OR APPARATUS FOR STERILISING MATERIALS OR OBJECTS IN GENERAL; DISINFECTION, STERILISATION OR DEODORISATION OF AIR; CHEMICAL ASPECTS OF BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES; MATERIALS FOR BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES
- A61L2/00—Methods or apparatus for disinfecting or sterilising materials or objects other than foodstuffs or contact lenses; Accessories therefor
- A61L2/02—Methods or apparatus for disinfecting or sterilising materials or objects other than foodstuffs or contact lenses; Accessories therefor using physical phenomena
- A61L2/08—Radiation
- A61L2/10—Ultraviolet radiation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61L—METHODS OR APPARATUS FOR STERILISING MATERIALS OR OBJECTS IN GENERAL; DISINFECTION, STERILISATION OR DEODORISATION OF AIR; CHEMICAL ASPECTS OF BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES; MATERIALS FOR BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES
- A61L2/00—Methods or apparatus for disinfecting or sterilising materials or objects other than foodstuffs or contact lenses; Accessories therefor
- A61L2/24—Apparatus using programmed or automatic operation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61L—METHODS OR APPARATUS FOR STERILISING MATERIALS OR OBJECTS IN GENERAL; DISINFECTION, STERILISATION OR DEODORISATION OF AIR; CHEMICAL ASPECTS OF BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES; MATERIALS FOR BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES
- A61L2202/00—Aspects relating to methods or apparatus for disinfecting or sterilising materials or objects
- A61L2202/10—Apparatus features
- A61L2202/14—Means for controlling sterilisation processes, data processing, presentation and storage means, e.g. sensors, controllers, programs
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Health & Medical Sciences (AREA)
- Epidemiology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Emergency Alarm Devices (AREA)
Abstract
The invention relates to the field of shoes, in particular to a circuit of a shoe with a disinfection function, which comprises a control module, a light sensor module, a disinfection lamp module, a voltage stabilizing circuit, a prompt module, a sampling circuit and a charging circuit, wherein the control module is connected with the light sensor module; electric connection has between control module and the light sensor module, electric connection has between control module and the sterilamp module, electric connection has between control module and the voltage stabilizing circuit, electric connection has between sampling circuit and the control module, electric connection has between sampling circuit and the voltage stabilizing circuit, electric connection has between suggestion module and the control module, this shoes ultraviolet disinfection lamp shines the setting towards shoes head, the covering of tip has effectively been avoided, the inside can not receive of shoes intracavity portion shines, and the emergence of the not abundant condition of disinfection that disinfects that leads to. Can not lead to the shoe deformation or the color change because of the sterilization and disinfection, and is suitable for shoes made of various materials. The invention has high automation degree and avoids the damage of ultraviolet rays to human bodies.
Description
Technical Field
The invention relates to the field of shoes, in particular to a circuit of a shoe with a disinfection function.
Background
The shoes are necessities of our lives, and feet of people are easy to sweat when walking or doing sports. In addition, the poor air permeability of the shoes leads to the feet being in a wet state, thereby becoming a hotbed for breeding microorganisms, emitting odor and causing skin diseases such as tinea pedis and the like. At present, people often adopt the following modes: 1. and (5) exposing the sun. The ultraviolet rays in the sunlight can kill fungi, but the shoes cannot be completely killed due to dead corners; 2. the method has the advantages that 0.2% peracetic acid solution is adopted to clean the shoes, the solution has a good fungus killing effect, but the solution also has a bleaching effect, non-white shoes can be bleached, adverse effects are brought, or the method can only be used for disinfecting white shoes, and the method has limitations; 3. the method adopts baking soda soaking. The baking soda has the bacteriostatic effect, but the effect is not obvious enough, and the long-time soaking is not good for shoes, the shoes are easy to damage, and some shoes made of materials are not suitable for soaking, so that the method has limitations.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a pair of shoes, which can realize the function of eliminating bacteria in shoe cavities.
In order to solve the above problems, the present invention adopts the following technical solutions.
A circuit of shoes with disinfection function comprises a single chip microcomputer U1 with model number PIC16F877, a reference voltage stabilization chip U2 with model number TL431, and a three-terminal voltage stabilization chip U3 with model number LM1117 DT-3.3;
the cathode of the fifth diode is connected with the cathode of the first diode, the first pin of the second triode is connected with the cathode of the first diode, the first thirteen pin of the singlechip U1 is connected with the first pin of the first crystal oscillator, the second pin of the first capacitor is connected with the first pin of the first crystal oscillator, the first fourteen pin of the singlechip U1 is connected with the second pin of the first crystal oscillator, the second pin of the second capacitor is connected with the second pin of the first crystal oscillator, the first pin of the third triode is connected with the second pin of the buzzer, the second pin of the sixth resistor is connected with the second pin of the buzzer, the second pin of the fourth resistor is connected with the first pin of the eighth resistor, the first pin of the reference voltage stabilization chip U2 is connected with the first pin of the eighth resistor, the first pin of the second resistor is connected with the third pin of the reference voltage stabilization chip U2, the eleventh pin of the first reference voltage stabilization chip U2, the first pin of the fourth triode is connected with the second pin of the ninth resistor, the third pin of the fourth triode is connected with the anode of the second diode, the first pin of the first twelfth resistor is connected with the anode of the second diode, the second pin of the first tenth resistor is connected with the second pin of the fourth triode, the cathode of the fourth diode is connected with the second pin of the fourth triode, the anode of the fourth diode is connected with the cathode of the third diode, the third pin of the first triode is connected with the first pin of the first tenth resistor, the second pin of the second resistor is connected with the second pin of the first triode, the second pin of the first resistor is connected with the first fifteenth pin of the singlechip U1, the first nineteen pin of the singlechip U1 is connected with the second pin of the second triode, the second pin of the U1 is connected with the second pin of the third resistor of the singlechip, the first pin of the seventh resistor is connected with the second pin of the third resistor, the twenty-first pin of the singlechip U1 is connected with the first pin of the fifth resistor, the second pin of the third triode is connected with the first pin of the fifth resistor, the twenty-first pin of the singlechip U1 is connected with the second pin of the twelfth resistor, the first pin of the thirteenth resistor is connected with the second pin of the twelfth resistor, the anode of the fifth diode is connected with the first twelve pin of the singlechip U1, the anode of the first diode is connected with the first twelve pin of the singlechip U1, the first pin of the third resistor is connected with the first twelve pin of the singlechip U1, the first pin of the sixth resistor is connected with the first twelve pin of the singlechip U1, the first pin of the buzzer is connected with the first twelve pin of the singlechip U1, the cathode of the second diode is connected with the first twelve pin of the U1, the second end of the power supply is connected with the first twelve pin of the singlechip U1, the first pin of the third triode is connected with the first pin 1, the second pin of the three-terminal voltage-stabilizing chip U3 is connected with the first twelve pin of the singlechip U1, the first pin of the fourth resistor is connected with the first twelve pin of the singlechip U1, the first pin of the second capacitor is connected with the first twelve pin of the singlechip U1, the first pin of the first capacitor is connected with the first twelve pin of the singlechip U1, the fourth pin of the singlechip U1 is connected with the first twelve pin of the singlechip U1, the third pin of the second triode is connected with the first twelve pin of the singlechip U1, the second pin of the seventh resistor is connected with the first twelve pin of the singlechip U1, the third pin of the third triode is connected with the first twelve pin of the singlechip U1, the second pin of the fifth resistor is connected with the first twelve pin of the singlechip U1, the second pin of the reference voltage-stabilizing chip U2 is connected with the first twelve pin of the singlechip U1, and the eighth pin of the second resistor is connected with the first twelve pin of the singlechip U1, the first pin of the first triode is connected with the first twelve pin of the singlechip U1, the second pin of the first thirteenth resistor is connected with the first twelve pin of the singlechip U1, the second pin of the third capacitor is connected with the first twelve pin of the singlechip U1, the second pin of the fourth capacitor is connected with the first twelve pin of the singlechip U1, the first pin of the three-terminal voltage stabilization chip U3 is connected with the first twelve pin of the singlechip U1, the AC first end of the power supply is connected with the first twelve pin of the singlechip U1, the anode of the third diode is connected with the first twelve pin of the singlechip U1, the first pin of the ninth resistor is connected with the first twelve pin of the singlechip U1, the thirty-first pin of the singlechip U1 is connected with the first twelve pin of the U1, the first pin of the first resistor is connected with the eleventh pin of the singlechip U1, the fifth pin of the singlechip U1 is connected with the eleventh pin of the singlechip U1, the first pin of the first eleventh resistor is connected with the first eleventh pin of the singlechip U1, the first pin of the fourth capacitor is connected with the first eleventh pin of the singlechip U1, the third pin of the three-terminal voltage stabilizing chip U3 is connected with the first eleventh pin of the singlechip U1, and the thirty-second pin of the singlechip U1 is connected with the first eleventh pin of the singlechip U1.
Further, the first number of capacitors has a nominal value of 1 nF.
Further, the second capacitor has a nominal value of 1 nF.
Further, the third capacitor has a nominal value of 1 nF.
Further, the fourth capacitor has a nominal value of 1 nF.
Further, the resistance value of the first resistor is 100K ohms.
Further, the resistance of the second resistor is 10k ohms.
Further, the resistance of the third resistor is 10k ohms.
Further, the fourth resistor has a resistance of 6.8k ohms.
Further, the resistance of the fifth resistor is 10k ohms.
Further, the resistance of the sixth resistor is 10k ohms.
Further, the resistance of the seventh resistor is 10k ohms.
Further, the resistance value of the eighth resistor is 10K ohms.
Further, the resistance value of the ninth resistor is 2 ohms.
Further, the resistance value of the first tenth resistor is 1k ohm.
Further, the resistance of the first eleventh resistor is 1k ohm.
Further, the resistance of the first twelve resistors is 1k ohm.
Further, the resistance value of the first thirteenth resistor is 10k ohms.
Further, the model of the first triode is 2N 3904.
Further, the model of the second triode is 2N 7002.
Further, the model of the third triode is 2N 7002.
Further, the model of the fourth triode is 2N 3905.
Further, the model number of the first diode is 10a 01.
Further, the model number of the second diode is 10a 01.
Further, the model number of the third diode is 1N 4007.
Further, the model number of the fourth diode is 1N 4007.
Further, the model number of the fifth diode is 10a 01.
Compared with the prior art, the invention has the advantages that:
firstly, a new technical idea is provided.
Secondly, this shoes have designed the ultraviolet sterilization function ingeniously in shoes, can in time disinfect to the shoes chamber, avoid the bacterium to nourish in the shoes chamber, have reduced the probability that the person of dress infects the bacterium.
The ultraviolet disinfection lamp for the shoes irradiates towards the head of the shoes, so that the covering of the toe cap is effectively avoided, the inside of a shoe cavity cannot receive the irradiation of sunlight, and the condition that the sterilization and disinfection are insufficient is caused.
And fourthly, the ultraviolet lamp sterilization and disinfection is harmless along with the shoe body, the shoe cannot be deformed or the color of the shoe is not changed due to the sterilization and disinfection, and the ultraviolet lamp sterilization and disinfection shoe is suitable for being applied to shoes made of various materials.
The shoe has high automation degree, the shoe can judge whether a user uses the shoe through the optical sensor, and when the user uses the shoe, the ultraviolet disinfection lamp is not started, so that the damage of ultraviolet rays to a human body is avoided.
Drawings
FIG. 1 is a circuit diagram of the present invention;
FIG. 2 is a block diagram of the control module of FIG. 1 of the present invention;
FIG. 3 is a diagram of a photosensor module of FIG. 1 of the present invention;
FIG. 4 is a block diagram of the disinfecting lamp of FIG. 1 according to the present invention;
FIG. 5 is a diagram of the voltage regulator circuit of FIG. 1 according to the present invention;
FIG. 6 is a circuit diagram of the sampling circuit of FIG. 1 in accordance with the present invention;
FIG. 7 is a diagram of a hinting module of FIG. 1 in accordance with the present invention;
FIG. 8 is a schematic of the charging circuit of FIG. 1 of the present invention;
FIG. 9 is a block diagram of the present invention;
FIG. 10 is a flow chart of the single chip microcomputer of the present invention;
FIG. 11 is a schematic structural view of the present invention.
The reference numbers in the figures illustrate:
a first capacitor C1; a second capacitor C2; a third capacitor C3; fourth capacitor C4; a first resistor R1; a second resistor R2; a third resistor R3; a fourth resistor R4; a fifth resistor R5; a sixth resistor R6; a seventh resistor R7; eighth resistor R8; a ninth resistor R9; a first ten resistor R10; a first resistor R13; a first twelfth resistor R14; a first thirteen-resistor R15; a singlechip U1; a reference voltage stabilization chip U2U 2; a three-terminal voltage stabilization chip U3U 3; a first triode Q1; a second transistor Q2; a third transistor Q3; a fourth triode Q4; a first diode D1; diode number two D2; diode number three D3; diode number four D4; diode number five D5; a power supply BAT 1; a buzzer LS 1; the first crystal oscillator X1.
Detailed Description
As shown in fig. 1-11, a circuit of a shoe with disinfection function includes a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a single chip U1, a reference voltage regulation chip U2, a three-terminal voltage regulation chip U3, a first triode, a second triode, a third triode, a fourth triode, a first diode, a second diode, a third diode, a fourth diode, a fifth diode, a power supply, a buzzer and a first crystal oscillator;
the model of the singlechip U1 is PIC16F877, the model of the reference voltage stabilizing chip U2 is TL431, and the model of the three-terminal voltage stabilizing chip U3 is LM1117 DT-3.3;
the cathode of the fifth diode is connected with the cathode of the first diode, the first pin of the second triode is connected with the cathode of the first diode, the first thirteen pin of the singlechip U1 is connected with the first pin of the first crystal oscillator, the second pin of the first capacitor is connected with the first pin of the first crystal oscillator, the first fourteen pin of the singlechip U1 is connected with the second pin of the first crystal oscillator, the second pin of the second capacitor is connected with the second pin of the first crystal oscillator, the first pin of the third triode is connected with the second pin of the buzzer, the second pin of the sixth resistor is connected with the second pin of the buzzer, the second pin of the fourth resistor is connected with the first pin of the eighth resistor, the first pin of the reference voltage stabilization chip U2 is connected with the first pin of the eighth resistor, the first pin of the second resistor is connected with the third pin of the reference voltage stabilization chip U2, the eleventh pin of the first reference voltage stabilization chip U2, the first pin of the fourth triode is connected with the second pin of the ninth resistor, the third pin of the fourth triode is connected with the anode of the second diode, the first pin of the twelfth resistor is connected with the anode of the second diode, the second pin of the tenth resistor is connected with the second pin of the fourth triode, the cathode of the fourth diode is connected with the second pin of the fourth triode, the anode of the fourth diode is connected with the cathode of the third diode, the third pin of the first triode is connected with the first pin of the tenth resistor, the second pin of the second resistor is connected with the second pin of the first triode, the second pin of the first resistor is connected with the electrical node LIGHT _ IN, the fifteenth pin of the singlechip U1 is connected with the electrical node LIGHT _ IN, the sixteenth pin of U1 is connected with the electrical node LIGHT _ OUT, the first pin of the singlechip U1 is connected with the ninth LED node CTRL-C, the second pin of the second triode is connected with an electrical node LED _ CTRL, the second pin of a singlechip U1 is connected with an electrical node VBATT, the first pin of a seventh resistor is connected with the electrical node VBATT, the second pin of a third resistor is connected with the electrical node VBATT, the twentieth pin of a singlechip U1 is connected with an electrical node BEEP, the second pin of a third triode is connected with the electrical node BEEP, the first pin of a fifth resistor is connected with the electrical node BEEP, the twenty-first pin of a singlechip U1 is connected with an electrical node CF, the first pin of a thirteenth resistor is connected with the electrical node CF, the second pin of a twelfth resistor is connected with the electrical node CF, the anode of a fifth diode is connected with an electrical node GND, the anode of a first diode is connected with an electrical node GND, the first pin of a third resistor is connected with an electrical node GND, and the first pin of a sixth resistor is connected with the electrical node GND, the first pin of the buzzer is connected with an electrical node GND, the cathode of the second diode is connected with the electrical node GND, the alternating current second end of the power supply is connected with the electrical node GND, the first pin of the third capacitor is connected with the electrical node GND, the second pin of the three-terminal voltage stabilization chip U3 is connected with the electrical node GND, the first pin of the fourth resistor is connected with the electrical node GND, the first pin of the second capacitor is connected with the electrical node GND, the first pin of the first capacitor is connected with the electrical node GND, the fourth pin of the singlechip U1 is connected with the electrical node GND, the third pin of the second triode is connected with the electrical node GND, the second pin of the seventh resistor is connected with the electrical node GND, the third pin of the third triode is connected with the electrical node GND, the second pin of the fifth resistor is connected with the electrical node GND, the second pin of the reference voltage stabilization chip U2 is connected with the electrical node GND, and the second pin of the eighth resistor is connected with the electrical node GND, the first pin of the first triode is connected with an electrical node GND, the second pin of the first thirteenth resistor is connected with the electrical node GND, the second pin of the third capacitor is connected with the electrical node GND, the second pin of the fourth capacitor is connected with the electrical node GND, the first pin of a three-terminal voltage stabilization chip U3 is connected with the electrical node GND, the alternating current first end of a power supply is connected with the electrical node GND, the anode of a third diode is connected with the electrical node GND, the first pin of a ninth resistor is connected with the electrical node GND, the thirty-first pin of a singlechip U1 is connected with the electrical node GND, the twelfth pin of a singlechip U1 is connected with the electrical node GND, an electrical node BATT is connected with the electrical node GND, an electrical node VUSB is connected with the electrical node GND, the first pin of the first resistor is connected with the electrical node VDD, the fifth pin of the singlechip U1 is connected with the electrical node VDD, the first pin of the first eleventh resistor is connected with an electrical node VDD, the first pin of the fourth capacitor is connected with the electrical node VDD, the third pin of the three-terminal voltage stabilizing chip U3 is connected with the electrical node VDD, the third twelve pin of the single chip microcomputer U1 is connected with the electrical node VDD, the first eleven pin of the single chip microcomputer U1 is connected with the electrical node VDD, the electrical node VCC/VDD is connected with the electrical node VDD, and the electrical node VCC is connected with the electrical node VDD.
The model of the singlechip U1 in the embodiment is PIC16F 877. The source code of the singlechip U1 is as follows, and the source code is compiled by mplab x ide software:
#include <pic.h>
#include <xc.h>
#include <stdio.h>
#include <stdlib.h>
#include <pic16f877.h>
# define Light _ IN RC 0// photosensor input field, if low, the shoe is not worn
# define CF RC 1// charging flag, which, if high, is charging
# define Beep RD 1// buzzer control pin, buzzer sounding if high level
# define LED _ Ctrl RD 0// Disinfection light control foot, if high, starts Disinfection
unsigned int Counter = 0;
Signaled int DL = 500// preset alarm for undervoltage of battery
Signaled int Voltage _ Battery = 0;/Battery Voltage
Idle char Sleep _ Flag = 0// Sleep state Flag 1 represents Sleep
void GPIO _ init (void)// IO initialization
void AD _ init (void)// AD initialization
unsigned int AD_Convert(void);
void Timer1_init(void);
void Delay(unsigned char Count);
int main(int argc, char** argv)
{
AD_Init();
GPIO_Init();
while(1)
{
if (Sleep_Flag == 0)
{
LED_Ctrl = 0;
Voltage_Battery = AD_Convert();
Delay(100);
if (Voltage_Battery < DL)
{// determine whether to charge
if (CF = = 0)// no charging
{
Beep = 1;
}
else
{
Beep = 0;
}
}
else// detecting illumination
{
if (Light _ IN = = 0)// illumination intensity
{
LED_Ctrl = 1;
}
}
Sleep_Flag = 1;
}
}
return (EXIT_SUCCESS);
}
void Timer1_init()
{
T1CKPS0=1; //1:8
T1CKPS1=1;
TMR1CS = 0// timer mode
TMR1IE=1;
TMR1H=0xf6; //10ms@8MHz 65536-8M/2/8/100
TMR1L=0x3C;
TMR1ON=1;
PEIE=1;
GIE=1;
}
void interrupt ISR(void)
{
if(TMR1IF)
{
TMR1IF=0;
TMR1H=0xf6;
TMR1L=0x3C;
if(++Counter>100)
{
Sleep_Flag = 0;
Counter=0;
}
}
}
unsigned int AD_Convert(void)
{
unsigned int AD_Value;
GO = 1// initiate AD conversion
while (GO)/whether AD conversion is completed
AD _ Value = ADRESH// reading AD conversion results
AD _ Value = AD _ Value < <8| ADRESL// copying the conversion result to AD _ Value
return AD_Value;
}
void AD_Init(void)
{
TRISA = 0x01; //RA0 input mode
ADCON1 = 0x 8F// right alignment, ADCS2=0,1101
ADCON0 = 0x41; //ADCS1:ADCS0=01 fosc/8,AN0,,A/D On
}
void Delay(unsigned char Count)
{
unsigned int i;
unsigned char j;
for (i=0;i<1000;i++)
{
for (j=0;j<Count;j++);
}
}
void GPIO_Init(void)
{
TRISC = 0x 03// RC0 RC1 input
TRISD = 0x00;
}
The source code program ends.
The above; but are merely preferred embodiments of the invention; the scope of the invention is not limited thereto; any person skilled in the art is within the technical scope of the present disclosure; the technical scheme and the improved concept of the invention are equally replaced or changed; are intended to be covered by the scope of the present invention.
Claims (7)
1. A circuit with disinfection function shoes, its characterized in that: the intelligent disinfection lamp comprises a Control Module (CM), a Light Sensor Module (LSM), a disinfection lamp module (XDM), a voltage stabilizing circuit (SVM), a Prompt Module (PM), a sampling circuit (SM) and a charging Circuit (CBM);
the Control Module (CM) is electrically connected with the Light Sensor Module (LSM) and is used for receiving a signal whether the Light Sensor Module (LSM) has light or not;
the Control Module (CM) is electrically connected with the disinfection lamp module (XDM), the disinfection lamp module (XDM) comprises an ultraviolet lamp (D1), an indicator lamp (D5) and a switch (Q2), the Control Module (CM) controls the ultraviolet lamp (D1) and the indicator lamp (D5) to be turned on by controlling the switch (Q2) to be switched on, and the Control Module (CM) controls the ultraviolet lamp (D1) and the indicator lamp (D5) to be turned off by controlling the switch (Q2) to be switched off;
the Control Module (CM) is electrically connected with the voltage stabilizing circuit (SVM), and the voltage stabilizing circuit (SVM) is used for stabilizing the input voltage of the Control Module (CM);
the sampling circuit (SM) is electrically connected with the Control Module (CM), the sampling circuit (SM) is electrically connected with the voltage stabilizing circuit (SVM), and the sampling circuit (SM) is used for judging whether the battery electric quantity is lower than a preset value;
the Prompt Module (PM) is electrically connected with the Control Module (CM) and is used for prompting whether the owner charges through the USB port.
2. The circuit of claim 1, wherein the circuit comprises: the single chip microcomputer U1 has an operation flow as follows:
step a 1: starting from hibernation;
step a 2: starting operation;
step a 3: placing the switch in an off state;
step a 4: judging whether the battery power is lower than a preset value (DL), if so, executing the step a5, and if not, executing the step a 7;
step a 5: judging whether the battery is charged through the USB charging port, if the battery needs to be charged through the USB charging port, executing a9, and if the battery is not charged through the USB charging port, executing a 6;
step a 6: sending out a prompt to the host through the prompt module, and then executing the step a 9;
step a 7: judging whether the light sensor receives illumination, if so, executing the step a8, and if not, executing the step a 9;
step a 8: placing the switch in a conducting state and then performing step a 9;
step a 9: finishing the operation;
step a 10: entering a dormant state, and starting a timer to work;
step a 11: when the timer operation is over, step a1 is executed.
3. The circuit of claim 1, wherein the circuit comprises: the prompt module sends prompt information to the host mobile phone through Bluetooth.
4. The circuit of claim 1, wherein the circuit comprises: the prompting module is used for sending sound to prompt a host through a buzzer.
5. The circuit of claim 1, wherein the circuit comprises: the prompting module is connected through Bluetooth to judge whether the mobile phone of the owner is nearby, if so, the prompting module sends out a voice prompt, and otherwise, the prompting module does not operate.
6. The circuit of claim 1, wherein the circuit comprises: the switch is a mos tube;
the shoe comprises an upper and a sole, wherein the upper is fixedly connected with the sole.
7. The circuit of claim 1, wherein the circuit comprises: the model of the single chip microcomputer is PIC16F 877.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112723.2A CN112305960A (en) | 2020-10-16 | 2020-10-16 | Circuit with disinfection function shoes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112723.2A CN112305960A (en) | 2020-10-16 | 2020-10-16 | Circuit with disinfection function shoes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112305960A true CN112305960A (en) | 2021-02-02 |
Family
ID=74328128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011112723.2A Withdrawn CN112305960A (en) | 2020-10-16 | 2020-10-16 | Circuit with disinfection function shoes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112305960A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107280130A (en) * | 2017-09-03 | 2017-10-24 | 佛山市幻龙科技有限公司 | One kind carries ultraviolet disinfection shoe |
CN209548418U (en) * | 2018-12-25 | 2019-10-29 | 浙江天衡五维电子科技有限公司 | A kind of novel deep ultraviolet LED sterilizing unit |
CN210250639U (en) * | 2018-12-17 | 2020-04-07 | 深圳市满鑫隆科技有限公司 | Mobile phone sterilizer |
CN111617294A (en) * | 2020-07-01 | 2020-09-04 | 壹潇科技(绍兴)有限公司 | Handheld ultraviolet disinfection lamp control system |
-
2020
- 2020-10-16 CN CN202011112723.2A patent/CN112305960A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107280130A (en) * | 2017-09-03 | 2017-10-24 | 佛山市幻龙科技有限公司 | One kind carries ultraviolet disinfection shoe |
CN210250639U (en) * | 2018-12-17 | 2020-04-07 | 深圳市满鑫隆科技有限公司 | Mobile phone sterilizer |
CN209548418U (en) * | 2018-12-25 | 2019-10-29 | 浙江天衡五维电子科技有限公司 | A kind of novel deep ultraviolet LED sterilizing unit |
CN111617294A (en) * | 2020-07-01 | 2020-09-04 | 壹潇科技(绍兴)有限公司 | Handheld ultraviolet disinfection lamp control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN212935949U (en) | Mobile phone with Ultraviolet (UV) lamp sterilization function | |
WO2022037236A1 (en) | Movable ultrasonic electrolytic water treatment circuit and hand washing apparatus | |
CN112305960A (en) | Circuit with disinfection function shoes | |
CN204468628U (en) | A kind of circuit of household cosmetic weight reducing instrument | |
CN209899646U (en) | Novel tooth box | |
CN112353040A (en) | Shoes with disinfection function | |
CN212259377U (en) | Intelligent lamp with mosquito repelling and ultraviolet disinfection functions | |
CN114217696A (en) | Keyboard with regularly disinfect function | |
CN216210583U (en) | Portable atomizer control circuit | |
CN203327289U (en) | Control circuit of photon beauty treatment instrument | |
CN205569525U (en) | Rhinitis therapeutic device | |
CN212876155U (en) | Rechargeable portable sterilamp circuit | |
CN213822741U (en) | Movable sterilization box control circuit | |
CN213373943U (en) | Ultraviolet disinfection lamp | |
CN215780138U (en) | Working lamp with sterilization function and control loop | |
CN212231757U (en) | Sterilizing lighting lamp circuit | |
CN207704613U (en) | Register guide | |
CN218567890U (en) | Toothbrush disinfection frame control panel | |
CN215852539U (en) | Shoe box with sterilization and disinfection functions | |
CN216455987U (en) | Control circuit of head massager | |
CN212414832U (en) | Anion electric mouth mask | |
CN219941337U (en) | Control circuit of toothbrush sterilizer | |
CN113873736A (en) | LED sterilization lamp-loading control circuit | |
CN212261927U (en) | Intelligent ultraviolet sterilizer for closestool | |
CN216931537U (en) | Intelligent mosquito killing device |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210202 |