CN105109592A - Multifunctional bicycle speed meter - Google Patents

Multifunctional bicycle speed meter Download PDF

Info

Publication number
CN105109592A
CN105109592A CN201510613874.9A CN201510613874A CN105109592A CN 105109592 A CN105109592 A CN 105109592A CN 201510613874 A CN201510613874 A CN 201510613874A CN 105109592 A CN105109592 A CN 105109592A
Authority
CN
China
Prior art keywords
module
power supply
negative pole
signal line
key
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
CN201510613874.9A
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.)
Wuhan University of Science and Engineering WUSE
Original Assignee
Wuhan University of Science and Engineering WUSE
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 Wuhan University of Science and Engineering WUSE filed Critical Wuhan University of Science and Engineering WUSE
Priority to CN201510613874.9A priority Critical patent/CN105109592A/en
Publication of CN105109592A publication Critical patent/CN105109592A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The invention discloses a multifunctional bicycle speed meter. A main control single-chip microcomputer module (3) of the speed meter is connected with a GSM short-message alarm module (1), an RFID identity authentication module (2), a speed measurement module (4), a loudspeaker module (7), a button input module (8), an OLED display module (9), a light safety module (16) and an accelerometer module (17) respectively; a power supply module (20) supplies electricity for all the modules. Control software of the multifunctional bicycle speed meter is written in the main control single-chip microcomputer module (3), and comprises a system anti-theft program, a sound-light control program and a system setting program. The multifunctional bicycle speed meter disclosed by the invention has the characteristics of being easy to operate, high in safety and good in theft prevention, and is suitable for various bicycles.

Description

