CN105490949A - Bluetooth 4.0-based intelligent router and control method thereof - Google Patents

Bluetooth 4.0-based intelligent router and control method thereof Download PDF

Info

Publication number
CN105490949A
CN105490949A CN201610006143.2A CN201610006143A CN105490949A CN 105490949 A CN105490949 A CN 105490949A CN 201610006143 A CN201610006143 A CN 201610006143A CN 105490949 A CN105490949 A CN 105490949A
Authority
CN
China
Prior art keywords
router
module
bluetooth
relay
chip microcomputer
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.)
Granted
Application number
CN201610006143.2A
Other languages
Chinese (zh)
Other versions
CN105490949B (en
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.)
Jiangsu University
Original Assignee
Jiangsu 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 Jiangsu University filed Critical Jiangsu University
Priority to CN201610006143.2A priority Critical patent/CN105490949B/en
Publication of CN105490949A publication Critical patent/CN105490949A/en
Application granted granted Critical
Publication of CN105490949B publication Critical patent/CN105490949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a Bluetooth 4.0-based intelligent router and a control method thereof. The Bluetooth 4.0-based intelligent router includes relays, a router main power source circuit, an LED indication lamp circuit, a Bluetooth 4.0 module, a single-chip microcomputer and a ULN2003 module; the Bluetooth 4.0 module is used for receiving router or LED indication lamp switching-on and switching-off signals which are emitted by a control end; the Bluetooth 4.0 module receives the signals emitted by the control end and transmits the received signals to the single-chip microcomputer for analyzing and processing the signals; signals analyzed and processed by the single-chip microcomputer are transmitted to a ULN2003 module; the ULN2003 module drives the relays; and the relays comprise a relay A and a relay B, wherein the relay A is used for controlling the router main power source circuit, and the relay B is used for controlling the LED indication lamp circuit. The router or LED indication lamp switching-on and switching-off signals which are emitted by the control end are received by the Bluetooth 4.0 module, so that the switching-on and switching-off of the router or an LED lamp can be realized, and therefore, resource waste can be reduced, and the service life of the router can be prolonged, and troubles brought by the flickering of the LED indication lamp can be eliminated.

Description

A kind of intelligent router based on bluetooth 4.0 and control method thereof
Technical field
The present invention relates to a kind of intelligent router based on bluetooth and control method thereof, refer more particularly to a kind of intelligent router based on bluetooth 4.0 and control method thereof.
Background technology
Bluetooth technology a kind ofly makes electronic equipment in the spatial dimension of 10 ~ 100m, set up network to connect and the wireless communication technology of carrying out transfer of data or voice call.Bluetooth 4.0 adds again low power consumption transmission technology on the basis keeping high speed transmission technology in the past.The advantage of bluetooth 4.0 is as follows: 1. low in energy consumption and transmission rate is fast, time short 3. good stabilities of 2. response, strong interference immunity.
Router is equipment for surfing the net the most common in life, and people realize broadband connection usually through router dialing.The online demand of most router also has WIFI function, meets mobile phone by sending wireless signal, dull and stereotyped grade for equipment.
Existing router does not almost have shift knob, and therefore will disconnect router power supply could can only be realized by the socket pulling out router, bothersome effort, and therefore a lot of people can only allow router work always.Router works not only wastes power resource always, and decreases the useful life of router.The worry of routers radiation and night LED light the life of flicker to a lot of people also result in a lot of inconvenience.
For problems of the prior art, a kind of intelligent router based on bluetooth 4.0 and control method thereof are provided, this intelligent router can realize mobile phone or computer to its control by installing bluetooth 4.0 and single-chip microcomputer etc., the router sent by bluetooth 4.0 module reception control end or LED light opening and closing signal, thus the opening and closing of router and LED can be realized, thus realize reducing the wasting of resources, improve the useful life of router, solve the flicker of LED light to the puzzlement brought of living.
Summary of the invention
The present invention is directed to the problems referred to above, a kind of intelligent router based on bluetooth 4.0 and control method thereof are provided, this intelligent router can realize mobile phone or computer to its control by installing bluetooth 4.0 and single-chip microcomputer etc., the router sent by bluetooth 4.0 module reception control end or LED light opening and closing signal, thus the opening and closing of router and LED can be realized, thus realize reducing the wasting of resources, improve the useful life of router, solve the flicker of LED light to the puzzlement brought of living.
The present invention is achieved by the following technical solutions:
Based on an intelligent router for bluetooth 4.0, comprise relay, router main power circuit, LED light circuit, bluetooth 4.0 module, single-chip microcomputer and ULN2003 module;
Described bluetooth 4.0 module is for the router that receives control end and send or LED light opening and closing signal;
Described bluetooth 4.0 module receives the signal that control end sends, bluetooth 4.0 module by the Signal transmissions that receives to single-chip microcomputer analyzing and processing; Single-chip microcomputer by the Signal transmissions after analyzing and processing to ULN2003 module; ULN2003 module drive relay; Described relay comprises relay A and relay B; Described relay A is used for controlling router main power circuit; Relay B is used for controlling LED light circuit.
Further, described relay is electromagnetic relay or electronic relay.
Further, described single-chip microcomputer (2) is STC89C51RC single-chip microcomputer.
Further, described control end is mobile phone or computer.
Based on a control method for the intelligent router of bluetooth 4.0, comprise the following two kinds control mode:
Whether a. control end sends signal, detect router and open, if router is open state, then judges whether to close router:
If a1. close router: the closedown router signal received is sent to single-chip microcomputer analyzing and processing by bluetooth 4.0 module; Single-chip microcomputer by the Signal transmissions after analyzing and processing to ULN2003 module; ULN2003 module drive relay A disconnects, thus disconnects router main power circuit, and router is closed;
If be a2. not related to and close router:, judge whether to close LED light; If closedown LED light: the closedown LED light signal received is sent to single-chip microcomputer analyzing and processing by bluetooth 4.0 module; Single-chip microcomputer by the Signal transmissions after analyzing and processing to ULN2003 module; ULN2003 module drive relay B disconnects, thus disconnects LED light circuit; If do not close LED light, then return and judge whether router is opened;
Whether b. control end sends signal, detect router and open, if router is off-mode, then judge whether to open router;
If open router: the router signal of opening received is sent to single-chip microcomputer analyzing and processing by bluetooth 4.0 module; Single-chip microcomputer by the Signal transmissions after analyzing and processing to ULN2003 module; ULN2003 module drive relay A closes, thus closed router main power circuit, router is opened;
If do not open router, then return and judge whether router is opened.
Beneficial effect:
1. receive the router that sends of control end or LED light opening and closing signal by bluetooth 4.0 module, thus the opening and closing of router and LED can be realized, thus realize reducing the wasting of resources, improve the useful life of router, solve the flicker of LED light to the puzzlement brought of living.
2. control end is that mobile phone or computer come intelligent router Long-distance Control, handled easily.
3. the intelligent router control method based on bluetooth 4.0 gives different control modes for the operating state that router is different, thus can close LED light etc. as opened router according to the actual needs, thus realizes Based Intelligent Control.
Accompanying drawing explanation
A kind of intelligent router based on bluetooth 4.0 of Fig. 1 and control method workflow diagram thereof;
A kind of intelligent router structural representation based on bluetooth 4.0 of Fig. 2;
Fig. 3 is a kind of based on the intelligent router of bluetooth 4.0 and the circuit diagram of control method thereof;
A kind of intelligent router control method flow chart based on bluetooth 4.0 of Fig. 4.
Accompanying drawing illustrates:
1-bluetooth 4.0 module; 2-single-chip microcomputer; 3-ULN2003 module.
Embodiment
Based on an intelligent router for bluetooth 4.0, comprise relay, router main power circuit, LED light circuit, bluetooth 4.0 module 1, single-chip microcomputer 2 and ULN2003 module 3; Described bluetooth 4.0 module 1 is for the router that receives control end and send or LED light opening and closing signal; Described bluetooth 4.0 module 1 receives the signal that control end sends, bluetooth 4.0 module 1 by the Signal transmissions that receives to single-chip microcomputer 2 analyzing and processing; Single-chip microcomputer 2 by the Signal transmissions after analyzing and processing to ULN2003 module 3; ULN2003 module 3 drives relay; Described relay comprises relay A and relay B; Described relay A is used for controlling router main power circuit; Relay B is used for controlling LED light circuit.
Wherein, described relay is electromagnetic relay or electronic relay.Described single-chip microcomputer 2 is STC89C51RC single-chip microcomputer.Described control end is mobile phone or computer.
Based on a control method for the intelligent router of bluetooth 4.0, comprise the following two kinds control mode:
Whether a. control end sends signal, detect router and open, if router is open state, then judges whether to close router:
If a1. close router: the closedown router signal received is sent to single-chip microcomputer 2 analyzing and processing by bluetooth 4.0 module 1; Single-chip microcomputer 2 by the Signal transmissions after analyzing and processing to ULN2003 module 3; ULN2003 module 3 drives relay A to disconnect, thus disconnects router main power circuit, and router is closed;
If be a2. not related to and close router:, judge whether to close LED light; If closedown LED light: the closedown LED light signal received is sent to single-chip microcomputer 2 analyzing and processing by bluetooth 4.0 module 1; Single-chip microcomputer 2 by the Signal transmissions after analyzing and processing to ULN2003 module 3; ULN2003 module 3 drives relay B to disconnect, thus disconnects LED light circuit; If do not close LED light, then return and judge whether router is opened;
Whether b. control end sends signal, detect router and open, if router is off-mode, then judge whether to open router; If open router: the router signal of opening received is sent to single-chip microcomputer 2 analyzing and processing by bluetooth 4.0 module 1; Single-chip microcomputer 2 by the Signal transmissions after analyzing and processing to ULN2003 module 3; ULN2003 module 3 drives relay A to close, thus closed router main power circuit, router is opened;
If do not open router, then return and judge whether router is opened.
Described embodiment is preferred embodiment of the present invention; but the present invention is not limited to above-mentioned execution mode; when not deviating from flesh and blood of the present invention, any apparent improvement that those skilled in the art can make, replacement or modification all belong to protection scope of the present invention.

Claims (5)

1. based on an intelligent router for bluetooth 4.0, it is characterized in that, comprise relay, router main power circuit, LED light circuit, bluetooth 4.0 module (1), single-chip microcomputer (2) and ULN2003 module (3);
Described bluetooth 4.0 module (1) is for the router that receives control end and send or LED light opening and closing signal;
Described bluetooth 4.0 module (1) receives the signal that control end sends, bluetooth 4.0 module (1) by the Signal transmissions that receives to single-chip microcomputer (2) analyzing and processing; Single-chip microcomputer (2) by the Signal transmissions after analyzing and processing to ULN2003 module (3); ULN2003 module (3) drives relay; Described relay comprises relay A and relay B; Described relay A is used for controlling router main power circuit; Relay B is used for controlling LED light circuit.
2. a kind of intelligent router based on bluetooth 4.0 according to claim 1, is characterized in that, described relay is electromagnetic relay or electronic relay.
3. a kind of intelligent router based on bluetooth 4.0 according to claim 1, is characterized in that, described single-chip microcomputer (2) is STC89C51RC single-chip microcomputer.
4. a kind of intelligent router based on bluetooth 4.0 according to claim 1, is characterized in that, described control end is mobile phone or computer.
5. based on a control method for the intelligent router of bluetooth 4.0, it is characterized in that, comprise the following two kinds control mode:
Whether a. control end sends signal, detect router and open, if router is open state, then judges whether to close router:
If a1. close router: the closedown router signal received is sent to single-chip microcomputer (2) analyzing and processing by bluetooth 4.0 module (1); Single-chip microcomputer (2) by the Signal transmissions after analyzing and processing to ULN2003 module (3); ULN2003 module (3) drives relay A to disconnect, thus disconnects router main power circuit, and router is closed;
If be a2. not related to and close router:, judge whether to close LED light; If closedown LED light: the closedown LED light signal received is sent to single-chip microcomputer (2) analyzing and processing by bluetooth 4.0 module (1); Single-chip microcomputer (2) by the Signal transmissions after analyzing and processing to ULN2003 module (3); ULN2003 module (3) drives relay B to disconnect, thus disconnects LED light circuit; If do not close LED light, then return and judge whether router is opened;
Whether b. control end sends signal, detect router and open, if router is off-mode, then judge whether to open router;
If open router: the router signal of opening received is sent to single-chip microcomputer (2) analyzing and processing by bluetooth 4.0 module (1); Single-chip microcomputer (2) by the Signal transmissions after analyzing and processing to ULN2003 module (3); ULN2003 module (3) drives relay A to close, thus closed router main power circuit, router is opened;
If do not open router, then return and judge whether router is opened.
CN201610006143.2A 2016-01-06 2016-01-06 A kind of intelligent router and its control method based on bluetooth 4.0 Active CN105490949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610006143.2A CN105490949B (en) 2016-01-06 2016-01-06 A kind of intelligent router and its control method based on bluetooth 4.0

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610006143.2A CN105490949B (en) 2016-01-06 2016-01-06 A kind of intelligent router and its control method based on bluetooth 4.0

Publications (2)

Publication Number Publication Date
CN105490949A true CN105490949A (en) 2016-04-13
CN105490949B CN105490949B (en) 2019-08-27

Family

ID=55677677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610006143.2A Active CN105490949B (en) 2016-01-06 2016-01-06 A kind of intelligent router and its control method based on bluetooth 4.0

Country Status (1)

Country Link
CN (1) CN105490949B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210296A (en) * 2016-07-04 2016-12-07 周英 A kind of router control device of wireless
CN106444561A (en) * 2016-12-07 2017-02-22 徐州工程学院 Remote control system with single chip microcomputer
CN106936723A (en) * 2017-03-03 2017-07-07 浙江水利水电学院 A kind of bluetooth router and method for routing based on tunneling mechanism

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333917A (en) * 2014-10-27 2015-02-04 太仓市同维电子有限公司 Anti-lost 4G wireless router
CN204334964U (en) * 2014-12-05 2015-05-13 成都布林特信息技术有限公司 With the digital terminal router of bluetooth
CN204350032U (en) * 2014-12-08 2015-05-20 黄子洋 A kind of router
CN104883319A (en) * 2015-06-24 2015-09-02 石狮市高鑫技术孵化有限公司 Bluetooth router

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333917A (en) * 2014-10-27 2015-02-04 太仓市同维电子有限公司 Anti-lost 4G wireless router
CN204334964U (en) * 2014-12-05 2015-05-13 成都布林特信息技术有限公司 With the digital terminal router of bluetooth
CN204350032U (en) * 2014-12-08 2015-05-20 黄子洋 A kind of router
CN104883319A (en) * 2015-06-24 2015-09-02 石狮市高鑫技术孵化有限公司 Bluetooth router

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210296A (en) * 2016-07-04 2016-12-07 周英 A kind of router control device of wireless
CN106444561A (en) * 2016-12-07 2017-02-22 徐州工程学院 Remote control system with single chip microcomputer
CN106936723A (en) * 2017-03-03 2017-07-07 浙江水利水电学院 A kind of bluetooth router and method for routing based on tunneling mechanism
CN106936723B (en) * 2017-03-03 2023-05-12 浙江水利水电学院 Bluetooth router and routing method based on tunnel mechanism

Also Published As

Publication number Publication date
CN105490949B (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN203261485U (en) Self-power-off energy-saving wireless router based on flow monitoring
CN103037583A (en) Fireproof and energy-saving light-emitting diode (LED) controlling system based on android system
CN105490949A (en) Bluetooth 4.0-based intelligent router and control method thereof
WO2015070628A1 (en) Information sending/receiving method and device for terminal, and terminal
CN201355879Y (en) Switch device for remote control lighting fitting based on ZigBee technology
CN105338603A (en) Method for adjusting transmission power of wireless router in self-adaptive manner, and wireless router
CN205389041U (en) Remove smart jack
CN107172778A (en) A kind of Intelligent lamp remote wireless control system and its control method
CN104684208A (en) LED cloud lamp with WiFi and remote WiFi awakening system
CN201336583Y (en) Remote terminal electrical installation power switch control system based on power line carrier
CN109361459A (en) A kind of optic communication intelligence system and method
CN106231752A (en) A kind of intelligent street lamp control system
CN203151522U (en) Repeater and matching wireless router based on intelligent household system
CN207573636U (en) A kind of Novel walkie talkie system
CN206489395U (en) A kind of smart home illumination control system
CN105024236A (en) Automatic code matching intelligent socket and automatic code matching method thereof
CN209784761U (en) Intelligent household control system
CN209248749U (en) Collector and acquisition system
CN208538316U (en) Intermediate frequency technical grade Digiplex for electric capstan
CN207164981U (en) A kind of control circuit and control system
CN105228231A (en) A kind of system and method by detection data frame optimization router amount of radiation
CN203455647U (en) Intelligent housekeeping system
CN209447009U (en) A kind of household electricity consumption on-off control system
CN204614189U (en) A kind of small intelligent electric appliance control box
CN202133896U (en) Intelligent household control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant