CN212623700U - Button control circuit of mopping machine - Google Patents
Button control circuit of mopping machine Download PDFInfo
- Publication number
- CN212623700U CN212623700U CN202021975483.4U CN202021975483U CN212623700U CN 212623700 U CN212623700 U CN 212623700U CN 202021975483 U CN202021975483 U CN 202021975483U CN 212623700 U CN212623700 U CN 212623700U
- Authority
- CN
- China
- Prior art keywords
- diode
- button
- microprocessor
- electricity
- mouth
- 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.)
- Active
Links
Images
Landscapes
- Cleaning Implements For Floors, Carpets, Furniture, Walls, And The Like (AREA)
Abstract
The utility model discloses a button control circuit of floor mopping machine, including microprocessor U1, button S1, S2, button S3, diode D4, diode D5, diode D6 and resistance R2, resistance R2 'S one end is connected with power end VCC electricity, resistance R2' S the other end is connected with microprocessor U1 'S I/O mouth electricity, be connected with microprocessor U1' S I/O mouth electricity behind diode D4 'S the anodal series connection button S1, diode D4' S negative pole and diode D6 'S anodal electricity are connected, diode D6' S negative pole is connected with earthing terminal GND electricity, be connected with microprocessor U1 'S I/O mouth electricity behind diode D5' S the anodal series connection button S2, diode D5 'S negative pole and earthing terminal electricity are connected, button S3' S one end and microprocessor U1 'S I/O mouth electricity are connected, button S3' S the other end and GND electricity are connected; the utility model discloses can avoid the waste of microprocessor IO mouth resource, perhaps can avoid appearing the phenomenon that microprocessor IO mouth is not enough.
Description
Technical Field
The utility model relates to a button control circuit technical field, concretely relates to floor mopping machine's button control circuit.
Background
At present, a button S1 for controlling the start and stop of the floor mopping machine is generally installed on a handle of the floor mopping machine on the market, a button S2 for switching the working mode of the floor mopping machine and a button S3 for controlling a water pump in the floor mopping machine, and the button S1, the button S2 and the button S3 are all required to be electrically connected with a microprocessor in the floor mopping machine, if the button S1, the button S2 and the button S3 are respectively connected with an I/O port of the microprocessor, 3I/O ports of the microprocessor are required to be occupied, so that the waste of the resources of the I/O ports of the microprocessor can be caused, or the phenomenon that the I/O port of the microprocessor is not enough can occur.
SUMMERY OF THE UTILITY MODEL
To prior art not enough, the utility model provides a floor mopping machine's button control circuit, its inside each function button when being connected with microprocessor electricity, only need occupy microprocessor's an IO mouth, so, can avoid the waste of microprocessor IO mouth resource, perhaps can avoid appearing the phenomenon that microprocessor IO mouth is not enough.
The utility model discloses a button control circuit of mopping machine, including microprocessor U1, a button S1 for controlling the start-stop of mopping machine, a button S2 for switching the work mode of mopping machine and a button S3 for controlling the water pump in the mopping machine, the button control circuit of mopping machine still includes diode D4, diode D5, diode D6 and resistance R2, one end of resistance R2 is connected with power end VCC electricity, the other end of resistance R2 is connected with microprocessor U1 'S IO mouth electricity, diode D4' S anodal series connection button S1 back is connected with microprocessor U1 'S IO mouth electricity, diode D4' S negative pole and diode D6 'S anodal electricity is connected, diode D6' S negative pole and ground terminal GND electricity are connected, diode D5 'S anodal series connection button S2 back is connected with microprocessor U1' S IO mouth electricity, diode D5 'S negative pole and ground terminal, one end and microprocessor U1' S IO mouth electricity are connected, the other end of the button S3 is electrically connected to the ground GND.
The utility model discloses inside each function button only needs to occupy microprocessor's an IO mouth when being connected with microprocessor electricity, so, can avoid the waste of microprocessor IO mouth resource, perhaps can avoid appearing the not enough phenomenon of microprocessor IO mouth.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic circuit diagram of the present invention.
Detailed Description
In the following description, numerous implementation details are set forth in order to provide a more thorough understanding of the present invention. It should be understood, however, that these implementation details should not be used to limit the invention. That is, in some embodiments of the invention, details of these implementations are not necessary. In addition, some conventional structures and components are shown in simplified schematic form in the drawings.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for description purposes, not specifically referring to the order or sequence, and are not intended to limit the present invention, but only to distinguish the components or operations described in the same technical terms, and are not to be construed as indicating or implying any relative importance or implicit indication of the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions in the embodiments may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
The utility model discloses a button control circuit of mopping machine, including microprocessor U1, a button S1 for controlling the start-stop of mopping machine, a button S2 for switching the work mode of mopping machine and a button S3 for controlling the water pump in the mopping machine, the button control circuit of mopping machine still includes diode D4, diode D5, diode D6 and resistance R2, one end of resistance R2 is connected with power end VCC electricity, the other end of resistance R2 is connected with microprocessor U1 'S IO mouth electricity, diode D4' S anodal series connection button S1 back is connected with microprocessor U1 'S IO mouth electricity, diode D4' S negative pole and diode D6 'S anodal electricity is connected, diode D6' S negative pole and ground terminal GND electricity are connected, diode D5 'S anodal series connection button S2 back is connected with microprocessor U1' S IO mouth electricity, diode D5 'S negative pole and ground terminal, one end and microprocessor U1' S IO mouth electricity are connected, the other end of the button S3 is electrically connected to the ground GND.
When the utility model is in operation, when the button S1 is pressed, at the time, the voltage at the I/O port of the microprocessor is 1.2V (the voltage drop of a single diode is 0.6V, then the total voltage drop of the diode D4 and the diode D6 is 1.2V), then the microprocessor can judge that the current button S1 is pressed; when the button S2 is pressed, at this time, the voltage at the I/O port of the microprocessor is 0.6V (the voltage drop of the diode D5 is 0.6V), then the microprocessor can judge that the button S2 is pressed currently; when the button S3 is pressed, at this time, the voltage at the I/O port of the microprocessor is 0V, and then the microprocessor can judge that the button S3 is pressed currently; the microprocessor can judge which button is pressed according to different voltage values of the I/O port, so that the microprocessor can control the working state of the mopping machine; in addition, compare in the mode that adopts resistance partial pressure, this application comes the partial pressure through adopting the diode, when a plurality of buttons are pressed simultaneously, because the pressure drop of diode is certain, so, chaotic phenomenon can not appear in the voltage value of microprocessor IO mouth department, also can make microprocessor's judgement more accurate promptly.
The above description is only an embodiment of the present invention, and is not intended to limit the present invention. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (1)
1. A button control circuit of a floor mopping machine comprises a microprocessor U1, a button S1 for controlling the start and stop of the floor mopping machine, a button S2 for switching the working mode of the floor mopping machine and a button S3 for controlling a water pump in the floor mopping machine, and is characterized in that: the button control circuit of the floor mopping machine further comprises a diode D4, a diode D5, a diode D6 and a resistor R2, one end of the resistor R2 is electrically connected with a power supply terminal VCC, the other end of the resistor R2 is electrically connected with an I/O port of a microprocessor U1, an anode series button S1 of the diode D4 is electrically connected with an I/O port of a microprocessor U1, a cathode of the diode D4 is electrically connected with an anode of a diode D6, a cathode of the diode D6 is electrically connected with a ground terminal GND, an anode series button S2 of the diode D5 is electrically connected with an I/O port of a microprocessor U1, a cathode of the diode D5 is electrically connected with the ground terminal GND, one end of the button S3 is electrically connected with the I/O port of the microprocessor U1, and the other end of the button S3 is electrically connected with the ground terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021975483.4U CN212623700U (en) | 2020-09-10 | 2020-09-10 | Button control circuit of mopping machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021975483.4U CN212623700U (en) | 2020-09-10 | 2020-09-10 | Button control circuit of mopping machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212623700U true CN212623700U (en) | 2021-02-26 |
Family
ID=74705223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202021975483.4U Active CN212623700U (en) | 2020-09-10 | 2020-09-10 | Button control circuit of mopping machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212623700U (en) |
-
2020
- 2020-09-10 CN CN202021975483.4U patent/CN212623700U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN214153992U (en) | Control circuit for realizing load switch control and detection protection of single-chip microcomputer IO port | |
CN212623700U (en) | Button control circuit of mopping machine | |
CN112285416A (en) | Electric energy meter detection circuit and smart electric meter | |
CN100527306C (en) | Control circuit of relay | |
CN110932706A (en) | Control circuit for avoiding shutdown leakage current of intelligent hardware | |
CN213991098U (en) | LED drive circuit with protection function | |
CN210572482U (en) | Power supply voltage detection circuit | |
CN211180610U (en) | Fault information latch circuit | |
CN208888619U (en) | The motor control module of shaver control circuit | |
CN206180574U (en) | Electronic equipment's protection circuit and electronic equipment | |
CN217159573U (en) | Barreled water pumping motor control circuit | |
CN204557118U (en) | A kind of air conditioner and Intelligent Power Module power-on protective circuit thereof | |
CN210957766U (en) | Direct-current zero-voltage-drop polarity automatic identification correction and overvoltage protection circuit | |
CN221177300U (en) | Lighting self-locking circuit and battery management system | |
CN218589170U (en) | Energy-saving electric toothbrush capable of completely cutting off power supply | |
CN217545563U (en) | Output voltage-limiting overpower protection circuit of switching power supply | |
CN218243000U (en) | Abnormity protection circuit | |
CN211127542U (en) | Machine room monitoring host | |
CN215733434U (en) | Power on-off control circuit and household appliance | |
CN219086871U (en) | Power supply switching circuit and electric appliance | |
CN217741304U (en) | Undervoltage shutdown circuit | |
CN218772043U (en) | Dual-mode multi-key switching circuit for remote controller | |
CN211656115U (en) | Low standby power consumption circuit and stirrer | |
CN211127571U (en) | Low-level effective inhibiting circuit of DC/DC converter | |
CN220067210U (en) | Power supply control circuit and household appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |