CN105069879A - Garage door control system based on visible light and wireless communication and control method thereof - Google Patents

Garage door control system based on visible light and wireless communication and control method thereof Download PDF

Info

Publication number
CN105069879A
CN105069879A CN201510478830.XA CN201510478830A CN105069879A CN 105069879 A CN105069879 A CN 105069879A CN 201510478830 A CN201510478830 A CN 201510478830A CN 105069879 A CN105069879 A CN 105069879A
Authority
CN
China
Prior art keywords
circuit
garage door
control
chip microcomputer
visible ray
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
CN201510478830.XA
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201510478830.XA priority Critical patent/CN105069879A/en
Publication of CN105069879A publication Critical patent/CN105069879A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a garage door control system based on visible light and wireless communication and a control method thereof. A vehicle terminal control circuit comprises: a first single chip microcomputer, a wireless receiving circuit and a light drive circuit. A garage door terminal control circuit comprises: a visible light receiving circuit, an amplifying circuit, a wireless transmission circuit and a motor drive circuit. The output of the amplifying circuit is connected with to the AD port of a second single chip microcomputer, the output of the visible light receiving circuit is connected to the input of the amplifying circuit, and the second single chip microcomputer is connected to the motor drive circuit through the I/O port. The first single chip microcomputer employs a PWM (pulse width modulation) way to control the light drive circuit and realizes control of the light brightness. The first single chip microcomputer adopts a decimal coding mode during data transmission. The control method includes: control of the vehicle terminal control circuit and control of the garage door terminal control circuit. By means of the automobile lights and the wireless module, the system and the method realize control to a garage door, and are simple, convenient and quick.

Description

