CN205992136U - A kind of intelligent domestic system being controlled based on STM32 and Android - Google Patents

A kind of intelligent domestic system being controlled based on STM32 and Android Download PDF

Info

Publication number
CN205992136U
CN205992136U CN201620824113.8U CN201620824113U CN205992136U CN 205992136 U CN205992136 U CN 205992136U CN 201620824113 U CN201620824113 U CN 201620824113U CN 205992136 U CN205992136 U CN 205992136U
Authority
CN
China
Prior art keywords
module
stm32
android
domestic system
intelligent domestic
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
CN201620824113.8U
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.)
Hainan University
Original Assignee
Hainan 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 Hainan University filed Critical Hainan University
Priority to CN201620824113.8U priority Critical patent/CN205992136U/en
Application granted granted Critical
Publication of CN205992136U publication Critical patent/CN205992136U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

This utility model is related to a kind of intelligent domestic system controlling based on STM32 and Android, including AC DC power module, WIFI serial port module, circuit board fixing port, kernel control module, ULN2003 module, ASM117 Voltage stabilizing module, relay module, USART interface, TTL module, toggle switch, peripheral components module;Described peripheral components module includes steering wheel module, board switch, electric light module, socket.This utility model is a kind of app things system, with family as platform, have both building, automatization, intelligent facility in one, comfortable, safe and efficient intelligent domestic system, instruction is initiated by mobile phone terminal app, pass to main control chip STM32F103C8T6 to be parsed, realize realizing the Based Intelligent Control to household electric appliances etc. by the technological means of the information such as network communication, there is economic worth and the realistic meaning of reality.

Description

A kind of intelligent domestic system being controlled based on STM32 and Android
Technical field
This utility model is related to a kind of intelligent domestic system, specifically a kind of intelligence being controlled based on STM32 and Android Energy house system, belongs to field of intelligent control.
Background technology
Smart home is with family as platform, has both building, automatization, intelligent facility in one, comfortable, safety, height The domestic environment of effect.The smart home of automatization has become the instrument helping people rationally to employ one's time to the best advantage, makes family more Comfortable, safe efficient and energy-conservation.Intelligent and remotely control is the two major features of smart home, and its target is by network Realize the Based Intelligent Control to household electric appliances etc. etc. the technological means of information communication so as to can transport according to the setting work of people OK, regardless of whether the distance of distance.At present, more and more personal and mechanism has been had to begin one's study smart home.
The appearance of Internet of Things concept, the Traditional Thinking before having broken.The thinking in past is always by physical infrastructure With IT infrastructure separately, on the one hand it is airport, highway, building, is on the other hand data center, PC, broadband etc.. And in the Internet of things era, armored concrete, cable will be integrated into unified infrastructure with chip, broadband, in this sense, base Infrastructure is more like one piece of new earth.The application of Internet of Things is quite varied, hands over throughout safety home, public safety, intelligence The fields such as logical, intelligent fire, environmental conservation, environmental monitoring, industry monitoring.With the development of network technology, particularly wireless network The development of network, it is therefore desirable to a kind of app- things system, can be initiated command reception to mobile phone terminal app, pass to main control chip and enter Row parsing, and then control peripheral relay, motor, relay can drive the electric light of family, fan etc., and motor can be used to drive The intelligent domestic system of the door of dynamic family, curtain etc..
Content of the invention
The purpose of this utility model is to provide one kind with family as platform, has both building, automatization, intellectuality in one just Sharp, comfortable, safe and efficient intelligent domestic system, thus realize realizing to family by the technological means of the information such as network communication Occupy the Based Intelligent Control of electrical equipment etc..
To achieve these goals, the technical solution of the utility model is:There is provided a kind of for daily household based on The intelligent domestic system that STM32 and Android control, including AC-DC power module, WIFI serial port module, circuit board fixing port, Kernel control module, ULN2003 module, ASM117 Voltage stabilizing module, relay module, USART interface, TTL module, dial-up are opened Pass, peripheral components module;Described peripheral components module includes steering wheel module, board switch, electric light module, socket, steering wheel It is provided with WIFI serial port module, WIFI serial port module right is provided with kernel control module, and kernel control module side sets above module There is ULN2003 module;Described circuit board fixing port is located at upper right side, and board switch is located at middle and upper part, and upper left quarter has electric light Module, AC-DC module, ASM117 Voltage stabilizing module, are provided with relay module below AC-DC module, socket is located at bottom.
Described WIFI serial port module adopts the integrated chip of ESP8266, adds outward 10K Ω, a 1K Ω resistance With the resistance of 100 Ω, also 104 electric capacity.
Described kernel control module adopts arm processor STM32F103C8T6, and STM32 and ESP8266 is to pass through Come to communicate, the level of their GPIO mouth is all 3.3V to USART, without pre-add level switch module.
Described ULN2003 module is high withstand voltage, high current Darlington display, is made up of seven silicon NPN Darlington transistors, Every a pair of Darlington of ULN2003 module is all connected the base resistance of a 2.7K.
Described AC-DC power module adopts voltage dropping power supply module HLK-PM01, and 220V is turned 5V.
Described ASM117 Voltage stabilizing module adopts SOT-223 to encapsulate, and it is internally integrated overtemperature protection and current-limiting circuit.
Described relay module adopts 4 SRD-05VDC-SL-C relays.
Described TTL module adopts MAX3232 chip, and the single supply electrical level transferring chip of standard serial port, using the single electricity of+5V Source powers.
Compared with prior art, the beneficial effects of the utility model are:With family as platform, have both building, automatization, intelligence Change facility in one, comfortable, safe and efficient intelligent domestic system, instruction is initiated by mobile phone terminal app, passes to master control core Piece STM32F103C8T6 is parsed it is achieved that the technological means being passed through the communication of the information such as network are realized to household electric appliances etc. Based Intelligent Control, has economic worth and the realistic meaning of reality;Employ the WIFI serial ports wireless controlled processing procedure of Android platform Sequence, mobile phone connects the WIFI hot spot of ESP8266 module, and startup program can enter the interface of mastery routine, presses interface button When, send and instruct to STM32 single-chip microcomputer accordingly, you can intellectual remote controlling is carried out to household electrical appliance.
Brief description
Fig. 1 is intelligent domestic system circuit board overall structure diagram of the present utility model.
Fig. 2 is intelligent domestic system of the present utility model overall material object schematic diagram.
Fig. 3 is intelligent domestic system entirety principle schematic of the present utility model.
Fig. 4 is intelligent domestic system PCB circuit diagram of the present utility model.
Fig. 5 is TTL serial port module MAX3232 principle schematic of the present utility model.
Fig. 6 is the TTL module material object schematic diagram after encapsulation of the present utility model.
Fig. 7 is schematic diagram in kind after WIFI serial port module welding of the present utility model.
Fig. 8 is that mobile phone app of the present utility model opens interface schematic diagram.
Fig. 9 is intelligent domestic system circuit board plane structural representation of the present utility model.
In figure:1- steering wheel module, 2-WIFI serial port module, 3- circuit board fixing port, 4- kernel control module, 5- circuit board Switch, 6-ULN2003 module, 7- electric light module, 8-AC-DC module, 9-ASM117 Voltage stabilizing module, 10- relay module, 11- Socket, 12-TTL module, 13- mobile phone app port setting, 14- open all devices, 15- open the door, 16(17、18)- open electric light 3(2、 1)、19(20、21)- turn off the light 1(2、3), 22- close the door, 23- close all devices.
Specific embodiment
In order to describe in detail the intelligent domestic system that this utility model is controlled based on STM32 and Android technology contents, Structural features, below in conjunction with embodiment and coordinate accompanying drawing to be described further.
As shown in Fig. 1,2,3,4,5,6,7,8,9, the intelligent domestic system that controlled based on STM32 and Android, including AC-DC power module 8, WIFI serial port module 2, circuit board fixing port 3, kernel control module 4, ULN2003 module 6, ASM117 Voltage stabilizing module 9, relay module 10, USART interface, TTL module 12, toggle switch, peripheral components module;Described peripheral device Part module includes steering wheel module 1, board switch 5, electric light module 7, socket 11, is provided with WIFI serial ports mould above steering wheel module 1 Block 2, WIFI serial port module 2 right is provided with kernel control module 4, and kernel control module 4 side is provided with ULN2003 module 6;Described Circuit board fixing port 3 be located at upper right side, board switch 5 be located at middle and upper part, upper left quarter have electric light module 7, AC-DC module 8, ASM117 Voltage stabilizing module 9, is provided with relay module 10 below AC-DC module 8, socket 11 is located at bottom.
Described WIFI serial port module 2 adopts the integrated chip of ESP8266, adds outward 10K Ω, a 1K Ω resistance With the resistance of 100 Ω, also 104 electric capacity.
Described kernel control module 4 adopts arm processor STM32F103C8T6, and STM32 and ESP8266 is to pass through Come to communicate, the level of their GPIO mouth is all 3.3V to USART, without pre-add level switch module.
Described ULN2003 module 6 is high withstand voltage, high current Darlington display, is made up of seven silicon NPN Darlington transistors, Every a pair of Darlington of ULN2003 module is all connected the base resistance of a 2.7K.
Described AC-DC power module 8 adopts voltage dropping power supply module HLK-PM01, and 220V is turned 5V.
Described ASM117 Voltage stabilizing module 9 adopts SOT-223 to encapsulate, and it is internally integrated overtemperature protection and current-limiting circuit.
Described relay module 10 adopts 4 SRD-05VDC-SL-C relays.
Described TTL module 12 adopts MAX3232 chip, and the single supply electrical level transferring chip of standard serial port, using+5V list Power supply is powered.
With STM32F103C8T6 chip as control core, relay module 10, as change-over circuit, is sent out with mobile phone terminal app Play instruction, hardware components WIFI serial port module 2 receives instruction, passes to main control chip STM32F103C8T6, main control chip is to finger Order is parsed, and instruction good to the instruction parsing and other side's agreement is contrasted, last main control chip just can basis This instruction controls peripheral relay, motor, and relay module 10 can drive the electric light of family, fan etc., and motor can be used To drive door, the curtain of family.Rational mechanical encapsulation, you can realize app- things system.Make pcb board by hand, see that Fig. 4 is Intelligent domestic system PCB circuit diagram.After PCB is printed with transfer paper, it is transferred on copper coin with flatiron, with the copper after transfer Plate, is put into caustic(Ferric chloride)Heat aqueous corrosion, after sand papering.
Software is the unlimited control program of WIFI serial ports of Android platform, and mobile phone first will connect ESP8266 module WIFI hot spot, startup program can enter the interface of mastery routine, connects IP and the port of ESP8266.There is IP ground at the interface of program The frame of location setting, also port numbers, are 8 button controls controlling household electrical appliance with that, each control have corresponding Audiomonitor, when a button is depressed, sends and instructs accordingly to STM32 single-chip microcomputer.So the function of software is to can connect to first The IP of ESP8266 and port, secondly exactly can open and close corresponding equipment.Facility switching has the switch of 3 electric lights, also There is fan (socket) switch, be exactly also the switch of door, they can control corresponding relay on-off respectively.Mobile phone and The communication of WIFI serial ports is to be completed by the agreement of TCP/IP.User interface adopts reference software frame structure, provides straight The interactive operation seen, five operating user interface simplicity.Every a pair of Darlington of ULN2003 module is all connected the base of a 2.7K Electrode resistance, under the running voltage of 5V, it can be joined directly together with TTL and cmos circuit, and can directly process originally needs standard to patrol Collect buffer come the data to process.
When the intelligent domestic system work being controlled based on STM32 and Android:
Open circuit switching plate 5, then opens mobile phone WIFI setting, connects focus (WILDFIRE), initial password is E12345678;Open " Internet of Things household ", startup program can enter the interface of mastery routine, connect IP and the port of ESP8266 13, click on the cross in the interface upper right corner, hook number will be become, represent successful connection;Here it is controlling 8 buttons of household electrical appliance Control(14-23), each control has corresponding audiomonitor, when a button is depressed, sends and instruct accordingly to STM32 monolithic Machine 4, hardware components WIFI serial ports 2 receives instruction, passes to main control chip STM32F103C8T6, and main control chip 4 is carried out to instruction Parsing, is contrasted instruction good to the instruction parsing and other side's agreement, last main control chip 4 just can refer to according to this Order controls peripheral components.Then first lamp 18 can be lighted;Light second electric light 17.Close first lamp 19, then open Second lamp 20.All of equipment 23 can be closed first, then click on door open button 15, or after several seconds, click on door close button again 22, will steering wheel 1 rotate and reverse, the angle of rotation can oneself setting inside program.Click on and open all devices 14, institute Some electric lights 7 are all light, motor 1 rotates, also have socket 11 also automatically to go up electricity;Click on and close all devices, all of electric light 7 All go out, motor 1 stops operating, also have socket 11 also to automatically power off.
Electric light 7 controls:The electric light 7 of family is typically all 220V voltage, and in order to control 220V household electrical appliances, the system adopts Relay 10, be can achieve using the normally opened of relay 10 and normally-closed contact.
Socket 11 controls:Traditional household socket is it is simply that simply realize power supply conveying, and socket 11 can realize mobile phone To be opened or closed the power supply of socket, to realize controlled in wireless.
Door and window controls:Accurately control the corner of steering wheel 1, using PWM pulse-width controlled, reach the purpose of precise positioning point, Steering wheel 1 is installed the door and window that family is controlled on door and window at home with steering wheel 1.Steering wheel module 1, the work electricity of small-sized steering machine 1 Pressure is generally 4.8V or 6V, and rotating speed is not quickly, and its operation principle is that control signal is adjusted by the passage entering signal of receiver Coremaking piece 4, obtains DC offset voltage.There is a reference circuit, the generation cycle is 20ms, width is the base of 1.5ms inside it Calibration signal, by the voltage ratio of the DC offset voltage obtaining and potentiometer relatively, obtains voltage difference output.Finally, voltage difference is being just Negative output determines the rotating of motor 1 to motor 1 driving chip.When motor 1 rotating speed one timing, driven by cascading reduction gearing Potentiometer rotates so that voltage difference is zero, and motor 1 stops operating.The control of steering wheel 1 generally require a 20ms about when base Pulse, the high level part of this pulse is generally the Angle ambiguity segment pulse in the range of 0.5ms-2.5ms.
Program part is broadly divided into:Single Chip Microcomputer (SCM) program and APP design program:
1. singlechip main program:
int main ( void )
{
PWM_Init();The output initialization of //PWM steering wheel pulsewidth
USARTx_Config();// initialization serial ports
SysTick_Init();// initialize ticking intervalometer
ESP8266_Init();// initialization ESP8266
LED_Init ();// initialization LED
ESP8266_StaTcpClient_UnvarnishTest ();// wait instruction
while(1);
}
2.APP designs part mastery routine
The program of // packing instruction // enter to join the function that id is which button opt specified refers to selection
public byte[] packageCmd(byte id,byte opt) {
byte[] cmd=new byte[]
{0x43,0x4D,0x44,0x5F,0x4C,0x45,0x44,0x5F,id,0x5F,opt};
return cmd;
}
Above-mentioned is singlechip main program and APP designs part mastery routine.
Above-described be only preferred embodiment of the present utility model, but the power of this utility model can not be limited with this Sharp scope, equivalence replacement, modification and improvement that therefore this utility model claim is made etc., still fall within this utility model and contained The scope of lid.

