CN203965848U - A kind of household electric appliances control device - Google Patents

A kind of household electric appliances control device Download PDF

Info

Publication number
CN203965848U
CN203965848U CN201420158255.6U CN201420158255U CN203965848U CN 203965848 U CN203965848 U CN 203965848U CN 201420158255 U CN201420158255 U CN 201420158255U CN 203965848 U CN203965848 U CN 203965848U
Authority
CN
China
Prior art keywords
chip microcomputer
control device
electric appliances
bluetooth
household electric
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.)
Expired - Fee Related
Application number
CN201420158255.6U
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.)
Sichuan University of Science and Engineering
Original Assignee
Sichuan University of Science and Engineering
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 Sichuan University of Science and Engineering filed Critical Sichuan University of Science and Engineering
Priority to CN201420158255.6U priority Critical patent/CN203965848U/en
Application granted granted Critical
Publication of CN203965848U publication Critical patent/CN203965848U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The utility model discloses a kind of household electric appliances control device, by bluetooth, be connected with intelligent terminal, Smart Home electrical equipment, comprise: single-chip microcomputer and the bluetooth module being connected with single-chip microcomputer and I/O interface, wherein, described I/O interface is connected with again TFT display screen, matrix press-key and one or more intelligent switch, and single-chip microcomputer adopts UART0 port to be connected with described bluetooth module.It has avoided user owing to forgetting, to close waste of energy and the potential safety hazard that some consumer brings when leaving home to go out, and user opens the loaded down with trivial details of illuminations and other consumer power supplys when going home.

Description

