Summary of the invention
For the deficiency that prior art exists, the object of the present invention is to provide and a kind ofly adopt Singlechip clock to control flicker frequency to stablize the frequency drift motorcycle steering lamp control system of phenomenon and control method thereof that overcome resistance-capacitance type circuit in the past.
Technical scheme of the present invention is achieved in that a kind of motorcycle steering lamp control system, comprises power module, starts module, control module and driver output module; Control module described in described startup model calling, described control module connects described driver output module; Described control module comprises micro-control unit MCU, left steering lamp touch-switch, right steering lamp touch-switch, closes touch-switch, touches double jump switch and normally closed double jump switch; Left steering lamp touch-switch, right steering lamp touch-switch, close touch-switch, touch double jump switch is connected described micro-control unit MCU control inputs pin with one end of normally closed double jump switch, other end ground connection.
Further, described motorcycle steering lamp control system also comprises standby power supply module; Described standby power supply module is electrically connected with startup module and control module respectively.
Further, described startup module comprises key, diode D1, diode D2 and aerotron Q1; Described diode D1 is connected with power module with the anode of diode D2, the negative electrode of diode D1 is connected with key, the negative electrode of diode D2 is connected with the emitter of aerotron Q1, and the collecting electrode of aerotron Q1 is connected with key, and the base stage of Q1 is connected with micro-control unit MCU.
Further, described driver output module comprises left steering lamp drive circuit and right steering lamp drive circuit; Described left steering lamp drive circuit is connected with the output pin of micro-control unit MCU respectively with right steering lamp drive circuit.
Further, described left steering lamp drive circuit also comprises left steering lamp, and described right steering lamp drive circuit also comprises right steering lamp; Described left steering lamp and left steering lamp drive circuit are electrically connected, and described right steering lamp and right steering lamp drive circuit are electrically connected.
Further, described left steering lamp and right steering lamp are LED or bulb.
A control method for motorcycle steering lamp control system, comprises the steps:
S1: press bottom left steering indicating light touch-switch, left steering lamp works;
S2: press bottom right steering indicating light touch-switch, right steering lamp works;
S3: press lower closedown touch-switch, reset touch-switch, left steering lamp dodges and right steering lamp automatic distinguishing;
S4: press down and touch double jump switch or normally closed double jump switch, micro-control unit MCU is driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp work simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp work simultaneously.
Further, in described S4 step, in the process that left steering lamp and right steering lamp glimmer, reset and touch double jump switch or normally closed double jump switch, left steering lamp and right steering lamp automatic distinguishing.
A kind of motorcycle steering lamp control system of the present invention and control method employing Singlechip clock thereof control flicker frequency and stablize the frequency drift phenomenon overcoming resistance-capacitance type circuit in the past.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1:
As depicted in figs. 1 and 2: a kind of motorcycle steering lamp control system, comprise power module 1, start module 2, control module 3 and driver output module 5; Described startup module 2 connects described control mould 3 pieces, and described control module 3 connects described driver output module 5; Described control module 3 comprises micro-control unit MCU, left steering lamp touch-switch, right steering lamp touch-switch, closes touch-switch, touches double jump switch and normally closed double jump switch; Left steering lamp touch-switch, right steering lamp touch-switch, close touch-switch, touch double jump switch is connected described micro-control unit MCU control inputs pin with one end of normally closed double jump switch, when under touch-switch is pressed, have electric signal streams and flow into ground terminal through touch-switch, this electric signal is exactly the energizing signal of car light.
Above-mentioned described motorcycle steering lamp control system, described standby power supply module 4 is electrically connected with startup module 2 and control module 3 respectively, and when touching double jump switch or normally closed double jump switch connection, micro-control unit MCU is voltage stabilizing chip power supply by port driver aerotron Q1.
Above-mentioned described motorcycle steering lamp control system, described startup module comprises key, diode D1, diode D2 and aerotron Q1; Described diode D1 is connected with power module with the anode of diode D2, the negative electrode of diode D1 is connected with key, the negative electrode of diode D2 is connected with the emitter of aerotron Q1, and the collecting electrode of aerotron Q1 is connected with key, and the base stage of Q1 is connected with micro-control unit MCU.
Above-mentioned described motorcycle steering lamp control system, described driver output module 5 comprises left steering lamp drive circuit 51 and right steering lamp drive circuit 52; Described left steering lamp drive circuit 51 is connected with the output pin of micro-control unit MCU respectively with right steering lamp drive circuit 52.
Above-mentioned described motorcycle steering lamp control system, described left steering lamp drive circuit 51 also comprises left steering lamp LED1, and described right steering lamp drive circuit 52 also comprises right steering lamp LED2; Described left steering lamp LED1 and left steering lamp drive circuit 51 are electrically connected, and described right steering lamp LED2 and right steering lamp drive circuit 52 are electrically connected.
A control method for motorcycle steering lamp control system, comprises the steps:
S1: press bottom left steering indicating light touch-switch, left steering lamp works;
S2: press bottom right steering indicating light touch-switch, right steering lamp works;
S3: press lower closedown touch-switch, reset touch-switch, left steering lamp dodges and right steering lamp automatic distinguishing;
S4: press down and touch double jump switch or normally closed double jump switch, micro-control unit MCU is driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp work simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp work simultaneously.
The control method of above-mentioned a kind of motorcycle steering lamp control system, when key is opened, electric current is powered now through voltage stabilizing chip to micro-control unit MCU by diode, when pressing left steering lamp touch-switch and right steering lamp touch-switch, micro-control unit MCU is exported through micro-control unit MCU to output port by left steering lamp touch-switch and right steering lamp touch-switch, and then steering indicating light LED1 and right steering lamp LED2 works.
The control method of above-mentioned a kind of motorcycle steering lamp control system, in described S4 step, in the process that left steering lamp and right steering lamp glimmer, resets and touches double jump switch or normally closed double jump switch, left steering lamp and right steering lamp automatic distinguishing; When in case of emergency, can simultaneously left steering lamp touch-switch and right steering lamp touch-switch, urgent double jump function can be realized.
Embodiment 2:
As shown in figures 1 and 3: a kind of motorcycle steering lamp control system, comprise power module 1, start module 2, control module 3 and driver output module 5; Described startup module 2 connects described control mould 3 pieces, and described control module 3 connects described driver output module 5; Described control module 3 comprises micro-control unit MCU, left steering lamp touch-switch, right steering lamp touch-switch, closes touch-switch, touches double jump switch and normally closed double jump switch; Left steering lamp touch-switch, right steering lamp touch-switch, close touch-switch, touch double jump switch is connected described micro-control unit MCU control inputs pin with one end of normally closed double jump switch, when under touch-switch is pressed, have electric signal streams and flow into ground terminal through touch-switch, this electric signal is exactly the energizing signal of car light.
Above-mentioned described motorcycle steering lamp control system, described standby power supply module 4 is electrically connected with startup module 2 and control module 3 respectively, and when touching double jump switch or normally closed double jump switch connection, micro-control unit MCU is voltage stabilizing chip power supply by port driver aerotron Q1.
Above-mentioned described motorcycle steering lamp control system, described startup module comprises key, diode D1, diode D2 and aerotron Q1; Described diode D1 is connected with power module with the anode of diode D2, the negative electrode of diode D1 is connected with key, the negative electrode of diode D2 is connected with the emitter of aerotron Q1, and the collecting electrode of aerotron Q1 is connected with key, and the base stage of Q1 is connected with micro-control unit MCU.
Above-mentioned described motorcycle steering lamp control system, described driver output module 5 comprises left steering lamp drive circuit 51 and right steering lamp drive circuit 52; Described left steering lamp drive circuit 51 is connected with the output pin of micro-control unit MCU respectively with right steering lamp drive circuit 52.
Above-mentioned described motorcycle steering lamp control system, described left steering lamp drive circuit 51 also comprises left steering lamp LAMP1, and described right steering lamp drive circuit 52 also comprises right steering lamp LAMP2; Described left steering lamp LAMP1 and left steering lamp drive circuit 51 are electrically connected, and described right steering lamp LAMP2 and right steering lamp drive circuit 52 are electrically connected.
A control method for motorcycle steering lamp control system, comprises the steps:
S1: press bottom left steering indicating light touch-switch, left steering lamp works;
S2: press bottom right steering indicating light touch-switch, right steering lamp works;
S3: press lower closedown touch-switch, reset touch-switch, left steering lamp dodges and right steering lamp automatic distinguishing;
S4: press down and touch double jump switch or normally closed double jump switch, micro-control unit MCU is driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp work simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp work simultaneously.
The control method of above-mentioned a kind of motorcycle steering lamp control system, when key is opened, electric current is powered now through voltage stabilizing chip to micro-control unit MCU by diode, when pressing left steering lamp touch-switch and right steering lamp touch-switch, micro-control unit MCU is exported through micro-control unit MCU to output port by left steering lamp touch-switch and right steering lamp touch-switch, and then steering indicating light LAMP1 and right steering lamp LAMP2 works.
The control method of above-mentioned a kind of motorcycle steering lamp control system, in described S4 step, in the process that left steering lamp and right steering lamp glimmer, resets and touches double jump switch or normally closed double jump switch, left steering lamp and right steering lamp automatic distinguishing; When in case of emergency, can simultaneously left steering lamp touch-switch and right steering lamp touch-switch, urgent double jump function can be realized.
A kind of motorcycle steering lamp control system of the present invention and control method employing Singlechip clock thereof control flicker frequency and stablize the frequency drift phenomenon overcoming resistance-capacitance type circuit in the past.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.