Claims (8)

1. a kind of intelligent domestic system being controlled based on STM32 and Android it is characterised in that include AC-DC power module, WIFI serial port module, circuit board fixing port, kernel control module, ULN2003 module, ASM117 Voltage stabilizing module, relay module, USART interface, TTL module, toggle switch, peripheral components module;Described peripheral components module includes steering wheel module, circuit board Switch, electric light module, socket, are provided with WIFI serial port module above steering wheel module, WIFI serial port module right is provided with core control Module, kernel control module side is provided with ULN2003 module;Described circuit board fixing port is located at upper right side, board switch Positioned at middle and upper part, upper left quarter has electric light module, AC-DC module, ASM117 Voltage stabilizing module, is provided with relay below AC-DC module Module, socket is located at bottom.
2. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described WIFI serial port module adopts the integrated chip of ESP8266, adds outward the electricity of a 10K Ω, a 1K Ω resistance and 100 Ω Resistance, also 104 electric capacity.
3. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described Kernel control module adopts arm processor STM32F103C8T6, STM32 to communicate by USART with ESP8266, they The level of GPIO mouth be all 3.3V, without pre-add level switch module.
4. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described ULN2003 module be high withstand voltage, high current Darlington display, be made up of seven silicon NPN Darlington transistors, ULN2003 module every A pair of Darlington is all connected the base resistance of a 2.7K Ω.
5. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described AC-DC power module adopts voltage dropping power supply module HLK-PM01, and 220V is turned 5V.
6. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described ASM117 Voltage stabilizing module adopts SOT-223 to encapsulate, and it is internally integrated overtemperature protection and current-limiting circuit.
7. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described Relay module adopts 4 SRD-05VDC-SL-C relays.
8. the as claimed in claim 1 intelligent domestic system being controlled based on STM32 and Android it is characterised in that:Described TTL module adopts MAX3232 chip, the single supply electrical level transferring chip of standard serial port, is powered using+5V single supply.
CN201620824113.8U 2016-08-02 2016-08-02 A kind of intelligent domestic system being controlled based on STM32 and Android Expired - Fee Related CN205992136U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620824113.8U CN205992136U (en) 2016-08-02 2016-08-02 A kind of intelligent domestic system being controlled based on STM32 and Android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620824113.8U CN205992136U (en) 2016-08-02 2016-08-02 A kind of intelligent domestic system being controlled based on STM32 and Android