Based on garage door control system and the control method thereof of visible ray and radio communication
Technical field
The present invention relates to garage door control technology field, particularly relate to a kind of garage door control system based on visible ray and radio communication and control method thereof.
Background technology
Along with extensively popularizing of automobile, garage door also obtains the extensive attention of people along with being on the increase of automobile.Current garage door is mainly divided into slide type, roller shutter type and turnover plate type three kinds.The control mode of garage door mainly contains remote control, induction and manually several.Wherein remote control, induction and be electronicly referred to as automatic garage door.
Non-follow control garage door relatively bothers, and people wants getting on-off automobile just can remove switch gate; Remote control mode, the switch gate mode of Bluetooth control that what the senior garage door of small part adopted is, but Bluetooth technology command range is comparatively near, and security and applicability are not high, or make troubles to the use of people; Induction control mode have plenty of utilize radio remote control circuit and Hall element composition, by infrared emitting signal source during switch garage door, inductor acknowledge(ment) signal, rolling screen door is rolled by working portion motor driven gear, motor reversal when putting down, but need extra remote controller to control garage when driver drives turnover garage, thus cause the inconvenience of driver; Have in addition and utilize the automatic control of PLC realization to garage door, but the circuit of this mode is complicated, cost is higher.
Summary of the invention
The invention provides a kind of garage door control system based on visible ray and radio communication and control method thereof, present invention reduces manufacturing cost, design convenient, fast, described below:
Based on a garage door control system for visible ray and radio communication, described garage door control system comprises: vehicle-mounted end control circuit and garage door end control circuit, is characterized in that,
Described vehicle-mounted end control circuit comprises: the first single-chip microcomputer, wireless receiving circuit and headlight drive circuit;
Described garage door end control circuit comprises: visible ray receiving circuit, amplifying circuit, radio transmitter and motor-drive circuit; The output of described amplifying circuit is connected to the AD port of described second singlechip, and the output of described visible ray receiving circuit is connected to the input of described amplifying circuit, and described second singlechip is connected with described motor-drive circuit by I/O port;
Described first single-chip microcomputer adopts pwm pulse width modulation mode to control described headlight drive circuit, realizes the control to vehicle lamp brightness; Described first single-chip microcomputer is the decimal coded modes adopted when sending data.
Further, described first single-chip microcomputer, described second singlechip adopt STC89C52.The sensor that described visible ray receiving circuit adopts is BPX65 photodiode.
Wherein, the operational amplifier in described amplifying circuit adopts LM358.Described radio transmitter and described wireless receiving circuit adopt NRF24L01 wireless module.
Based on a garage door control method for visible ray and radio communication, this control method comprises: to the control method of vehicle-mounted end control circuit, and the described control method to vehicle-mounted end control circuit comprises the following steps:
After powering on, complete the initialization of the first single-chip microcomputer, display screen, wireless receiving circuit;
First single-chip microcomputer waits for that user presses lower keyboard, and after having detected that keyboard is pressed, the first single-chip microcomputer calls keystroke handling program, numeral corresponding for keyboard and corresponding modulation signal waveform is mapped;
First single-chip microcomputer outputs control signals to headlight drive circuit, makes control signal be delivered to garage door end by visible ray;
After transferring light signal, whether the first microprocessor detect wireless receiving circuit receives wireless signal;
If so, user input information wrong, simultaneously by information displaying on display screen, prompting user re-enter garage door open and close instruction; If not, flow process terminates.
Based on a garage door control method for visible ray and radio communication, this control method comprises: to the control method of garage door end control circuit, and the described control method to garage door end control circuit comprises the following steps:
After powering on, complete the initialization of second singlechip, radio transmitter;
Second singlechip detects visible ray receiving circuit and whether receives light signal, if receive light signal, then call signal demodulation process by demodulates information out;
If it is identical that the information after demodulation and the garage door preset open and close instruction, then second singlechip calls motor driver, outputs control signals to motor-drive circuit and garage door is opened, and LED indicating circuit makes the LED in garage light simultaneously;
If different, second singlechip calls wireless transmit program, sends signal by radio transmitter to vehicle-mounted end control circuit, re-enters garage door and opens and closes instruction;
Wireless signal is sent rear continuation detection visible ray receiving circuit and whether receives light signal.
The beneficial effect of technical scheme provided by the invention is: garage control system provided by the invention, by car light and the control of wireless module realization to garage door of automobile, does not need extra controller, simple, convenient, does not affect normal driving.The controller that the present invention adopts is single-chip microcomputer, and its design is convenient, fast, and the while of enforcement comparatively easily, cost is lower.The present invention utilizes visible ray to realize the information transmission of vehicle-mounted end and garage door end, and its command range is far away, facilitates driver to control garage door.In the control mode that the present invention adopts, have employed authentication, open password ability opened garage door for needing to input correct garage door, security is higher.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of the garage door control system based on visible ray and radio communication;
Fig. 2 is the process flow diagram of the control method of vehicle-mounted end control circuit;
Fig. 3 is the process flow diagram of the control method of garage door end control circuit.
In accompanying drawing, the list of parts representated by each label is as follows:
1: the first power circuit; 2: display screen;
3: keyboard; 4: headlight drive circuit;
5: wireless receiving circuit; 6: clock circuit;
7: reset circuit; 8: single-chip microcomputer;
9: visible ray receiving circuit; 10: amplifying circuit;
11: motor-drive circuit; 12:LED indicating circuit;
13: single-chip microcomputer; 14: clock circuit;
15: reset circuit; 16: power circuit;
17: radio transmitter.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below embodiment of the present invention is described further in detail.
The keying that garage door control system based on visible ray can utilize the car light of automobile to realize garage door controls.Its principle is very similar in principle with the control mode of employing wireless remote control.There is simple, convenient, energy-conservation advantage simultaneously.Under the background that optical communication technique develops rapidly, the car light of automobile is utilized to adopt optical communication technique to realize the control of garage door significant.
Embodiment 1
Based on a garage door control system for visible ray and radio communication, see Fig. 1, this garage door control system comprises: vehicle-mounted end control circuit and garage door end control circuit.
Vehicle-mounted end control circuit comprises: the first single-chip microcomputer 8, power circuit 1, reset circuit 7 and clock circuit 6, first single-chip microcomputer 8 is connected to keyboard 3, display screen 2, wireless receiving circuit 5 and headlight drive circuit 4 by I/O mouth, clock circuit 6 is connected to the clock port of the first single-chip microcomputer 8, for the first single-chip microcomputer 8 provides real-time clock, the reseting interface that reset circuit 7 is connected to the first single-chip microcomputer 8 realizes the reset of single-chip microcomputer 8.The power port that first power circuit 1 is connected to the first single-chip microcomputer 8 provides power supply for the first single-chip microcomputer 8.
Garage door end control circuit is identical with vehicle-mounted end control circuit, and the peripheral circuit of its second singlechip 13 comprises visible ray receiving circuit 9, amplifying circuit 10, LED indicating circuit 12, radio transmitter 17 and motor-drive circuit 11.The output of amplifying circuit 10 is connected to the AD port of second singlechip 13, and the output of visible ray receiving circuit 9 is connected to the input of amplifying circuit 10, and second singlechip 13 is connected with LED indicating circuit 12 and motor-drive circuit 11 by I/O port.
Embodiment 2
Below in conjunction with concrete device model, the garage door control system in embodiment 1 is described in detail:
Vehicle-mounted end control circuit comprises: the first single-chip microcomputer 8, for driving the headlight drive circuit 4 of car light, sending the wireless receiving circuit 5 of signal for receiving garage door end control circuit and carry out first power circuit 1 of powering for this each modular circuit.
The input end of the first single-chip microcomputer 8 has for providing the clock circuit 6 of time reference for the first single-chip microcomputer, for realizing the reset circuit 7 of reset function, the keyboard 3 for user's input information, the output terminal of the first single-chip microcomputer 8 has for showing the display screen 2 received from garage door end control circuit information, wherein, the first single-chip microcomputer 8 adopts STC89C52.
Garage door end control circuit comprises: second singlechip 13, the motor-drive circuit 11 opened and closed for garage door, for throw light on LED indicating circuit 12, for receive visible ray visible ray receiving circuit 9, for the radio transmitter 17 of wireless signal emission and carry out the second source circuit 16 of powering for each modular circuit, the input end of second singlechip 13 has for providing the clock circuit 14 of time reference for second singlechip, for realizing the reset circuit 15 of reset function, and amplifying circuit 10.Second singlechip 13 adopts STC89C52.
In the present embodiment, display screen 2 adopts SGX-12864-2H liquid crystal display; First power circuit 1, second source circuit 16 adopt power supply chip LM7805; The sensor that visible ray receiving circuit 9 adopts is BPX65 photodiode; Operational amplifier in amplifying circuit 10 adopts LM358; Radio transmitter 17 and wireless receiving circuit 5 adopt NRF24L01 wireless module.LED indicating circuit 12 adopts light emitting diode.
Vehicle-mounted end control circuit employing pwm pulse width modulation mode control headlight drive circuit 4 realizes the control to vehicle lamp brightness.When vehicle-mounted end control circuit sends data, car light can brighten, and corresponding visible ray receiving circuit 9 can produce a high impulse, utilizes time interval transmission 0 ~ 90 numeral between two adjacent high impulses.Numeral is larger, and the time interval between pulse is larger.
Vehicle-mounted end control circuit is the decimal coded modes adopted when sending data, is produced the high pulse signal in the time interval corresponding with numeral according to user by the decimal data that keyboard 3 inputs.
Embodiment 3
Based on a garage door control method for visible ray and radio communication, this control method is specially: to the control method of vehicle-mounted end control circuit, see Fig. 2, the method comprises the following steps:
101: after powering on, complete the initialization of the first single-chip microcomputer 8, display screen 2, wireless receiving circuit 5;
102: the first single-chip microcomputers 8 wait for that user is by lower keyboard 3, and after having detected that keyboard 3 is pressed, the first single-chip microcomputer 8 calls keystroke handling program, the numeral of keyboard 3 correspondence and corresponding modulation signal waveform are mapped;
103: the first single-chip microcomputers output control signals to headlight drive circuit 4, make control signal be delivered to garage door end by visible ray;
104: after transferring light signal, first single-chip microcomputer 8 detects wireless receiving circuit 5 and whether receives wireless signal;
105: if, user input information wrong, simultaneously by information displaying on display screen 2, prompting user re-enter garage door open and close instruction; If not, flow process terminates.
In sum, the embodiment of the present invention by above-mentioned control method, achieve garage door is carried out simply, convenient and control efficiently.
Embodiment 4
Based on a garage door control method for visible ray and radio communication, this control method is specially: to the control method of garage door end control circuit, see Fig. 3, the method comprises the following steps:
201: after powering on, complete the initialization of second singlechip 13, radio transmitter 17;
202: second singlechip 13 detects visible ray receiving circuit 9 and whether receives light signal, if receive light signal, then call signal demodulation process by demodulates information out;
203: if to open and close instruction identical for the information after demodulation and the garage door that presets, then second singlechip 13 calls motor driver, outputing control signals to motor-drive circuit 11 makes garage door open, and LED indicating circuit 12 makes the LED in garage light simultaneously;
204: if different, second singlechip 13 calls wireless transmit program, send signal to vehicle-mounted end control circuit by radio transmitter 17, tell that user re-enters garage door and opens and closes instruction.Wireless signal is sent rear continuation detection visible ray receiving circuit 9 and whether receives light signal.
In sum, the embodiment of the present invention by above-mentioned control method, achieve garage door is carried out simply, convenient and control efficiently.
The embodiment of the present invention is to the model of each device except doing specified otherwise, and the model of other devices does not limit, as long as can complete the device of above-mentioned functions.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
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.

Claims (7)

1., based on a garage door control system for visible ray and radio communication, described garage door control system comprises: vehicle-mounted end control circuit and garage door end control circuit, is characterized in that,
Described vehicle-mounted end control circuit comprises: the first single-chip microcomputer, wireless receiving circuit and headlight drive circuit;
Described garage door end control circuit comprises: visible ray receiving circuit, amplifying circuit, radio transmitter and motor-drive circuit; The output of described amplifying circuit is connected to the AD port of described second singlechip, and the output of described visible ray receiving circuit is connected to the input of described amplifying circuit, and described second singlechip is connected with described motor-drive circuit by I/O port;
Described first single-chip microcomputer adopts pwm pulse width modulation mode to control described headlight drive circuit, realizes the control to vehicle lamp brightness; Described first single-chip microcomputer is the decimal coded modes adopted when sending data.
2. a kind of garage door control system based on visible ray and radio communication according to claim 1, it is characterized in that, described first single-chip microcomputer, described second singlechip adopt STC89C52.
3. a kind of garage door control system based on visible ray and radio communication according to claim 1, it is characterized in that, the sensor that described visible ray receiving circuit adopts is BPX65 photodiode.
4. a kind of garage door control system based on visible ray and radio communication according to claim 1, it is characterized in that, the operational amplifier in described amplifying circuit adopts LM358.
5. a kind of garage door control system based on visible ray and radio communication according to claim 1, is characterized in that, described radio transmitter and described wireless receiving circuit adopt NRF24L01 wireless module.
6., based on a garage door control method for visible ray and radio communication, this control method comprises: to the control method of vehicle-mounted end control circuit, it is characterized in that, the described control method to vehicle-mounted end control circuit comprises the following steps:
After powering on, complete the initialization of the first single-chip microcomputer, display screen, wireless receiving circuit;
First single-chip microcomputer waits for that user presses lower keyboard, and after having detected that keyboard is pressed, the first single-chip microcomputer calls keystroke handling program, numeral corresponding for keyboard and corresponding modulation signal waveform is mapped;
First single-chip microcomputer outputs control signals to headlight drive circuit, makes control signal be delivered to garage door end by visible ray;
After transferring light signal, whether the first microprocessor detect wireless receiving circuit receives wireless signal;
If so, user input information wrong, simultaneously by information displaying on display screen, prompting user re-enter garage door open and close instruction; If not, flow process terminates.
7., based on a garage door control method for visible ray and radio communication, this control method comprises: to the control method of garage door end control circuit, it is characterized in that, the described control method to garage door end control circuit comprises the following steps:
After powering on, complete the initialization of second singlechip, radio transmitter;
Second singlechip detects visible ray receiving circuit and whether receives light signal, if receive light signal, then call signal demodulation process by demodulates information out;
If it is identical that the information after demodulation and the garage door preset open and close instruction, then second singlechip calls motor driver, outputs control signals to motor-drive circuit and garage door is opened, and LED indicating circuit makes the LED in garage light simultaneously;
If different, second singlechip calls wireless transmit program, sends signal by radio transmitter to vehicle-mounted end control circuit, re-enters garage door and opens and closes instruction;
Wireless signal is sent rear continuation detection visible ray receiving circuit and whether receives light signal.
CN201510478830.XA 2015-08-06 2015-08-06 Garage door control system based on visible light and wireless communication and control method thereof Pending CN105069879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510478830.XA CN105069879A (en) 2015-08-06 2015-08-06 Garage door control system based on visible light and wireless communication and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510478830.XA CN105069879A (en) 2015-08-06 2015-08-06 Garage door control system based on visible light and wireless communication and control method thereof

Publications (1)

Publication Number Publication Date
CN105069879A true CN105069879A (en) 2015-11-18

Family

ID=54499235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510478830.XA Pending CN105069879A (en) 2015-08-06 2015-08-06 Garage door control system based on visible light and wireless communication and control method thereof

Country Status (1)

Country Link
CN (1) CN105069879A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824032A (en) * 2016-03-17 2016-08-03 孙红星 Single chip microcomputer-based GNSS MARK simulation test device
CN105844748A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Garage door system and control method
CN107070975A (en) * 2017-01-06 2017-08-18 大连工业大学 Intelligent carriage control system and its control method based on visible light communication
CN109343388A (en) * 2018-09-30 2019-02-15 西安理工大学 Automatic control system for parking position lock and its control method based on car light identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189779A1 (en) * 2008-01-25 2009-07-30 Denso International America, Inc. Automatic garage door closing through the vehicle control
CN102066675A (en) * 2008-06-16 2011-05-18 奥斯兰姆有限公司 Key with a key light function
CN103114784A (en) * 2011-11-16 2013-05-22 深圳光启高等理工研究院 Garage control system
CN203825677U (en) * 2013-12-09 2014-09-10 深圳光启创新技术有限公司 Automatic guarding system for garages
CN104348546A (en) * 2013-07-30 2015-02-11 京昊有限公司 visible light communication system for vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189779A1 (en) * 2008-01-25 2009-07-30 Denso International America, Inc. Automatic garage door closing through the vehicle control
CN102066675A (en) * 2008-06-16 2011-05-18 奥斯兰姆有限公司 Key with a key light function
CN103114784A (en) * 2011-11-16 2013-05-22 深圳光启高等理工研究院 Garage control system
CN104348546A (en) * 2013-07-30 2015-02-11 京昊有限公司 visible light communication system for vehicle
CN203825677U (en) * 2013-12-09 2014-09-10 深圳光启创新技术有限公司 Automatic guarding system for garages

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824032A (en) * 2016-03-17 2016-08-03 孙红星 Single chip microcomputer-based GNSS MARK simulation test device
CN105844748A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Garage door system and control method
CN107070975A (en) * 2017-01-06 2017-08-18 大连工业大学 Intelligent carriage control system and its control method based on visible light communication
CN109343388A (en) * 2018-09-30 2019-02-15 西安理工大学 Automatic control system for parking position lock and its control method based on car light identification

Similar Documents

Publication Publication Date Title
CN105069879A (en) Garage door control system based on visible light and wireless communication and control method thereof
KR100899018B1 (en) Method and system for group control of lighting lamp
CN103699005A (en) Infrared gesture switch controller
CN102542777A (en) Infrared remote control system and lighting system
CN103542491A (en) Controller of intelligent air-conditioner
CN104599328A (en) Visible-light two-way communication based charging system and method for parking lot
CN204408720U (en) A kind of Introduction of Intelligent Home Wireless Remote Lighting Control Assembly
CN203673264U (en) Infrared gesture switch controller
CN205648110U (en) Wireless lighting control system of underground parking garage
CN202748859U (en) Universal park remote control device
CN202709381U (en) Intelligent air-conditioner controller
CN202919867U (en) Device for automatically controlling window curtain folding and unfolding
CN103886767B (en) In being arranged on motor vehicles, digitized traffic signal receive device and signal acceptance method
CN101131792A (en) Wireless transceiver and operating method thereof
CN205910837U (en) Illumination remote controller that applied electronic technology is wireless
CN103295470B (en) Wireless remote control adjustable elements formula LED oil price display board
CN205068526U (en) Hotel's intelligence bluetooth lock
CN104658443A (en) Remote display screen system
CN203455939U (en) Wireless remote control LED (light-emitting diode) Bluetooth sound box, and remote control device and system
CN103264724B (en) A kind of bearing circle push button signalling infrared transceiver device
CN201190266Y (en) Remote road barrier blocking arm
CN207161355U (en) A kind of controlled in wireless Lamp with ceiling fan
CN203364960U (en) Wireless communication based desktop illuminometer and intelligent control system
CN203345004U (en) Infrared key signal receiving and transmitting device of steering wheel
CN206061252U (en) Modified model intelligent switch

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

Application publication date: 20151118

WD01 Invention patent application deemed withdrawn after publication