A kind of multifunction bicycle code table
Technical field
The invention belongs to bicycle code table technical field.Particularly relate to a kind of multifunction bicycle code table.
Background technology
Bicycle is a kind of popular motion and the vehicle, and the fan that especially rides can be equipped with various electronic machine on bicycle, as bicycle code table, illuminating lamp and signal lamp, Car Burglar Alarm etc., to improve comfort feature when riding and safety.
Generally, the bicycle price of the fan that rides is higher, and open air time of riding is long, so, on the basis of code table, carry out safety precaution and anti-theft measure is extremely necessary." bicycle code table lamp " (CN201310378899.6) though patented technology code table and signal light control are combined, its signal light control only provides illuminating lamp, cannot provide sound, signal lamp and anti-theft feature." a kind of bicycle code table with audible alert function " (CN201010554682.2) patent provides a kind of bicycle code table with audible alert function, alarm of can sounding, but cannot provide light and anti-theft feature." a kind of intelligent bicycle code table " (CN201420602606.8) patented technology have employed SMS module, can receive calls on code table and note, but SMS module initiatively can not send alarm message.
Summary of the invention
The present invention is intended to overcome prior art defect, and object is to provide a kind of multifunction bicycle code table being easy to operate, safety performance is high and theftproof performance is good.
To achieve these goals, the technical solution used in the present invention is: described multifunction bicycle code table is made up of GSM text message alarm, RFID authentication module, main control singlechip module, speed measurement module, loudspeaker module, keyboard input module, OLED display module, light security module, accelerometer module and power module.
The serial data output signal line TXD of the serial data input signal cable RXD of GSM text message alarm and serial data output signal line TXD and main control singlechip module and serial data input signal cable RXD is corresponding is connected.
Clock input signal line SCK, the input serial data signal line MOSI of RFID authentication module, serial data output signal line MISO, from clock output signal line SCK, serial data output signal line MOSI, the input serial data signal line MISO of equipment chip selection signal line CS and main control singlechip module, to connect from equipment chip selection signal line CS is corresponding.
Speed measurement module is made up of magnet and signal capture module, and magnet is by magnetic field and signal capture model calling; Velocity feedback input signal cable FB_IN, the velocity feedback output signal line FB_OUT of signal capture module are corresponding with velocity feedback output signal line FB_OUT, the velocity feedback input signal cable FB_IN of main control singlechip module to be connected.
Sound driver incoming signal positive pole BEEP+, the sound driver incoming signal negative pole BEEP-of loudspeaker module respectively with the sound driver output signal positive pole BEEP+ of main control singlechip module, sound driver output signal negative pole BEEP-is corresponding connects.
Button data winding displacement interface KEY [0:7] of keyboard input module is connected with button data winding displacement interface KEY [0:7] of main control singlechip module.
The reseting input signal line OLED_RST of OLED display module, control command input signal cable OLED_DC, sheet select reset output signal line OLED_RST, the control command output signal line OLED_DC of enable input signal cable OLED_CS, data 0 input signal cable OLED_D0, data 1 input signal cable OELD_D1 and main control singlechip module, sheet selects enable output signal line OLED_CS, data 0 output signal line OLED_D0, data 1 output signal line OELD_D1 is corresponding connects.
Light security module is made up of stoplight stop lamp, taillight, head lamp, right-hand rotation lamp, left-hand rotation lamp and lighting control module.The stoplight stop lamp power supply output cathode BR+ of lighting control module, the power supply of stoplight stop lamp power supply output negative pole BR-and stoplight stop lamp inputs positive pole BR+, power supply input negative pole BR-correspondence connects, the taillight power supply output cathode BA+ of lighting control module, the power supply of taillight power supply output negative pole BA-and taillight inputs positive pole BA+, power supply input negative pole BA-correspondence connects, the head lamp power supply output cathode FR+ of lighting control module, the power supply of head lamp power supply output negative pole FR-and head lamp inputs positive pole FR+, power supply input negative pole FR-correspondence connects, the right-hand rotation lamp power supply output cathode RI+ of lighting control module, the power supply of right-hand rotation lamp power supply output negative pole RI-and right-hand rotation lamp inputs positive pole RI+, power supply input negative pole RI-correspondence connects, the left-hand rotation lamp power supply output cathode LE+ of lighting control module, the power supply of left-hand rotation lamp power supply output negative pole LE-and left-hand rotation lamp inputs positive pole LE+, power supply input negative pole LE-correspondence connects.
Light controling signal input winding displacement interface LAMP [0:4] of lighting control module exports winding displacement interface LAMP [0:4] with the light controling signal of main control singlechip module and is connected.
The serial data signal line SDA of the serial data signal line SDA of accelerometer module and serial data clock line SCL and main control singlechip module and serial data clock line SCL is corresponding is connected.
Power module is made up of lithium battery module and Voltage stabilizing module; The power supply output cathode VCC_OUT of lithium battery module inputs positive pole VCC_IN with the power supply of Voltage stabilizing module and is connected, and power supply output negative pole GND is connected with the power supply input negative pole GND of Voltage stabilizing module.
The power supply output cathode VCC_OUT of lithium battery module is connected with the power supply input positive pole VCC_IN of GSM text message alarm.Voltage stabilizing module power supply output cathode VCC_OUT inputs positive pole VCC_IN with the power supply of RFID authentication module, the power supply of accelerometer module inputs positive pole VCC_IN, the power supply of lighting control module inputs positive pole VCC_IN, the power supply of main control singlechip module inputs positive pole VCC_IN, the power supply of OLED display module inputs that positive pole VCC_IN is corresponding to be connected; Power supply output negative pole GND and the power supply of GSM text message alarm of lithium battery module input negative pole GND, RFID authentication module power supply inputs negative pole GND, the power supply of main control singlechip module inputs negative pole GND, the power supply of OLED display module inputs negative pole GND, the power supply of lighting control module inputs negative pole GND, the power supply of accelerometer module inputs that negative pole GND is corresponding to be connected.
In the control software design write main control singlechip module of multifunction bicycle code table, the main flow of the control software design of described multifunction bicycle code table is:
S1-1, system initialization.
S1-2, judge system whether first time start.If then perform S1-3; Otherwise perform S1-4.
S1-3, system time, bicycle quick footpath, mileage of riding, taillight automatic opening time, maximum speed limit and security password are set, registered user's rfid card and subscriber phone number.
S1-4, judge whether system is marked as lock-out state.If then perform S1-5; Otherwise perform S1-6.
S1-5, execution " system anti-theft program ".Return S1-4.
S1-6, Negotiation speed measurement module measure bicycle speed, judge whether the speed of a motor vehicle exceedes maximum speed limit.If be then overspeed condition by system marks; Otherwise be non-overspeed condition by system marks.
S1-7, judge whether accelerometer module detects brake.If be then braking state by system marks; Otherwise be non-braking state by system marks.
S1-8, execution " controlled by sound and light program ".
S1-9, show the system time in OLED display module, bicycle speed and mileage of riding.
S1-10, judge that whether OK button is short and press.If then perform S1-11; Otherwise perform S1-12.
S1-11, execution " Operation system setting program ".
S1-12, judge whether OK button is grown and press.If be first then lock-out state by system marks, then return S1-4; Otherwise directly return S1-4.
In this program and subprogram thereof, the described short time by pressing for button was less than for 3 seconds, and described length was more than or equal to for 3 seconds by the time of pressing for button.
System described in this program and subprogram thereof refers to the set of the control software design of multifunction bicycle code table in all modules and write main control singlechip module (3) in the present invention.
Described system time described in this program and subprogram thereof refers to that user arranges according to local standard time the current time that rear system calculated by self clocking capability.
Described subprogram is the arbitrary program in system anti-theft program, controlled by sound and light program and Operation system setting program.
Described keyboard input module is provided with OK button, cancel key, adds key, subtracts key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key and horn switch key, OK button, cancel key, add key, subtract key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key, horn switch key are corresponding with button data winding displacement interface KEY [0:7] connects.
The main flow of described system anti-theft program is:
S2-1, closedown OLED display module and light security module.
S2-2, judge whether RFID authentication module detects that user card punching unlocks.If be first then released state by system marks, start OLED display module and light security module, then termination routine, otherwise perform S2-3.
S2-3, judge whether GSM text message alarm receives user and change password short message.If then reset security password by short message content, otherwise perform S2-4.
S2-4, judge whether accelerometer module detects continuous vibration signal.If then perform S2-5, otherwise return S2-2.
S2-5, judge in 10 seconds, whether RFID authentication module detects that user card punching unlocks.If be first then released state by system marks, start OLED display module and light security module, then termination routine; Otherwise perform S2-6.
S2-6, loudspeaker module send chimes of doom, and start OLED display module display alarm information, GSM text message alarm sends alarming short message to user.
S2-7, judge whether RFID authentication module detects that user card punching unlocks or whether GSM text message alarm receives user and unlock note.If then first close alarm, be released state by system marks, start OLED display module and light security module, then termination routine; Otherwise perform S2-7.
The main flow of described controlled by sound and light program is:
S3-1, judge that whether right-hand rotation light switch key is short and press.If then right-hand rotation lamp is opened 20 seconds, OLED display module display right-hand rotation beacon light will 20 seconds; Otherwise perform S3-2.
S3-2, judge that whether left-hand rotation light switch key is short and press.If then left-hand rotation lamp is opened 20 seconds, OLED display module display left-hand rotation beacon light will 20 seconds; Otherwise perform S3-3.
S3-3, judge that whether head lamp switch key is short and press.If then basis: the state of the sequential loop conversion head lamp of the high light → low light level → flicker → closedown, when head lamp is high light, the low light level or blink states, OLED display module display head lamp mark, when head lamp is closed condition, OLED display module eliminates head lamp mark; Otherwise perform S3-4.
S3-4, judge whether head lamp switch key grows the taillight automatic opening time pressing or whether arrive default.If then open taillight, OLED display module display taillight mark; Otherwise perform S3-5.
S3-5, judge whether system is marked as braking state.If then first stoplight stop lamp is opened 10 seconds, OLED display module display stoplight stop lamp mark 10 second, then be non-braking state by system marks; Otherwise perform S3-6.
S3-6, judge whether system is marked as overspeed condition.If then make loudspeaker module send hypervelocity alarm song, OLED display module display hypervelocity warning sign; Otherwise mute speaker module, OLED display module eliminates hypervelocity warning sign.
S3-7, judge that whether horn switch key is short and press.If then make loudspeaker module send sound of horn; Otherwise mute speaker module.
The main flow of described Operation system setting program is:
S4-1, enter and arrange menu, short pressing adds key or short pressing subtracts key and select the parameter that needs arrange.Judge cancel key whether short by or whether in one minute without button operation, if then termination routine; Otherwise perform S4-2.
S4-2, short enter selected parameter by OK button interface is set, judge the type of selected parameter.If selected parameter is system time, bicycle quick footpath, mileage of riding, taillight automatic opening time or maximum speed limit, then perform S4-5; If selected parameter is user's rfid card, subscriber phone number or security password, then perform S4-3.
S4-3, wait user input security password, judge that whether security password is correct.If then perform S4-5; Otherwise perform S4-4.
S4-4, judge whether input error reaches 3 times to security password.If then perform S4-6; Otherwise return S4-3.
S4-5, short press add key or short press subtract key change settings, short by OK button complete arrange or short by cancel key cancel arrange, wait for user complete arrange or cancel arrange.Judge whether setting, if complete setting, first preserved current setpoint value, then return S4-1; Arrange if cancel, directly return S4-1.
S4-6, GSM text message alarm send alarming short message to user.Be lock-out state by system marks.
Described system refers to the set of the control software design of all modules and the middle multifunction bicycle code table of write main control singlechip module (3) in Fig. 1.
Described system time refers to that user arranges according to local standard time the current time that rear system calculated by self clocking capability.
Owing to adopting technique scheme, the present invention has following good effect:
Present invention uses the self luminous OLED display module of pixel, do not need when night to use backlight, convenient.
Present invention uses accelerometer module and detect brake and abnormal vibrations, sensitivity is higher.
Code table and anti-theft feature combine by the present invention, RFID technique safe to use as authentication means, the risk that the system of reducing is cracked; During system exception, while local audible alarm, send alarming short message to user, make user understand abnormal condition in time, improve the theftproof performance of bicycle.
The present invention has the automatic open function of taillight, eliminates the potential safety hazard forgotten when riding night and open taillight and cause.
The present invention is by the control integration of code table, controlled by sound and light and anti-theft feature in a circuit, and structure is simple and easy to operate.
Therefore, the present invention has the advantages that to be easy to operate, safety performance is high and theftproof performance is good, is applicable to various bicycle.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of the present invention;
Fig. 2 is the main flow block diagram of control software design of the present invention;
Fig. 3 is the main flow block diagram of the system anti-theft program in Fig. 2;
Fig. 4 is the main flow block diagram of the controlled by sound and light program in Fig. 2;
Fig. 5 is the main flow block diagram of the Operation system setting program in Fig. 2.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described, the restriction not to its protection domain:
Embodiment 1
A kind of multifunction bicycle code table.As shown in Figure 1, described multifunction bicycle code table is made up of GSM text message alarm 1, RFID authentication module 2, main control singlechip module 3, speed measurement module 4, loudspeaker module 7, keyboard input module 8, OLED display module 9, light security module 16, accelerometer module 17 and power module 20.
As shown in Figure 1, serial data input signal cable RXD and the serial data output signal line TXD of GSM text message alarm 1 and the serial data output signal line TXD of main control singlechip module 3 and serial data input signal cable RXD is corresponding is connected.
As shown in Figure 1, clock input signal line SCK, the input serial data signal line MOSI of RFID authentication module 2, serial data output signal line MISO, from clock output signal line SCK, serial data output signal line MOSI, the input serial data signal line MISO of equipment chip selection signal line CS and main control singlechip module 3, connect from equipment chip selection signal line CS is corresponding.
As shown in Figure 1, speed measurement module 4 is made up of magnet 5 and signal capture module 6, and magnet 5 is connected with signal capture module 6 by magnetic field; Velocity feedback input signal cable FB_IN, the velocity feedback output signal line FB_OUT of signal capture module 6 are corresponding with velocity feedback output signal line FB_OUT, the velocity feedback input signal cable FB_IN of main control singlechip module 3 to be connected.
As shown in Figure 1, sound driver incoming signal positive pole BEEP+, the sound driver incoming signal negative pole BEEP-of loudspeaker module 7 respectively with the sound driver output signal positive pole BEEP+ of main control singlechip module 3, sound driver output signal negative pole BEEP-is corresponding connects.
As shown in Figure 1, button data winding displacement interface KEY [0:7] of keyboard input module 8 is connected with button data winding displacement interface KEY [0:7] of main control singlechip module 3.
As shown in Figure 1, reseting input signal line OLED_RST, the control command input signal cable OLED_DC of OLED display module 9, sheet select reset output signal line OLED_RST, the control command output signal line OLED_DC of enable input signal cable OLED_CS, data 0 input signal cable OLED_D0, data 1 input signal cable OELD_D1 and main control singlechip module 3, sheet selects enable output signal line OLED_CS, data 0 output signal line OLED_D0, data 1 output signal line OELD_D1 is corresponding connects.
As shown in Figure 1, light security module 16 is made up of stoplight stop lamp 10, taillight 11, head lamp 12, right-hand rotation lamp 13, left-hand rotation lamp 14 and lighting control module 15.The stoplight stop lamp power supply output cathode BR+ of lighting control module 15, the power supply of stoplight stop lamp power supply output negative pole BR-and stoplight stop lamp 10 inputs positive pole BR+, power supply input negative pole BR-correspondence connects, the taillight power supply output cathode BA+ of lighting control module 15, the power supply of taillight power supply output negative pole BA-and taillight 11 inputs positive pole BA+, power supply input negative pole BA-correspondence connects, the head lamp power supply output cathode FR+ of lighting control module 15, the power supply of head lamp power supply output negative pole FR-and head lamp 12 inputs positive pole FR+, power supply input negative pole FR-correspondence connects, the right-hand rotation lamp power supply output cathode RI+ of lighting control module 15, the power supply of right-hand rotation lamp power supply output negative pole RI-and right-hand rotation lamp 13 inputs positive pole RI+, power supply input negative pole RI-correspondence connects, the left-hand rotation lamp power supply output cathode LE+ of lighting control module 15, the power supply of left-hand rotation lamp power supply output negative pole LE-and left-hand rotation lamp 14 inputs positive pole LE+, power supply input negative pole LE-correspondence connects.
As shown in Figure 1, light controling signal input winding displacement interface LAMP [0:4] of lighting control module 15 exports winding displacement interface LAMP [0:4] with the light controling signal of main control singlechip module 3 and is connected.
As shown in Figure 1, serial data signal line SDA and the serial data clock line SCL of accelerometer module 17 and the serial data signal line SDA of main control singlechip module 3 and serial data clock line SCL is corresponding is connected.
As shown in Figure 1, power module 20 is made up of lithium battery module 19 and Voltage stabilizing module 18; The power supply output cathode VCC_OUT of lithium battery module 19 inputs positive pole VCC_IN with the power supply of Voltage stabilizing module 18 and is connected, and power supply output negative pole GND is connected with the power supply input negative pole GND of Voltage stabilizing module 18.
As shown in Figure 1, the power supply output cathode VCC_OUT of lithium battery module 19 is connected with the power supply input positive pole VCC_IN of GSM text message alarm 1.Voltage stabilizing module 18 power supply output cathode VCC_OUT inputs positive pole VCC_IN with the power supply of RFID authentication module 2, the power supply of accelerometer module 17 inputs positive pole VCC_IN, the power supply of lighting control module 15 inputs positive pole VCC_IN, the power supply of main control singlechip module 3 inputs positive pole VCC_IN, the power supply of OLED display module 9 inputs that positive pole VCC_IN is corresponding to be connected; Power supply output negative pole GND and the power supply of GSM text message alarm 1 of lithium battery module 19 input negative pole GND, RFID authentication module 2 power supply inputs negative pole GND, the power supply of main control singlechip module 3 inputs negative pole GND, the power supply of OLED display module 9 inputs negative pole GND, the power supply of lighting control module 15 inputs negative pole GND, the power supply of accelerometer module 17 inputs that negative pole GND is corresponding to be connected.
In the control software design write main control singlechip module 3 of multifunction bicycle code table, the main flow of the control software design of described multifunction bicycle code table as shown in Figure 2:
S1-1, system initialization.
S1-2, judge system whether first time start.If then perform S1-3; Otherwise perform S1-4.
S1-3, system time, bicycle quick footpath, mileage of riding, taillight automatic opening time, maximum speed limit and security password are set, registered user's rfid card and subscriber phone number.
S1-4, judge whether system is marked as lock-out state.If then perform S1-5; Otherwise perform S1-6.
S1-5, execution " system anti-theft program ".Return S1-4.
S1-6, Negotiation speed measurement module 4 measure bicycle speed, judge whether the speed of a motor vehicle exceedes maximum speed limit.If be then overspeed condition by system marks; Otherwise be non-overspeed condition by system marks.
S1-7, judge whether accelerometer module 17 detects brake.If be then braking state by system marks; Otherwise be non-braking state by system marks.
S1-8, execution " controlled by sound and light program ".
S1-9, show the system time in OLED display module 9, bicycle speed and mileage of riding.
S1-10, judge that whether OK button is short and press.If then perform S1-11; Otherwise perform S1-12.
S1-11, execution " Operation system setting program ".
S1-12, judge whether OK button is grown and press.If be first then lock-out state by system marks, then return S1-4; Otherwise directly return S1-4.
In this program and subprogram thereof, the described short time by pressing for button was less than for 3 seconds, and described length was more than or equal to for 3 seconds by the time of pressing for button.
Described system refers to the set of the control software design of all modules and the middle multifunction bicycle code table of write main control singlechip module (3) in Fig. 1.
Described system time refers to that user arranges according to local standard time the current time that rear system calculated by self clocking capability.
Subprogram is the arbitrary program in system anti-theft program, controlled by sound and light program and Operation system setting program.
Described keyboard input module 8 is provided with OK button, cancel key, adds key, subtracts key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key and horn switch key, OK button, cancel key, add key, subtract key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key, horn switch key are corresponding with button data winding displacement interface KEY [0:7] connects.
The main flow of described system anti-theft program is as shown in Figure 3:
S2-1, closedown OLED display module 9 and light security module 16.
S2-2, judge whether RFID authentication module 2 detects that user card punching unlocks.If be first then released state by system marks, start OLED display module 9 and light security module 16, then termination routine, otherwise perform S2-3.
S2-3, judge whether GSM text message alarm 1 receives user and change password short message.If then reset security password by short message content, otherwise perform S2-4.
S2-4, judge whether accelerometer module 17 detects continuous vibration signal.If then perform S2-5, otherwise return S2-2.
S2-5, judge in 10 seconds, whether RFID authentication module 2 detects that user card punching unlocks.If be first then released state by system marks, start OLED display module 9 and light security module 16, then termination routine; Otherwise perform S2-6.
S2-6, loudspeaker module 7 send chimes of doom, and start OLED display module 9 display alarm information, GSM text message alarm 1 sends alarming short message to user.
S2-7, judge whether RFID authentication module 2 detects that user card punching unlocks or whether GSM text message alarm 1 receives user and unlock note.If then first close alarm, be released state by system marks, start OLED display module 9 and light security module 16, then termination routine; Otherwise perform S2-7.
The main flow of described controlled by sound and light program is as shown in Figure 4:
S3-1, judge that whether right-hand rotation light switch key is short and press.If then right-hand rotation lamp 13 is opened 20 seconds, OLED display module 9 shows right-hand rotation beacon light will 20 seconds; Otherwise perform S3-2.
S3-2, judge that whether left-hand rotation light switch key is short and press.If then left-hand rotation lamp 14 is opened 20 seconds, OLED display module 9 shows left-hand rotation beacon light will 20 seconds; Otherwise perform S3-3.
S3-3, judge that whether head lamp switch key is short and press.If then basis: the state of the sequential loop conversion head lamp 12 of the high light → low light level → flicker → closedown, when head lamp 12 is high light, the low light level or blink states, OLED display module 9 shows head lamp mark, and when head lamp 12 is closed condition, OLED display module 9 eliminates head lamp mark; Otherwise perform S3-4.
S3-4, judge whether head lamp switch key grows the taillight automatic opening time pressing or whether arrive default.If then open taillight 11, OLED display module 9 shows taillight mark; Otherwise perform S3-5.
S3-5, judge whether system is marked as braking state.If then first stoplight stop lamp 10 is opened 10 seconds, OLED display module 9 shows stoplight stop lamp mark 10 second, then is non-braking state by system marks; Otherwise perform S3-6.
S3-6, judge whether system is marked as overspeed condition.If then make loudspeaker module 7 send hypervelocity alarm song, OLED display module 9 shows hypervelocity warning sign; Otherwise mute speaker module 7, OLED display module 9 eliminates hypervelocity warning sign.
S3-7, judge that whether horn switch key is short and press.If then make loudspeaker module 7 send sound of horn; Otherwise mute speaker module 7.
The main flow of described Operation system setting program is as shown in Figure 5:
S4-1, enter and arrange menu, short pressing adds key or short pressing subtracts key and select the parameter that needs arrange.Judge cancel key whether short by or whether in one minute without button operation, if then termination routine; Otherwise perform S4-2.
S4-2, short enter selected parameter by OK button interface is set, judge the type of selected parameter.If selected parameter is system time, bicycle quick footpath, mileage of riding, taillight automatic opening time or maximum speed limit, then perform S4-5; If selected parameter is user's rfid card, subscriber phone number or security password, then perform S4-3.
S4-3, wait user input security password, judge that whether security password is correct.If then perform S4-5; Otherwise perform S4-4.
S4-4, judge whether input error reaches 3 times to security password.If then perform S4-6; Otherwise return S4-3.
S4-5, short press add key or short press subtract key change settings, short by OK button complete arrange or short by cancel key cancel arrange, wait for user complete arrange or cancel arrange.Judge whether setting, if complete setting, first preserved current setpoint value, then return S4-1; Arrange if cancel, directly return S4-1.
S4-6, GSM text message alarm 1 send alarming short message to user.Be lock-out state by system marks.
This detailed description of the invention compared with prior art, has following good effect:
This detailed description of the invention employs the self luminous OLED display module 9 of pixel, does not need to use backlight when night, convenient.
This detailed description of the invention employs accelerometer module 17 and detects brake and abnormal vibrations, and sensitivity is higher.
Code table and anti-theft feature combine by this detailed description of the invention, RFID technique safe to use as authentication means, the risk that the system of reducing is cracked; During system exception, while local audible alarm, send alarming short message to user, make user understand abnormal condition in time, improve the theftproof performance of bicycle.
This detailed description of the invention has the automatic open function of taillight, eliminates the potential safety hazard forgotten when riding night and open taillight and cause.
This detailed description of the invention is by the control integration of code table, controlled by sound and light and anti-theft feature in a circuit, and structure is simple and easy to operate.
Therefore, this detailed description of the invention has the advantages that to be easy to operate, safety performance is high and theftproof performance is good, is applicable to various bicycle.