Publications (1)

Publication Number Publication Date
CN205992136U true CN205992136U (en) 2017-03-01

Family

ID=58105998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620824113.8U Expired - Fee Related CN205992136U (en) 2016-08-02 2016-08-02 A kind of intelligent domestic system being controlled based on STM32 and Android

Country Status (1)

Country Link
CN (1) CN205992136U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106019974A (en) * 2016-08-02 2016-10-12 海南大学 Smart home system based on STM32 and Android control
CN107145111A (en) * 2017-06-29 2017-09-08 泰姆瑞技术(深圳)有限公司 A kind of method of controller and control targe equipment based on ARM chips
CN109219217A (en) * 2018-09-28 2019-01-15 南通职业大学 A kind of novel switched control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106019974A (en) * 2016-08-02 2016-10-12 海南大学 Smart home system based on STM32 and Android control
CN107145111A (en) * 2017-06-29 2017-09-08 泰姆瑞技术(深圳)有限公司 A kind of method of controller and control targe equipment based on ARM chips
CN109219217A (en) * 2018-09-28 2019-01-15 南通职业大学 A kind of novel switched control device

Similar Documents

Publication Publication Date Title
CN104832445B (en) A kind of fan control system based on Internet of Things and method
CN205992136U (en) A kind of intelligent domestic system being controlled based on STM32 and Android
CN203719041U (en) IoT (internet of things) remote energy-saving monitoring system for air conditioner
CN106019974A (en) Smart home system based on STM32 and Android control
CN105615763A (en) Three-sucker type cleaning device and control method thereof
CN105517299A (en) Intelligent switch assembly
CN106231760B (en) A kind of family's lamp intelligent switch method based on Internet of Things
CN107680846A (en) Additive type wall surface switch remote control
CN111580401A (en) VR technology-based semi-physical compatibility intelligent home control system
CN205405140U (en) Wireless Intelligence switching system
CN105120563A (en) Single-chip-microcomputer-based intelligent household illumination system
CN206249030U (en) Small intelligent household demo system
CN205540000U (en) Intelligent control system for household appliances
CN205450593U (en) Intelligent household control host
CN206193447U (en) Intelligence house energy -saving system
CN206863939U (en) A kind of general bimodulus remote control with self-learning function
CN106027347A (en) Embedded smart gateway device applicable to smart home system and application method thereof
CN204539533U (en) A kind of lamp decoration controlled by smart mobile phone
CN209446993U (en) A kind of smart home demo system
CN106681215A (en) Intelligent switching control system
CN207690276U (en) A kind of multifunctional household remote controler based on smart machine
CN209453561U (en) A kind of controllable humanoid Dancing Robot using mobile communication
CN208988434U (en) Light-operated remote-control electric curtain
CN206024208U (en) A kind of family's lamp intelligent switch device based on Internet of Things
CN204887627U (en) House lighting device

Legal Events

Date Code Title Description
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: 20170301

Termination date: 20170802