A kind of household electric appliances control device
Technical field
The utility model relates to a kind of household electric appliances control device.
Background technology
Smart Home is that thing connectionization embodies under the impact of internet.
Smart Home connects together the various device in family (as audio & video equipment, illuminator, curtain control, air-conditioning control, safety-protection system, Digital Theater System, network home appliance and three tables are made a copy for etc.) by technology of Internet of things, and several functions and the means such as an electric control, illumination controls, curtain control, telephone remote control, indoor and outdoor remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control are provided.Compare with common household, Smart Home not only has traditional inhabitation function, have both building, network service, information household appliances, equipment automatization, that collecting system, structure, service, management are integrated is efficient, comfortable, the living environment of safety, facility, environmental protection, and omnibearing information interaction function is provided.Help family to keep information interchange unimpeded with outside, optimize people's life style, help people effectively to arrange the time, strengthen the security of life staying idle at home, even for various energy expenditures, economize on the use of funds.
At present; in the use procedure of Smart Home; often can meet user and owing to forgetting, close waste of energy and the potential safety hazard that some consumer brings when leaving home to go out; and; user opens the loaded down with trivial details of illuminations and other consumer power supplys when going home, and it does not meet the definition of Smart Home.
Utility model content
The purpose of this utility model is to overcome Smart Home of the prior art and uses inconvenient shortcoming, and a kind of household electric appliances control device is provided.
It is as follows that the utility model solves the problems of the technologies described above taked technical scheme:
A kind of household electric appliances control device, by bluetooth, be connected with intelligent terminal, Smart Home electrical equipment, comprise: single-chip microcomputer and the bluetooth module being connected with single-chip microcomputer and I/O interface, wherein, described I/O interface is connected with again TFT display screen, matrix press-key and one or more intelligent switch, and single-chip microcomputer adopts UART0 port to be connected with described bluetooth module.
What preferably, described single-chip microcomputer was chosen is MSP430 module.
Preferably, described MSP430 module adopts the form of 16 bit data width to carry out data line with TFT display screen to be connected.
Preferably, described intelligent terminal is chosen smart mobile phone, flat board or computer.
Preferably, described MSP430 module is provided with two-way UART0 port, and carries out full-duplex communication by mode and the bluetooth module of serial communication.
Preferably, the output terminal of the single-chip processor i/o interface of described MSP430 module connects a ULN2003 chip, and ULN2003 chip connects a relay, described Single-chip Controlling ULN2003 driving relay.
After the utility model has been taked such scheme, can build the management system of efficient house facility and family's schedule affairs.When user leaves home to go out, automatically disconnect the power supply of light fixture and other consumers, when going out to go home, automatically open the power supply of light fixture and other consumers,
Avoided user owing to forgetting, to close waste of energy and the potential safety hazard that some consumer brings when leaving home to go out, and user open the loaded down with trivial details of illuminations and other consumer power supplys when going home.
Other features and advantages of the utility model will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the utility model.The purpose of this utility model and other advantages can be realized and be obtained by specifically noted structure in the instructions write, claims and accompanying drawing.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the utility model is described in detail, so that above-mentioned advantage of the present utility model is clearer and more definite.
Fig. 1 is the circuit theory diagrams of the system that comprises the utility model household electric appliances control device;
Fig. 2 is the design concept figure of the hardware and software of the utility model household electric appliances control device;
Fig. 3 is the circuit theory diagrams of the utility model household electric appliances control device;
Fig. 4 is the single-chip microcomputer of the utility model household electric appliances control device and the telecommunication circuit of bluetooth;
Fig. 5 is the connecting circuit of single-chip microcomputer and the TFT-LCD display screen of the utility model household electric appliances control device;
Fig. 6 is single-chip microcomputer and the intelligent switch connecting circuit of the utility model household electric appliances control device;
Fig. 7 is the smart mobile phone software flow pattern of the utility model household electric appliances control device;
Fig. 8 is the scm software design flow diagram of the utility model household electric appliances control device.
Embodiment
Below in conjunction with specific embodiment, the utility model is described in detail.
Native system be take house as platform, builds the management system of efficient house facility and family's schedule affairs.When leaving home to go out, user automatically disconnects the power supply of light fixture and other consumers, when going out to go home, automatically open the power supply of light fixture and other consumers, avoided user owing to forgetting, to close waste of energy and the potential safety hazard that some consumer brings when leaving home to go out, and user open the loaded down with trivial details of illuminations and other consumer power supplys when going home.
Meanwhile, when being in, user also can pass through the power supply of the various consumers of smart mobile phone software control, for our life has brought facility, the Electrical Safety hidden danger having existed while also having avoided frequent plug plug.
Native system, by be fused in intelligent domestic system by popular intelligent mobile phone system Andriod, Bluetooth technology, embedded technology, has intelligent control function, easy and simple to handle, is easily understood.
Native system is divided into hardware components and software section, and hardware components is mainly comprised of bluetooth module, Single Chip Microcomputer (SCM) system, intelligent switch etc., and software comprises smart mobile phone software and Single Chip Microcomputer (SCM) program design.
When user is in, user receives by the receipts Suo Gongneng of smart mobile phone bluetooth the bluetooth module (such as home lighting equipment) of installing on rope household electrical appliance, receiving rope after bluetooth equipment, carries out the connection of bluetooth equipment; After bluetooth equipment is interconnected, bluetooth module is passed to MCU(MSP430 by the user instruction of reception), MCU pilot relay is opened the power supply of light fixture and other consumers, and household electrical appliance just normally can have been worked like this.When user is away from home, can close light fixture.
When carrying mobile phone leaves, when can not find corresponding Bluetooth signal and disconnect due to the bluetooth equipment having connected, bluetooth module can transmit a signal that connects disconnection to MCU, MCU receives after corresponding information, by pilot relay, disconnect the power supply of light fixture, avoided user to forget and closed waste of energy and the potential safety hazard that Domestic electric appliances power source brings.
When user is when entering door, open bluetooth equipment, the bluetooth module in system is received rope and is automatically connected after Bluetooth signal, and after user confirms to connect, system is opened the power supply of light fixture and other consumers automatically.Just realize in this way the Based Intelligent Control of household, embodied security, comfortableness and the convenience of Smart Home.
The hardware configuration of system is as Fig. 1, 2, shown in 3, a kind of household electric appliances control device, by bluetooth and intelligent terminal, , Smart Home electrical equipment is connected, comprise: single-chip microcomputer and the bluetooth module being connected with single-chip microcomputer and I/O interface, wherein, described I/O interface is connected with again TFT display screen, matrix press-key and one or more intelligent switch, and single-chip microcomputer adopts UART0 port to be connected with described bluetooth module, and described household electric appliances control device is provided with LED port, described bluetooth module connects a status indicator lamp by described LED port, whether be used to indicate bluetooth connects, and, preferably, what described single-chip microcomputer was chosen is MSP430 module.
Preferably, described intelligent terminal is chosen smart mobile phone, flat board or computer.
That is to say, its main circuit is partly comprised of MSP430F149 Single Chip Microcomputer (SCM) system, TFT display screen, matrix press-key, outside bluetooth module, intelligent switching control etc.
MSP430F149 is a kind of 16 novel mixed-signal processors, working current is 0.1 1 400pA, that supply voltage adopts is 1.8-3.6V, while moving under the Clock of 1MHz, the minimum meeting of electric current of single-chip microcomputer is in 165 μ A left and right, lowest power consumption under RAM Holdover mode only has 0.1 μ A, super low-power consumption.Integrated peripheral module comprises: the analog to digital converter (ADC12) of (1) 12, can obtain very high precision, and save with special analog to digital converter to the next trouble of design circuit strip; (2) two channel serial communication interfaces, can be used for carrying out asynchronous or synchronous serial communication with computing machine; (3) hardware multiplier, this multiplier is independent of the operation that CPU carries out multiplying, has also promoted the utilization ratio of CPU when improving multiplying speed; (4) serial in-system programming, downloads program by emulator, and by special software, the duty of program and single-chip microcomputer is monitored, and is very easy to the debugging of program.
In addition, it has jumbo storage space.Storer aspect comprises nearly 60kFlashROM and 2kRAM, and so the storage space of quantity can meet the needs of program and data completely.These characteristics are guaranteeing the real-time of native system, low-power consumption, have improved the integrated level of system simultaneously, for developer has brought facility, have also reduced the cost of system.
Fig. 4 is the single-chip microcomputer of the utility model household electric appliances control device and the telecommunication circuit of bluetooth;
Fig. 5 is the connecting circuit of single-chip microcomputer and the TFT-LCD display screen of the utility model household electric appliances control device;
Fig. 6 is single-chip microcomputer and the intelligent switch connecting circuit of the utility model household electric appliances control device;
(1) single-chip microcomputer and bluetooth module
MSP430F149 has two-way UART communication port, and system adopts UART0 port to be connected with Bluetooth communication port, is that bluetooth module connects a pilot lamp at LED port simultaneously, by LED status, judges whether bluetooth connects.
When led pilot lamp glimmers, expression bluetooth is not set up pairing and is connected; Normal when bright when led pilot lamp, represent that bluetooth set up pairing and connected, and opened communication port.When bluetooth has been opened after communication port, single-chip microcomputer just can, by the mode of serial communication, carry out full-duplex communication with bluetooth module.Meanwhile, when bluetooth module receives user instruction, can transfer to single-chip microcomputer to remove acquisition and processing data with the form of serial ports, and by single-chip microcomputer, result be sent to bluetooth module, thereby feed back to user mobile phone end.
(2) single-chip microcomputer and TFT-LCD
TFT-LCD refers to that each the liquid crystal pixel point in LCDs is all to be driven by the thin film transistor (TFT) being integrated in thereafter.It has low pressure applications, low driving voltage, and good safety and reliability, power consumption is extremely low, is about 1/10th of CRT monitor, and reflective TFT-LCD even only has one of percentage of CRT left and right, many features such as long service life.
Because MSP430F149 has sufficient IO mouth, so adopting the form of 16 bit data width that single-chip microcomputer is carried out to data line with TFT-LCD, we are connected, fully improved the response speed of the transmission demonstration of data.
Display screen is for showing the state of intelligent switch, and the result of single-chip microcomputer execution user instruction, in visual mode, correlation parameter is shown, has improved the Man machine interaction of system, has guaranteed the human nature service of system.
(3) single-chip microcomputer and intelligent switch
Because single-chip I/O mouth driving force is limited, cannot directly drive relay, so need to add driving circuit between single-chip microcomputer and relay, conventional method is transistor drive circuit, conducting by Single-chip Controlling triode drives relay, but when a plurality of relay of demand motive, such mode is too loaded down with trivial details, be also unfavorable for improving the integrated level of system and reducing costs simultaneously.
Given this, native system connects a ULN2003 chip at single-chip I/O mouth output terminal, by Single-chip Controlling ULN2003, drives relay.ULN2003 consists of 7 groups of darlington transistor array and corresponding resistor network and clamp diode network, there is the ability that simultaneously drives 7 groups of loads, for the ambipolar Large-power High-Speed integrated circuit of monolithic, be suitable for needing the power electronic circuit of High-current output ability.ULN2003 has current gain high (being greater than 1000), carrying load ability strong (output current is greater than 500mA), temperature range wide (40~85 ℃), the advantages such as operating voltage high (being greater than 50V).Its input end is inputted 7 road Transistor-Transistor Logic level control signals, just can directly control 7 tunnel output signals, can connect with single-chip microcomputer and be connected, easy to use, succinct.
The Software for Design of system is divided into smart mobile phone Software for Design and scm software design.
Smart mobile phone Software for Design comprises connection bluetooth equipment, sends instruction, Graphics Processing result etc.Scm software design comprises that the reception of user instruction, instruction resolve, carry out and return execution result, show intelligent switch state etc.
Fig. 7 is the smart mobile phone software flow pattern of the utility model household electric appliances control device;
Fig. 8 is the scm software design flow diagram of the utility model household electric appliances control device.
1. smart mobile phone Software for Design
System adopts Android smart mobile phone to carry out software development, and Android is a kind of freedom based on Linux and the operating system of open source code.Because a large amount of mobile devices has adopted Andriod as operating system, for smart mobile phone software has brought good general-purpose platform, adopt Andriod smart mobile phone to carry out software development, not only strengthened the versatility of system software, also saved the cost of developing new movable equipment.
While opening cell phone software, by calling 8 kinds of Android system in package in Andriod.Bluetooth, on Android, set up the connection of RFCOMM agreement, just can connect and disconnect bluetooth equipment, or carry out communication with equipment, realize collection, the transmission of steering order, reception of execution result etc.In said process, obtaining outside bluetooth equipment and connecting is the step of most critical, is divided into following three steps:
(1) obtain Bluetooth adapter
Before obtaining the equipment of bluetooth, first need to add hereof bluetooth response authority, obtain bluetooth activity request BluetoothAdapter(local bluetooth adapter), open a series of processes such as bluetooth, after completing initialization bluetooth equipment and having got local bluetooth adapter, we just can start to receive the outside bluetooth equipment of rope.
(2) search bluetooth equipment
Start search equipment, only need call startDiscovery () function, after calling, return immediately, rreturn value represents whether search successfully starts.The inquiry scan that generally includes 12 seconds is processed in search, then follows a page demonstration and searches equipment B luetooth title.
(3) connection device
Receive rope and connect to the bluetooth equipment of linvor by name that just need to be corresponding with system after outside bluetooth equipment, the bluetooth equipment of smart mobile phone end is as server end, and the bluetooth linvor of connection single-chip microcomputer is as client.First by calling listenUsingRfcommWithServiceRecord (String, UUID), obtain a BluetoothServerSocket object.Character String is the identification title of service, and system can be identified this title and write the service discovery protocol of bluetooth equipment (SDP) database and connect in project.Character UUID is included in SDP access port, and it is the basis with customer equipment connection protocol.In native system, between server and client side, with serial ports pattern, communicate, so UUID is a fixing character string: " 00001101-0000-1000-8000-00805F9B34FB ".
After the transmission that completes UUID, by calling accept (), intercept connection request.This is calling of an obstruction, knows to have to connect or produce and extremely just can return, and only has remote equipment to send out a connection request, and the UUID carrying with intercept the UUID that its socket registers and mate, connection request just can be accepted.After receiving the connection request of client, call close() method discharges the bluetooth socket of service end, because RFCOMM agreement only allows to connect the bluetooth equipment of a client in section at one time.
After completing above-mentioned three steps, the bluetooth equipment on smart mobile phone is connected and sets up with client bluetooth, can pass through InputStream() and OutputSream() interface transmit and receive data.
2. scm software design
First single-chip microcomputer has needed the initialization of internal register and external module after powering on.Internal register initialization comprises clock, timer, UART, interruption, IO mouth etc., and external module initialization comprises intelligent switch, TFT-LCD etc.
After initialization completes, just can monitor bluetooth module by UART and by serial ports, send to the dependent instruction of single-chip microcomputer, after receiving data to being left in the heap of single-chip microcomputer, because the ratio RAM of storage area in the heap of single-chip microcomputer is large, and can freely be used by program developer, so we are stored in the data that receive in heap, and then resolve, contrast the data that receive, and carry out corresponding operation according to corresponding instruction.After execution user instruction, need that execution result is turned back to user mobile phone and check, and show on the TFT-LCD that connects single-chip microcomputer.
At operational process, whether single-chip microcomputer also can continue to monitor bluetooth connection normal, if bluetooth connects, disconnects, and system can be closed intelligent switch automatically, guarantees user's Electrical Safety and environmental protection and energy saving.
Finally it should be noted that: the foregoing is only preferred embodiment of the present utility model, be not limited to the utility model, although the utility model is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.All within spirit of the present utility model and principle, any modification of doing, be equal to replacement, improvement etc., all should be included in protection domain of the present utility model it.

Claims (6)

1. a household electric appliances control device, by bluetooth, be connected with intelligent terminal, Smart Home electrical equipment, it is characterized in that, comprise: single-chip microcomputer and the bluetooth module being connected with single-chip microcomputer and I/O interface, wherein, described I/O interface is connected with again TFT display screen, matrix press-key and one or more intelligent switch, and single-chip microcomputer adopts UART0 port to be connected with described bluetooth module.
2. household electric appliances control device according to claim 1, is characterized in that, what described single-chip microcomputer was chosen is MSP430 module.
3. household electric appliances control device according to claim 2, is characterized in that, described MSP430 module adopts the form of 16 bit data width to carry out data line with TFT display screen to be connected.
4. according to the arbitrary described household electric appliances control device of claim 1~3, it is characterized in that, described intelligent terminal is chosen smart mobile phone, flat board or computer.
5. household electric appliances control device according to claim 3, is characterized in that, described MSP430 module is provided with two-way UART0 port, and carries out full-duplex communication by mode and the bluetooth module of serial communication.
6. household electric appliances control device according to claim 5, it is characterized in that, the output terminal of the single-chip processor i/o interface of described MSP430 module connects a ULN2003 chip, and ULN2003 chip connects a relay, and described Single-chip Controlling ULN2003 drives described relay.
CN201420158255.6U 2014-04-02 2014-04-02 A kind of household electric appliances control device Expired - Fee Related CN203965848U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420158255.6U CN203965848U (en) 2014-04-02 2014-04-02 A kind of household electric appliances control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420158255.6U CN203965848U (en) 2014-04-02 2014-04-02 A kind of household electric appliances control device

Publications (1)

Publication Number Publication Date
CN203965848U true CN203965848U (en) 2014-11-26

Family

ID=51926407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420158255.6U Expired - Fee Related CN203965848U (en) 2014-04-02 2014-04-02 A kind of household electric appliances control device

Country Status (1)

Country Link
CN (1) CN203965848U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105527952A (en) * 2016-01-20 2016-04-27 宁波六脉神剑软件科技有限公司 Smart home control device and electric appliance matching system and method
CN111758123A (en) * 2017-12-08 2020-10-09 尼特莫公司 Multi-state device with communication link and remote control with identification capability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105527952A (en) * 2016-01-20 2016-04-27 宁波六脉神剑软件科技有限公司 Smart home control device and electric appliance matching system and method
CN111758123A (en) * 2017-12-08 2020-10-09 尼特莫公司 Multi-state device with communication link and remote control with identification capability

Similar Documents

Publication Publication Date Title
CN102856741B (en) Multi-channel remote control switch socket
CN203366017U (en) Building talk-back intelligent terminal and crash restart system for same
CN102457529A (en) Intelligent remote controller controlled through webpage
CN105554978A (en) Energy-saving system for intelligently controlling lighting of classrooms employing bluetooths
CN203965848U (en) A kind of household electric appliances control device
CN204129933U (en) A kind of internet of things intelligent household control device of wireless
CN101997963B (en) Power supply management method and system of portable communication device
CN205334130U (en) Intelligence switch based on arduino
CN204462684U (en) Based on the intelligent domestic system of FPGA and cloud platform
CN103048957B (en) Intelligent electric source control system
CN105764197A (en) Intelligent illumination system based on WIFI-ZigBee fusion communication
CN2857380Y (en) Cell phone able to display time without starting
CN204333488U (en) A kind of radio network gateway socket controlling system
CN203825455U (en) Household monitoring system
CN104914761A (en) Internet-based remote environment detection and electrical appliance control system
CN202615209U (en) Android-controlled intelligent management system
WO2012100536A1 (en) Andriod-based intelligent device, system and method for controlling power consumption
CN201853119U (en) Intelligent control system for building
CN202773086U (en) ZigBee-based intelligent terminal node of intelligent home furnishing system
CN212157557U (en) Energy-saving control gateway
CN105185281A (en) Intelligent electronic guidance system of university comprehensive experiment building
CN206057958U (en) It is a kind of can feedback environment parameter intelligent home control system
CN204462805U (en) Based on the all-weather intelligent house system of ZigBee technology
CN203133544U (en) Power consumption controller used for wireless smart home
CN203571877U (en) Intelligent heating-ventilation temperature controller based on 433 MHz wireless control

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141126

Termination date: 20180402