Claims (5)

1. a multifunction bicycle code table, is characterized in that described multifunction bicycle code table is made up of GSM text message alarm (1), RFID authentication module (2), main control singlechip module (3), speed measurement module (4), loudspeaker module (7), keyboard input module (8), OLED display module (9), light security module (16), accelerometer module (17) and power module (20);
The serial data output signal line TXD of the serial data input signal cable RXD of GSM text message alarm (1) and serial data output signal line TXD and main control singlechip module (3) and serial data input signal cable RXD is corresponding is connected;
Clock input signal line SCK, the input serial data signal line MOSI of RFID authentication module (2), serial data output signal line MISO, from clock output signal line SCK, serial data output signal line MOSI, the input serial data signal line MISO of equipment chip selection signal line CS and main control singlechip module (3), to connect from equipment chip selection signal line CS is corresponding;
Speed measurement module (4) is made up of magnet (5) and signal capture module (6), and magnet (5) is connected with signal capture module (6) by magnetic field; Velocity feedback input signal cable FB_IN, the velocity feedback output signal line FB_OUT of signal capture module (6) are corresponding with velocity feedback output signal line FB_OUT, the velocity feedback input signal cable FB_IN of main control singlechip module (3) to be connected;
Sound driver incoming signal positive pole BEEP+, the sound driver incoming signal negative pole BEEP-of loudspeaker module (7) respectively with the sound driver output signal positive pole BEEP+ of main control singlechip module (3), sound driver output signal negative pole BEEP-is corresponding connects;
Button data winding displacement interface KEY [0:7] of keyboard input module (8) is connected with button data winding displacement interface KEY [0:7] of main control singlechip module (3);
The reseting input signal line OLED_RST of OLED display module (9), control command input signal cable OLED_DC, sheet selects enable input signal cable OLED_CS, data 0 input signal cable OLED_D0, the reset output signal line OLED_RST of data 1 input signal cable OELD_D1 and main control singlechip module (3), control command output signal line OLED_DC, sheet selects enable output signal line OLED_CS, data 0 output signal line OLED_D0, data 1 output signal line OELD_D1 correspondence connects,
Light security module (16) is made up of stoplight stop lamp (10), taillight (11), head lamp (12), right-hand rotation lamp (13), left-hand rotation lamp (14) and lighting control module (15), the stoplight stop lamp power supply output cathode BR+ of lighting control module (15), the power supply of stoplight stop lamp power supply output negative pole BR-and stoplight stop lamp (10) inputs positive pole BR+, power supply input negative pole BR-correspondence connects, the taillight power supply output cathode BA+ of lighting control module (15), the power supply of taillight power supply output negative pole BA-and taillight (11) inputs positive pole BA+, power supply input negative pole BA-correspondence connects, the head lamp power supply output cathode FR+ of lighting control module (15), the power supply of head lamp power supply output negative pole FR-and head lamp (12) inputs positive pole FR+, power supply input negative pole FR-correspondence connects, the right-hand rotation lamp power supply output cathode RI+ of lighting control module (15), the power supply of right-hand rotation lamp power supply output negative pole RI-and right-hand rotation lamp (13) inputs positive pole RI+, power supply input negative pole RI-correspondence connects, the left-hand rotation lamp power supply output cathode LE+ of lighting control module (15), the power supply of left-hand rotation lamp power supply output negative pole LE-and left-hand rotation lamp (14) inputs positive pole LE+, power supply input negative pole LE-correspondence connects,
Light controling signal input winding displacement interface LAMP [0:4] of lighting control module (15) exports winding displacement interface LAMP [0:4] with the light controling signal of main control singlechip module (3) and is connected;
The serial data signal line SDA of the serial data signal line SDA of accelerometer module (17) and serial data clock line SCL and main control singlechip module (3) and serial data clock line SCL is corresponding is connected;
Power module (20) is made up of lithium battery module (19) and Voltage stabilizing module (18); The power supply output cathode VCC_OUT of lithium battery module (19) inputs positive pole VCC_IN with the power supply of Voltage stabilizing module (18) and is connected, and power supply output negative pole GND is connected with the power supply input negative pole GND of Voltage stabilizing module (18);
The power supply output cathode VCC_OUT of lithium battery module (19) is connected with the power supply input positive pole VCC_IN of GSM text message alarm (1); Power supply output cathode VCC_OUT and the power supply of RFID authentication module (2) of Voltage stabilizing module (18) input positive pole VCC_IN, the power supply of accelerometer module (17) inputs positive pole VCC_IN, the power supply of lighting control module (15) inputs positive pole VCC_IN, the power supply of main control singlechip module (3) inputs positive pole VCC_IN, the power supply of OLED display module (9) inputs that positive pole VCC_IN is corresponding to be connected; Power supply output negative pole GND and the power supply of GSM text message alarm (1) of lithium battery module (19) input negative pole GND, RFID authentication module (2) power supply inputs negative pole GND, the power supply of main control singlechip module (3) inputs negative pole GND, the power supply of OLED display module (9) inputs negative pole GND, the power supply of lighting control module (15) inputs negative pole GND, the power supply of accelerometer module (17) inputs that negative pole GND is corresponding to be connected;
In control software design write main control singlechip module (3) of multifunction bicycle code table, the main flow of the control software design of described multifunction bicycle code table is:
S1-1, system initialization;
S1-2, judge system whether first time start; If then perform S1-3, otherwise perform S1-4;
S1-3, system time, bicycle quick footpath, mileage of riding, taillight automatic opening time, maximum speed limit and security password are set, registered user's rfid card and subscriber phone number;
S1-4, judge whether system is marked as lock-out state; If then perform S1-5, otherwise perform S1-6;
S1-5, execution " system anti-theft program "; Return S1-4;
S1-6, Negotiation speed measurement module (4) measure bicycle speed, judge whether the speed of a motor vehicle exceedes maximum speed limit; If be then overspeed condition by system marks, otherwise be non-overspeed condition by system marks;
S1-7, judge whether accelerometer module (17) detects brake; If be then braking state by system marks, otherwise be non-braking state by system marks;
S1-8, execution " controlled by sound and light program ";
S1-9, show the system time in OLED display module (9), bicycle speed and mileage of riding;
S1-10, judge that whether OK button is short and press; If then perform S1-11, otherwise perform S1-12;
S1-11, execution " Operation system setting program ";
S1-12, judge whether OK button is grown and press; If be first then lock-out state by system marks, then return S1-4, otherwise directly return S1-4;
In this program and subprogram thereof, the described short time by pressing for button was less than for 3 seconds, and described length was more than or equal to for 3 seconds by the time of pressing for button; Subprogram is the arbitrary program in system anti-theft program, controlled by sound and light program and Operation system setting program.
2. multifunction bicycle code table according to claim 1, it is characterized in that described keyboard input module (8) is provided with OK button, cancel key, adds key, subtracts key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key and horn switch key, OK button, cancel key, add key, subtract key, head lamp switch key, left-hand rotation light switch key, right-hand rotation light switch key, horn switch key are corresponding with button data winding displacement interface KEY [0:7] connects.
3. multifunction bicycle code table according to claim 1, is characterized in that the main flow of described system anti-theft program is:
S2-1, closedown OLED display module (9) and light security module (16);
S2-2, judge whether RFID authentication module (2) detects that user card punching unlocks; If be first then released state by system marks, start OLED display module (9) and light security module (16), then termination routine, otherwise execution S2-3;
S2-3, judge whether GSM text message alarm (1) receives user and change password short message; If then reset security password by short message content, otherwise perform S2-4;
S2-4, judge whether accelerometer module (17) detects continuous vibration signal; If then perform S2-5, otherwise return S2-2;
S2-5, judge in 10 seconds, whether RFID authentication module (2) detects that user card punching unlocks; If be first then released state by system marks, start OLED display module (9) and light security module (16), then termination routine, otherwise execution S2-6;
S2-6, loudspeaker module (7) send chimes of doom, and start OLED display module (9) display alarm information, GSM text message alarm (1) sends alarming short message to user;
S2-7, judge whether RFID authentication module (2) detects that user card punching unlocks or whether GSM text message alarm (1) receives user and unlock note; If then first close alarm, be released state by system marks, start OLED display module (9) and light security module (16), then termination routine, otherwise perform S2-7.
4. multifunction bicycle code table according to claim 1, is characterized in that the main flow of described controlled by sound and light program is:
S3-1, judge that whether right-hand rotation light switch key is short and press; If then right-hand rotation lamp (13) is opened 20 seconds, OLED display module (9) display right-hand rotation beacon light will 20 seconds, otherwise perform S3-2;
S3-2, judge that whether left-hand rotation light switch key is short and press; If then left-hand rotation lamp (14) is opened 20 seconds, OLED display module (9) display left-hand rotation beacon light will 20 seconds, otherwise perform S3-3;
S3-3, judge that whether head lamp switch key is short and press; If then basis: the state of sequential loop conversion head lamp (12) of the high light → low light level → flicker → closedown, head lamp (12) is high light, the low light level or blink states time, OLED display module (9) display head lamp mark, when head lamp (12) is for closed condition, OLED display module (9) eliminates head lamp mark, otherwise performs S3-4;
S3-4, judge whether head lamp switch key grows the taillight automatic opening time pressing or whether arrive default; If then open taillight (11), OLED display module (9) display taillight mark, otherwise perform S3-5;
S3-5, judge whether system is marked as braking state; If then first stoplight stop lamp (10) is opened 10 seconds, OLED display module (9) display stoplight stop lamp mark 10 second, then be non-braking state by system marks, otherwise perform S3-6;
S3-6, judge whether system is marked as overspeed condition; If then make loudspeaker module (7) send hypervelocity alarm song, OLED display module (9) display hypervelocity warning sign, otherwise mute speaker module (7), OLED display module (9) eliminates hypervelocity warning sign;
S3-7, judge that whether horn switch key is short and press; If then make loudspeaker module (7) send sound of horn, otherwise mute speaker module (7).
5. multifunction bicycle code table according to claim 1, is characterized in that the main flow of described Operation system setting program is:
S4-1, enter and arrange menu, short pressing adds key or short pressing subtracts key and select the parameter that needs arrange; Judge cancel key whether short by or whether in one minute without button operation, if then termination routine, otherwise execution S4-2;
S4-2, short enter selected parameter by OK button interface is set, judge the type of selected parameter; If selected parameter is system time, bicycle quick footpath, mileage of riding, taillight automatic opening time or maximum speed limit, then perform S4-5, if selected parameter is user's rfid card, subscriber phone number or security password, then perform S4-3;
S4-3, wait user input security password, judge that whether security password is correct; If then perform S4-5, otherwise perform S4-4;
S4-4, judge whether input error reaches 3 times to security password; If then perform S4-6, otherwise return S4-3;
S4-5, short press add key or short press subtract key change settings, short by OK button complete arrange or short by cancel key cancel arrange, wait for user complete arrange or cancel arrange; Judge whether setting, if complete setting, first preserved current setpoint value, then return S4-1, arranged if cancel, directly return S4-1;
S4-6, GSM text message alarm (1) send alarming short message to user; Be lock-out state by system marks.
CN201510613874.9A 2015-09-23 2015-09-23 Multifunctional bicycle speed meter Pending CN105109592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510613874.9A CN105109592A (en) 2015-09-23 2015-09-23 Multifunctional bicycle speed meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510613874.9A CN105109592A (en) 2015-09-23 2015-09-23 Multifunctional bicycle speed meter

