CN104881980B - A kind of visual touch screen intelligent remote control device and its control method - Google Patents

A kind of visual touch screen intelligent remote control device and its control method Download PDF

Info

Publication number
CN104881980B
CN104881980B CN201510219604.XA CN201510219604A CN104881980B CN 104881980 B CN104881980 B CN 104881980B CN 201510219604 A CN201510219604 A CN 201510219604A CN 104881980 B CN104881980 B CN 104881980B
Authority
CN
China
Prior art keywords
touch screen
microcontroller
microcontrollers
wireless module
fan
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.)
Active
Application number
CN201510219604.XA
Other languages
Chinese (zh)
Other versions
CN104881980A (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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201510219604.XA priority Critical patent/CN104881980B/en
Publication of CN104881980A publication Critical patent/CN104881980A/en
Application granted granted Critical
Publication of CN104881980B publication Critical patent/CN104881980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of visual touch screen intelligent remote control device and its control methods, belong to Smart Home technical field.The present invention includes transmitting terminal and receiving terminal two large divisions;The transmitting terminal is made of STM32 microcontrollers, touch screen circuitry, wireless module I, power module, wherein STM32 microcontrollers are connected with power module outlet mouth, touch screen circuitry output port, I input port of wireless module respectively, and power module is connected with the power supply terminal of STM32 microcontrollers, touch screen circuitry, wireless module I respectively;The receiving terminal is made of AT89C51 microcontrollers, wireless module II, color lamp circuit, fan circuit;Wherein the input port of AT89C51 microcontrollers is connect with the output port of wireless module II, and AT89C51 microcontrollers are also connected with color lamp circuit, fan circuit input port respectively.The present invention is simple and practical;It is cheap;Stablize durable;Scalability.

Description

A kind of visual touch screen intelligent remote control device and its control method
Technical field
The present invention relates to a kind of visual touch screen intelligent remote control device and its control methods, belong to smart home technology Field.
Background technology
With the development of science and technology, our life has be unable to do without the various intelligent appliances such as television set, air-conditioning, certain remote controler It is also essential accessory, it brings facility to us, but more and more with the household electrical appliances of family, generates therewith multiple Remote controler brings unnecessary trouble to our life instead, and remote controler excessively also results in unnecessary resource wave Take, the purpose of design of this project is exactly to realize the intelligence of remote controler, realizes that a remote controler can control multiple household electrical appliances, simultaneously Also remote controler visualization, touchization are realized, brings us better amenities of life.Nearly 2 years, with the development of touch screen technology, The touch epoch will be come into, finger is only needed gently one to slide the purpose desired by achieving that, this not only brings facility to life, And life is made to be filled with enjoyment.Present people are more and more to the application of touch screen, because touch screen technology can not only expire Sufficient people quickly consult the demand of useful information, but also with sturdy and durable, reaction speed is fast, saving space, is easy to exchange The advantages that, so we have critically important meaning to the exploitation of touch screen.The present invention have good application value and Foreground.
Invention content
The object of the present invention is to provide a kind of visual touch screen intelligent remote control device and its control methods, to realize The intelligence of remote controler realizes that a remote controler can control multiple household electrical appliances, while the also visualization of realization remote controler, touchization, It is easy to operate, it is easy to use.
The technical scheme is that:A kind of visual touch screen intelligent remote control device, including transmitting terminal and receiving terminal Two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 (2.4GHZ-2.525GHZ) and transmission rate is 2Mbps, and specified button exports:Press on & off switch, LED lights system System is opened, indicator light when red;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;It presses When key, four LED light are lighted;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps are put out It goes out, system is closed, and other buttons do not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 (2.4GHZ-2.525GHZ) and transmission rate, and specified button exports:Press on & off switch, fan control system It opens, indicator light when red;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;No matter what When on & off switch when pressing again, fan stalling, system is closed, and other buttons do not work.
The present invention operation principle be:
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit, STM32 microcontrollers 1 Delivery outlet PA5, PA6 of middle microcontroller, PA7, PB6, PB7, PD0, PD1, PD4, PD5, PD7, PD8, PD9, PD10, PD11, PD14, PD15, PE1, PE7, PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PD13 respectively with touch screen circuitry 2 Terminal DCLK, DOUT, DIN, PENIRQ, CS, 16,17,13,12,10,27,28,29,11,14,15,30,18,19,20, 21,22,23,24,25,26, EN is connected, delivery outlet PA0, PB0 of microcontroller in STM32 microcontrollers 1, PB13, PB14, PB15, PC6 respectively in I NRF24L01 Monolithic RF transceivers 3 of wireless module terminal IRQ, CSN, SCK, MISO, MOSI, CE connections.
The transmitting terminal touch screen circuitry 2 includes touch screen controller XPT2046N, LED drive circuit PT4402, LCD liquid Crystalline substance screen.Terminal DCLK, CS, DIN, DOUT, PENIRQ of touch screen controller XPT2046N respectively in STM32 microcontrollers 1 Delivery outlet PA5, PB7, PA7, PA6, PB6 connection of microcontroller, terminal X+, X-, Y+, Y-of touch screen controller XPT2046N It is connect respectively with LCD liquid crystal displays X+, X-, Y+, Y-terminal;The control terminal PD7 of microcontroller in STM32 microcontrollers 1, PD11、PD5、PD4、PD14、PD15、PD0、PD1、PE7、PE8、PE9、PE10、PE11、PE12、PE13、PE14、PE15\、 PD8, PD9, PD10, PE1 respectively with LCD liquid crystal displays terminal 10,11,12,13,14,15,16,17,18,19,20,21,22,23, 24, it 25,26,27,28,29,30 is correspondingly connected with;LCD liquid crystal displays terminal 33,34,35,36 respectively with LED drive circuit PT4402 Terminal LED1, LED2, LED3, LED4 are correspondingly connected with;Delivery outlet PD13 and LED the driving electricity of microcontroller in STM32 microcontrollers 1 Road PT4402 terminals EN connections.
The spi bus port of the I NRF24L01 Monolithic RF transceivers 3 of wireless module includes CE, CSN, SCK, MOSI, MISO, IRQ pin are connect with pin PC6, PB0, PB13, PB15, PB14, PA0 of STM32 microcontrollers 1 respectively.
The power module 4, including voltage conversion chip, filter capacitor, light emitting diode, resistance.Power input uses 5V DC voltages export 3.3V voltages by voltage conversion chip LM1117-3.3V.5V power supplys are accessed by power outlet System, light emitting diode D2 are used as and power on indicator light.The ends VIN of LM1117-3.3V respectively with switch S1, resistance R4, capacitance C6 One end connects;Another termination 5V power supplys of switch S1;The anode of the other end sending and receiving optical diode D2 of resistance R4, light emitting diode The minus earth of D2;The other end of capacitance C6 is connected with the GND of voltage conversion chip LM1117-3.3V;LM1117-3.3V's The ends VOUT export 3.3V voltages and connect connection with one end of capacitance C7, C8 respectively, the other end and the voltage conversion of capacitance C7, C8 The GND of chip LM1117-3.3V is connected;The ends GND of LM1117-3.3V are grounded.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;AT89C51 microcontrollers Pin P2.3, P2.4, P2.5, P2.6, P2.7 of microcontroller distinguish II NRF24L01 Monolithic RF transceivers of wireless module in device 5 6SPI terminals connect;P2.0 mouthfuls of microcontroller in AT89C51 microcontrollers 5 is connect with the control terminal of fan circuit 8; Microcontroller P1.0, P1.1, P1.4, P1.6, P1.7 in AT89C51 microcontrollers 5 connect with the control terminal of color lamp circuit 7 respectively It connects.
The spi bus port of II NRF24L01 Monolithic RF transceivers 6 of the wireless module include CE, CSN, SCK, MOSI, MISO, IRQ pin, respectively in AT89C51 microcontrollers 5 microcontroller pin P2.7, P2.6, P2.5, P2.4, P2.3, P2.2 are connected;
The color lamp circuit 7 includes resistance R1, R2, R3, R4, R5, light emitting diode D1, D2, D3, D4, D5;Luminous two The cathode of pole pipe D1, D2, D3, D4, D5 respectively in AT89C51 microcontrollers 5 microcontroller pin P1.0, P1.1, P1.4, P1.6, P1.7 are connected;The anode of light emitting diode D1, D2, D3, D4, D5 one end phase with resistance R1, R2, R3, R4, R5 respectively Even, the other end of resistance R1, R2, R3, R4, R5 connect 5V power supplys;
The fan circuit 8 includes resistance R7, triode Q1 and fan electromotor B1;One end of resistance R7 and AT89C51 Microcontroller pin P2.0 connections in microcontroller 5;The other end is connected with the base stage of triode Q1;The emitter of triode Q1 connects 5V power supplys, the other end ground connection of collector wind-receiving fan direct current generator B1, motor B1.
The beneficial effects of the invention are as follows:
1, simple and practical
For the daily life of most of families, the simple and practical property of remote controler is of great significance.Now Our life has be unable to do without the various intelligent appliances such as television set, air-conditioning, generates multiple remote controlers therewith, gives our life instead It is living to bring unnecessary trouble, one simple and practical remote controler that can control multiple household electrical appliances of design be it is meaningful, therefore Simple and practical is the principle of system design.
2, cheap
The main or traditional Infrared push button formula remote control in country remote controler market at present, wireless contact screen remote screen is at home Occupation rate of market is relatively low, so that touch screen remote controller is realized quickly universal, need to accomplish cheap, it is necessary first at This is cheap, and cost is reduced while meeting performance, must just devote more time and energy in device selection.Select the chip of high performance-price ratio With peripheral components and the software increased income.
3, stablize durable
Necessarily a stable system, intelligent remote control system are no exception for good system.Accomplish that performance is stablized, just must It must ensure the reasonability of system architecture and the harmony of design of hardware and software.
4, scalability
Scalability is judge system quality important because of rope, to consider to make system when designing modules function Has certain scalability, convenient optimization and upgrading in the future.
Description of the drawings
Fig. 1 is the principle of the present invention block diagram;
Fig. 2 is transmitting terminal STM32 microcontrollers of the present invention and touch screen connection figure;
Fig. 3 is transmitting terminal STM32 microcontrollers of the present invention and I connection figure of wireless module;
Fig. 4 is transmitting terminal power module figure of the present invention;
Fig. 5 is remote interface figure of the present invention;
Fig. 6 is receiving terminal wiring diagram of the present invention;
Fig. 7 is receiver terminal flow chart of the present invention;
Fig. 8 is sender terminal flow chart of the present invention;
Each label in figure:1-STM32 microcontrollers, 2- touch screen circuitries, 3- wireless modules I, 4- power modules; 5-AT89C51 microcontrollers, 6- wireless modules II, 7- color lamp circuits, 8- fan circuits.
Specific implementation mode
Embodiment 1:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and receiving terminal Two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 2:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
Embodiment 3:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
Embodiment 4:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
Embodiment 5:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Embodiment 6:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
Embodiment 7:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
Embodiment 8:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The color lamp circuit 7 includes resistance, light emitting diode.
Embodiment 9:As shown in figures 1-8, substantially similar to embodiment 1, the difference is that:
The fan circuit 8 includes resistance, triode, fan direct current generator.
Embodiment 10:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 11:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 12:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 13:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 14:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 15:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 16:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 17:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The STM32 microcontrollers 1 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers The input port of microcontroller is connected with the output port of touch screen circuitry 2 in device 1, output port and the wireless module I 3 of microcontroller The circuit of middle input port connects, and the power supply terminal of microcontroller is connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 18:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The touch screen circuitry 2 passes through corresponding spi bus control terminal in its spi bus port and STM32 microcontrollers 1 Son connection, power supply terminal are connected with 4 output port of power module.
The wireless module I 3 is connected by its spi bus port with corresponding control pole in STM32 microcontrollers 1, Power supply terminal is connected with 4 output port of power module.
The power module 4 includes voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
The AT89C51 microcontrollers 5 include a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 is micro- The input port of microcontroller is connected with the output port of wireless module II 6 in controller 5, microcontroller in AT89C51 microcontrollers 5 Output port connect respectively with the control terminal in color lamp circuit 7, fan circuit 8.
The wireless module II 6 is connected by its spi bus port control pole corresponding with AT89C51 microcontrollers 5.
The color lamp circuit 7 includes resistance, light emitting diode.
The fan circuit 8 includes resistance, triode, fan direct current generator.
A kind of control method of visual touch screen intelligent remote control device, the control method are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initial Change;Transmitting terminal includes STM32 microcontrollers 1, touch screen circuitry 2, the initialization of wireless module I 3;Receiving terminal includes AT89C51 microcontrollers 5, wireless module II 6 initialize;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
The microcontroller of C, transmitting terminal STM32 microcontroller 1 is wireless by transmitting terminal by this signal according to the selection of touch screen Module 3 exports:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller 1 judges whether there is key pressing in touch screen circuitry 2:If it is, calling wireless module I 3 launching procedures send information, otherwise continue waiting for interrupting;
C4, STM32 microcontroller 1 judges whether receiving terminal returns and has been received by information signal:If it is, send successfully, Otherwise judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontroller 5 receives corresponding signal by receiving terminal wireless module II 6, if received The information of transmitting terminal, then control color lamp circuit 7 respectively according to signal or fan circuit 8 executes the corresponding command, otherwise waits for instructing:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, setting color light control receive the frequency of information Rate is P1 and transmission rate is 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light red light It is bright;When pressing left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED are lighted Lamp;When pressing lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, other Button does not work;
The control of receiving terminal fan:The program of configuration control fan microcontroller, setting fan control receive the frequency of information It is 1Mbps for P0 and transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light red light It is bright;When pressing left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;Whenever on & off switch is pressed again When, fan stalling, system is closed, and other buttons do not work.
Embodiment 19:As shown in figures 1-8, a kind of visual touch screen intelligent remote control device, including transmitting terminal and reception Hold two large divisions;
The transmitting terminal is made of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontrollers 1 respectively with 4 output port of power module, 2 output port of touch screen circuitry, I 3 input port of wireless module It is connected, power module 4 is connected with the power supply terminal of STM32 microcontrollers 1, touch screen circuitry 2, wireless module I 3 respectively;
The receiving terminal is made of AT89C51 microcontrollers 5, wireless module II 6, color lamp circuit 7, fan circuit 8;Wherein The input port of AT89C51 microcontrollers 5 is connect with the output port of wireless module II 6, and AT89C51 microcontrollers 5 are also distinguished It is connected with color lamp circuit 7,8 input port of fan circuit.
The specific implementation mode of the present invention is explained in detail above in conjunction with attached drawing, but the present invention is not limited to above-mentioned Embodiment within the knowledge of a person skilled in the art can also be before not departing from present inventive concept Put that various changes can be made.

Claims (9)

1. a kind of control method of visual touch screen intelligent remote control device, it is characterised in that:The control method it is specific Steps are as follows:
A is respectively turned on the transmitting terminal of visualization touch-screen intelligent remote controller and the power supply of receiving terminal, starts power up initialization;Hair Sending end includes STM32 microcontrollers(1), touch screen circuitry(2), wireless module I(3)Initialization;Receiving terminal includes AT89C51 microcontrollers(5), wireless module II(6)Initialization;
B shows that selection needs the object controlled according to transmitting terminal touch screen interface;
C, transmitting terminal STM32 microcontrollers(1)Microcontroller according to the selection of touch screen, this signal is passed through into the wireless mould of transmitting terminal Block(3)Output:
C1 carries out tranmitting frequency selection according to on-screen-display message is touched;
C2 carries out emission rate selection according to on-screen-display message is touched;
C3, STM32 microcontroller(1)Judge touch screen circuitry(2)On whether have key pressing:If it is, calling wireless module I (3)Launching procedure sends information, otherwise continues waiting for interrupting;
C4, STM32 microcontroller(1)Judge whether receiving terminal returns and has been received by information signal:If it is, send successfully, it is no Then judge whether to reach the transmission times upper limit:If it is, sending failure, otherwise continue to send;
D, receiving terminal AT89C51 microcontrollers(5)Pass through receiving terminal wireless module II(6)Corresponding signal is received, if received The information of transmitting terminal then controls color lamp circuit respectively according to signal(7)Or fan circuit(8)The corresponding command is executed, is otherwise waited for Instruction:
The control of receiving terminal LED lights:The program of configuration control color lamp microcontroller, the frequency that setting color light control receives information are P1 and transmission rate are 2Mbps, and specified button exports:On & off switch is pressed, LED lights system is opened, indicator light when red;It presses When lower left button, two LED light are lighted;When pressing right button, three LED light are lighted;When pressing key, four LED light are lighted;It presses When lower key, whole LED light are lighted;When whenever on & off switch is pressed again, whole lamps extinguish, and system is closed, and other buttons are not It works;
The control of receiving terminal fan:The program of configuration control fan microcontroller, the frequency that setting fan control receives information are P0 It is 1Mbps with transmission rate, and specified button exports:On & off switch is pressed, fan control system is opened, indicator light when red;It presses When lower left button or upper key, fan rotation;When pressing right button or lower key, fan stalling;When whenever on & off switch is pressed again, wind Fan stalling, system are closed, and other buttons do not work;
The visual touch screen intelligent remote control device includes transmitting terminal and receiving terminal two large divisions;
The transmitting terminal is by STM32 microcontrollers(1), touch screen circuitry(2), wireless module I(3), power module(4)Composition, Wherein STM32 microcontrollers(1)Respectively with power module(4)Output port, touch screen circuitry(2)Output port, wireless module I (3)Input port is connected, power module(4)Respectively with STM32 microcontrollers(1), touch screen circuitry(2), wireless module I(3) Power supply terminal be connected;
The receiving terminal is by AT89C51 microcontrollers(5), wireless module II(6), color lamp circuit(7), fan circuit(8)Composition; Wherein AT89C51 microcontrollers(5)Input port and wireless module II(6)Output port connection, AT89C51 microcontrollers (5)Also respectively with color lamp circuit(7), fan circuit(8)Input port is connected.
2. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described STM32 microcontrollers(1)Including a microcontroller and its crystal oscillating circuit, reset circuit;Wherein STM32 microcontrollers(1)Middle list The input port and touch screen circuitry of piece machine(2)Output port be connected, the output port of microcontroller and wireless module I(3)In The circuit of input port connects, the power supply terminal and power module of microcontroller(4)Output port is connected.
3. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described Touch screen circuitry(2)Pass through its spi bus port and STM32 microcontrollers(1)In the connection of corresponding spi bus control terminal, Its power supply terminal and power module(4)Output port is connected.
4. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described Wireless module I(3)Pass through its spi bus port and STM32 microcontrollers(1)In the connection of corresponding control pole, power supply terminal With power module(4)Output port is connected.
5. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described Power module(4)Including voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
6. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described AT89C51 microcontrollers(5)Including a microcontroller and its crystal oscillating circuit, reset circuit;Wherein AT89C51 microcontrollers(5) The input port of middle microcontroller and wireless module II(6)Output port be connected, AT89C51 microcontrollers(5)Middle microcontroller Output port respectively with color lamp circuit(7), fan circuit(8)In control terminal connection.
7. the control method of visual touch screen intelligent remote control device according to claim 1, is characterized in that:The nothing Wire module II(6)Pass through its spi bus port and AT89C51 microcontrollers(5)In the connection of corresponding control pole.
8. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described Color lamp circuit(7)Include resistance, light emitting diode.
9. the control method of visual touch screen intelligent remote control device according to claim 1, it is characterised in that:It is described Fan circuit(8)Include resistance, triode, fan direct current generator.
CN201510219604.XA 2015-05-04 2015-05-04 A kind of visual touch screen intelligent remote control device and its control method Active CN104881980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510219604.XA CN104881980B (en) 2015-05-04 2015-05-04 A kind of visual touch screen intelligent remote control device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510219604.XA CN104881980B (en) 2015-05-04 2015-05-04 A kind of visual touch screen intelligent remote control device and its control method

Publications (2)

Publication Number Publication Date
CN104881980A CN104881980A (en) 2015-09-02
CN104881980B true CN104881980B (en) 2018-07-24

Family

ID=53949457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510219604.XA Active CN104881980B (en) 2015-05-04 2015-05-04 A kind of visual touch screen intelligent remote control device and its control method

Country Status (1)

Country Link
CN (1) CN104881980B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111188783B (en) * 2020-01-15 2022-03-18 上海禾土机电科技有限公司 Industrial fan controller and control method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2174635Y (en) * 1993-11-11 1994-08-17 陈鸣 Multi-function lamps and lanterns
CN201119075Y (en) * 2007-11-27 2008-09-17 杭州鸿雁电器有限公司 Two-way wireless remote control light control system
CN201714703U (en) * 2010-04-26 2011-01-19 林国尊 Ceiling-fan remote controller and ceiling-fan remote control system
CN202230603U (en) * 2011-10-25 2012-05-23 奥琦玮信息科技(北京)有限公司 Intelligent WIFI (wireless fidelity) remote control
CN203055118U (en) * 2013-01-16 2013-07-10 厦门大洋通信有限公司 Multifunctional remote controller
CN104167091B (en) * 2014-08-15 2018-08-10 珠海格力电器股份有限公司 IR remote controller signal sends the method, apparatus and IR remote controller of control
CN104484991A (en) * 2014-12-23 2015-04-01 核工业理化工程研究院华核新技术开发公司 Wireless data transmission and networking methods for color sorter
CN204650736U (en) * 2015-05-04 2015-09-16 昆明理工大学 A kind of visual touch-screen intelligent remote control device

Also Published As

Publication number Publication date
CN104881980A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN206894939U (en) The controller of LED with bluetooth
CN202857103U (en) Split-type LED video lamp controller
CN110531564A (en) Flashlight driving circuit and intelligent terminal
CN201018692Y (en) Universal power supply input lamp string controller
CN105307315A (en) Color LED lamp string driving circuit and LED lamp string
CN104881980B (en) A kind of visual touch screen intelligent remote control device and its control method
CN205281770U (en) Wireless remote control control circuit
CN202121822U (en) Led constant current drive circuit
CN212086555U (en) But remote control's intelligent lighting circuit
CN202759635U (en) Indicating lamp control circuit and television set
CN204650736U (en) A kind of visual touch-screen intelligent remote control device
CN103167705A (en) Central control system of light emitting diode (LED) intelligent lighting devices based on wireless communication
CN104619063B (en) A kind of illumination control circuit
CN203258456U (en) Remote controlled integrated red-blue LED combination light supplementing lamp
CN202013656U (en) Remote controller for LED lamp group
CN107095564A (en) A kind of curtain controller
CN204883203U (en) Bluetooth household electrical appliances control system based on singlechip
CN204332724U (en) Bluetooth wireless control's wall switch box
CN209419938U (en) A kind of wireless networking light adjusting system based on controller
CN207768060U (en) A kind of curtain controller
CN207232950U (en) Time-sharing multiplex is connected in series circuit
CN113316287A (en) Intelligent control system and control method for household lighting
CN105188196A (en) LED track lamp with intelligent light sensing and light modulation functions
CN101895286B (en) Series connection type single-connection double-connection touch remote control and soft-touch remote control series electronic switch
CN204215197U (en) A kind of multifunction instrument with I/O interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant