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 that Singlechip clock control flicker frequency is stable to have overcome motorcycle steering lamp control system and the control method thereof that the frequency of resistance-capacitance type circuit in the past floats phenomenon.
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; Described startup module connects described control module, and 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 the double jump switch and be connected an end of double jump switch and connect the control inputs pin of described micro-control unit MCU, 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 anode and is connected with power module with 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 right steering lamp drive circuit with the output pin of micro-control unit MCU and is connected.
Further, described left steering lamp drive circuit also comprises the left steering lamp, described right steering lamp drive circuit also comprises the 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 lamp or bulb.
A kind of control method of motorcycle steering lamp control system comprises the steps:
S1: press bottom left steering indicating light touch-switch, the work of left steering lamp;
S2: press bottom right steering indicating light touch-switch, the work of right steering lamp;
S3: press down and close touch-switch, the touch-switch that resets, the 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 the driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp are worked simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp are worked simultaneously.
Further, in described S4 step, in the process of left steering lamp and right steering lamp flicker, 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 thereof adopt that Singlechip clock control flicker frequency is stable to have overcome in the past that the frequency of resistance-capacitance type circuit floats phenomenon.
The specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1:
As depicted in figs. 1 and 2: a kind of motorcycle steering lamp control system comprises power module 1, starts module 2, control module 3 and driver output module 5; Described startup module 2 connects 3 of described control moulds, 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 the double jump switch and be connected an end of double jump switch and connect the control inputs pin of described micro-control unit MCU, when touch-switch is pressed lower time, 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 micro-control unit MCU is the voltage stabilizing chip power supply by port driver aerotron Q1 when touching double jump switch or normally closed double jump switch connection.
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 anode and is connected with power module with 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 right steering lamp drive circuit and is connected with the output pin of micro-control unit MCU respectively.
Above-mentioned described motorcycle steering lamp control system, described left steering lamp drive circuit 51 also comprises left steering lamp LED1, 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 kind of control method of motorcycle steering lamp control system comprises the steps:
S1: press bottom left steering indicating light touch-switch, the work of left steering lamp;
S2: press bottom right steering indicating light touch-switch, the work of right steering lamp;
S3: press down and close touch-switch, the touch-switch that resets, the 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 the driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp are worked simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp are worked simultaneously.
The control method of above-mentioned a kind of motorcycle steering lamp control system, electric current by diode through the voltage stabilizing chip to micro-control unit MCU power supply at this moment when key is opened, when pressing left steering lamp touch-switch and right steering lamp touch-switch, micro-control unit MCU exports through micro-control unit MCU to output port by left steering lamp touch-switch and right steering lamp touch-switch, then steering indicating light LED1 and right steering lamp LED2 work.
The control method of above-mentioned a kind of motorcycle steering lamp control system in described S4 step, in the process of left steering lamp and the flicker of right steering lamp, 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, left steering lamp touch-switch and right steering lamp touch-switch can be realized urgent double jump function simultaneously.
Embodiment 2:
As shown in figures 1 and 3: a kind of motorcycle steering lamp control system comprises power module 1, starts module 2, control module 3 and driver output module 5; Described startup module 2 connects 3 of described control moulds, 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 the double jump switch and be connected an end of double jump switch and connect the control inputs pin of described micro-control unit MCU, when touch-switch is pressed lower time, 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 micro-control unit MCU is the voltage stabilizing chip power supply by port driver aerotron Q1 when touching double jump switch or normally closed double jump switch connection.
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 anode and is connected with power module with 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 right steering lamp drive circuit and is connected with the output pin of micro-control unit MCU respectively.
Above-mentioned described motorcycle steering lamp control system, described left steering lamp drive circuit 51 also comprises left steering lamp LAMP1, 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 kind of control method of motorcycle steering lamp control system comprises the steps:
S1: press bottom left steering indicating light touch-switch, the work of left steering lamp;
S2: press bottom right steering indicating light touch-switch, the work of right steering lamp;
S3: press down and close touch-switch, the touch-switch that resets, the 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 the driver output module for power supply by port driver aerotron Q1, and left steering lamp and right steering lamp are worked simultaneously;
S5: press bottom left steering indicating light touch-switch and right steering lamp touch-switch, left steering lamp and right steering lamp are worked simultaneously.
The control method of above-mentioned a kind of motorcycle steering lamp control system, electric current by diode through the voltage stabilizing chip to micro-control unit MCU power supply at this moment when key is opened, when pressing left steering lamp touch-switch and right steering lamp touch-switch, micro-control unit MCU exports through micro-control unit MCU to output port by left steering lamp touch-switch and right steering lamp touch-switch, then steering indicating light LAMP1 and right steering lamp LAMP2 work.
The control method of above-mentioned a kind of motorcycle steering lamp control system in described S4 step, in the process of left steering lamp and the flicker of right steering lamp, 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,, left steering lamp touch-switch and right steering lamp touch-switch can be realized urgent double jump function simultaneously.
A kind of motorcycle steering lamp control system of the present invention and control method thereof adopt that Singlechip clock control flicker frequency is stable to have overcome in the past that the frequency of resistance-capacitance type circuit floats phenomenon.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.