Publications (1)

Publication Number Publication Date
CN105109592A true CN105109592A (en) 2015-12-02

Family

ID=54657788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510613874.9A Pending CN105109592A (en) 2015-09-23 2015-09-23 Multifunctional bicycle speed meter

Country Status (1)

Country Link
CN (1) CN105109592A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2839074Y (en) * 2005-05-25 2006-11-22 李榕炘 Motorcycle antitheft system
EP2186714A1 (en) * 2008-11-14 2010-05-19 Tracetel Device and system for locking self-service bicycles
CN202728408U (en) * 2012-04-12 2013-02-13 深圳市协创实业有限公司 Intelligent bicycle
CN204161526U (en) * 2014-11-04 2015-02-18 安徽晟麦德机电设备有限公司 A kind of electric vehicle anti-theft alarm integral system
CN204202621U (en) * 2014-10-31 2015-03-11 西安科技大学 A kind of bicycle code table with sunshade-rain umbrella control circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2839074Y (en) * 2005-05-25 2006-11-22 李榕炘 Motorcycle antitheft system
EP2186714A1 (en) * 2008-11-14 2010-05-19 Tracetel Device and system for locking self-service bicycles
CN202728408U (en) * 2012-04-12 2013-02-13 深圳市协创实业有限公司 Intelligent bicycle
CN204202621U (en) * 2014-10-31 2015-03-11 西安科技大学 A kind of bicycle code table with sunshade-rain umbrella control circuit
CN204161526U (en) * 2014-11-04 2015-02-18 安徽晟麦德机电设备有限公司 A kind of electric vehicle anti-theft alarm integral system

Similar Documents

Publication Publication Date Title
CN203905638U (en) Automobile key and automobile
CN105365925A (en) Internet-based bicycle-mounted system with self-electricity-generating and self-locking functions
CN204323639U (en) Controller and battery-driven car before battery-driven car
CN110171520A (en) Two-wheeled control system of balance car and two-wheeled balance car
CN205220606U (en) Take camera electric motor car alarm, reflector, instrument, controller and electric motor car
CN209225055U (en) Pure electric automobile and plug-in hybrid-power automobile run at a low speed prompt mixer
CN202358039U (en) Electronic control system of electric motor car
CN108944663A (en) Pure electric automobile and plug-in hybrid-power automobile run at a low speed prompt mixer
CN105109592A (en) Multifunctional bicycle speed meter
CN208715083U (en) A kind of automobile flameout system for prompting
CN207955544U (en) Vehicle condition system for prompting
CN204161308U (en) A kind of intelligent vehicle-carrying navigation theft-proof terminal
CN201999114U (en) Multifunctional card-swiping type instrument of electric vehicle
CN105923076A (en) Electric bicycle and intelligent control method and system for electric bicycle lamps
CN208896966U (en) High definition two-screen Interactive headrest display apparatus and automobile audio
CN203005245U (en) School bus safety system
CN203473073U (en) Electric unicycle with function of overload warning
CN202827868U (en) Electric vehicle speed limiting warning recorder
CN205202953U (en) Intelligent anti -theft system and use its motorcycle or electric motor car
CN206049602U (en) The anti-theft device of vehicle and the vehicle with which
CN205440273U (en) Vehicle safety monitoring device
CN203305965U (en) No-key starting and remote alarm GPS anti-theft positioner
CN204137284U (en) Battery-driven car one key starts and warning circuit
CN203713810U (en) One-way automobile remote control with automobile locking and memory functions
CN209224943U (en) Motorcycle instrument with face identification functions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20151202