CN104881980A - Visual touch screen intelligent remote control device and control method thereof - Google Patents

Visual touch screen intelligent remote control device and control method thereof Download PDF

Info

Publication number
CN104881980A
CN104881980A CN201510219604.XA CN201510219604A CN104881980A CN 104881980 A CN104881980 A CN 104881980A CN 201510219604 A CN201510219604 A CN 201510219604A CN 104881980 A CN104881980 A CN 104881980A
Authority
CN
China
Prior art keywords
microcontroller
wireless module
fan
circuit
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510219604.XA
Other languages
Chinese (zh)
Other versions
CN104881980B (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

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a visual touch screen intelligent remote control device and a control method thereof and belongs to the technical field of smart home. The visual touch screen intelligent remote control device comprises two major parts, namely a transmitting end and a remitting end; the transmitting end is composed of an STM32 microcontroller, a touch screen circuit, a wireless module I and a power module, wherein the STM32 microcontroller is connected with the output port of the power module, the output port of the touch screen circuit and the input port of the wireless module I; the power module is connected with the power terminals of the STM32 microcontroller, the touch screen circuit and the wireless module I respectively; the receiving end is composed of an AT89C51 microcontroller, a wireless module II, a colored lamp circuit and a fan circuit, wherein the input port of the AT89C51 microcontroller is connected with the output port of the wireless module II; the AT89C51 microcontroller is further connected with the input ports of the colored lamp circuit and the fan circuit respectively. The visual touch screen intelligent remote control device is simple and practical, low in price, stable and durable, and extensible.

Description

A kind of visual touch-screen intelligent remote control device and control method thereof
Technical field
The present invention relates to a kind of visual touch-screen intelligent remote control device and control method thereof, belong to Smart Home technical field.
Background technology
Along with the development of science and technology, our life be unable to do without televisor, the various intelligent appliance such as air-conditioning, certain telepilot is also absolutely necessary accessory, it brings facility to us, but along with the household electrical appliances of family get more and more, produce multiple telepilot thereupon, bring unnecessary trouble on the contrary our life, and telepilot too much also can cause the unnecessary wasting of resources, the purpose of design of this problem is exactly the intellectuality realizing telepilot, realize a telepilot and can control multiple household electrical appliances, also realize telepilot visual simultaneously, touchization, bring us better amenities of life.Nearly 2 years, along with the development of touch screen technology, be about to come into the touch epoch, only need point and can realize desired object once sliding gently, this not only brings facility to life, and makes life be filled with enjoyment.Present people get more and more to the application of touch-screen, because touch screen technology can not only meet the demand that people consult useful information fast, but also have sturdy and durable, reaction velocity fast, save space, be easy to the advantages such as interchange, so we have very important meaning to the exploitation of touch-screen.The present invention has good application value and prospect.
Summary of the invention
The object of this invention is to provide a kind of visual touch-screen intelligent remote control device and control method thereof, in order to realize the intellectuality of telepilot, realize a telepilot and can control multiple household electrical appliances, also realize that telepilot is visual, touchization simultaneously, simple to operate, easy to use.
Technical scheme of the present invention is: a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, arrange color light control to receive the frequency of information be P1 (2.4GHZ-2.525GHZ) and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, arrange fan control to receive the frequency of information be P0 (2.4GHZ-2.525GHZ) and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Principle of work of the present invention is:
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit thereof, reset circuit, the delivery outlet PA5 of single-chip microcomputer in STM32 microcontroller 1, PA6, 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 the terminal DCLK of touch screen circuitry 2, 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, the delivery outlet PA0 of single-chip microcomputer in STM32 microcontroller 1, PB0, PB13, PB14, PB15, PC6 respectively with the terminal IRQ in wireless module I NRF24L01 Monolithic RF transceiver 3, CSN, SCK, MISO, MOSI, CE connects.
Described transmitting terminal touch screen circuitry 2 comprises touch screen controller XPT2046N, LED drive circuit PT4402, LCD liquid crystal display.Terminal DCLK, CS, DIN, DOUT, PENIRQ of touch screen controller XPT2046N are connected with delivery outlet PA5, PB7, PA7, PA6, PB6 of single-chip microcomputer in STM32 microcontroller 1 respectively, terminal X+, X of touch screen controller XPT2046N-, Y+, Y-respectively and LCD liquid crystal display X+, X-, Y+, Y-terminal is connected; In STM32 microcontroller 1 single-chip microcomputer control terminal PD7, PD11, PD5, PD4, PD14, PD15, PD0, PD1, PE7, PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PD8, PD9, PD10, PE1 correspondingly to connect with LCD liquid crystal display terminal 10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 respectively; LCD liquid crystal display terminal 33,34,35,36 is corresponding with LED drive circuit PT4402 terminal LED1, LED2, LED3, LED4 respectively to be connected; In STM32 microcontroller 1, the delivery outlet PD13 of single-chip microcomputer is connected with LED drive circuit PT4402 terminal EN.
The spi bus port of described wireless module I NRF24L01 Monolithic RF transceiver 3 includes CE, CSN, and SCK, MOSI, MISO, IRQ pin are connected with pin PC6, PB0, PB13, PB15, PB14, PA0 of STM32 microcontroller 1 respectively.
Described power module 4, comprises voltage conversion chip, filter capacitor, light emitting diode, resistance.Power supply input adopts 5V DC voltage, exports 3.3V voltage by voltage conversion chip LM1117-3.3V.5V power supply is by supply socket connecting system, and light emitting diode D2 is as the pilot lamp that powers on.The VIN end of LM1117-3.3V is connected with one end of switch S 1, resistance R4, electric capacity C6 respectively; Another termination 5V power supply of switch S 1; The anode of the other end sending and receiving optical diode D2 of resistance R4, the plus earth of light emitting diode D2; The other end of electric capacity C6 is connected with the GND of voltage conversion chip LM1117-3.3V; The VOUT end of LM1117-3.3V exports 3.3V voltage and connects with one end of electric capacity C7, C8 respectively, and the other end of electric capacity C7, C8 is connected with the GND of voltage conversion chip LM1117-3.3V; The GND of LM1117-3.3V holds ground connection.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Pin P2.3, P2.4, P2.5, P2.6, P2.7 of single-chip microcomputer wireless module II NRF24L01 Monolithic RF transceiver 6SPI terminal connection respectively in AT89C51 microcontroller 5; Single-chip microcomputer P2.0 mouth in AT89C51 microcontroller 5 is connected with the control terminal of fan circuit 8; Single-chip microcomputer P1.0, P1.1, P1.4, P1.6, P1.7 in AT89C51 microcontroller 5 are connected with the control terminal of color lamp circuit 7 respectively.
The spi bus port of described wireless module II NRF24L01 Monolithic RF transceiver 6 includes CE, CSN, SCK, MOSI, MISO, IRQ pin, is connected respectively with single-chip microcomputer pin P2.7, P2.6, P2.5, P2.4, P2.3, P2.2 in AT89C51 microcontroller 5;
Described color lamp circuit 7 includes resistance R1, R2, R3, R4, R5, light emitting diode D1, D2, D3, D4, D5; The negative electrode of light emitting diode D1, D2, D3, D4, D5 is connected with single-chip microcomputer pin P1.0, P1.1, P1.4, P1.6, P1.7 in AT89C51 microcontroller 5 respectively; The anode of light emitting diode D1, D2, D3, D4, D5 is connected with one end of resistance R1, R2, R3, R4, R5 respectively, and the other end of resistance R1, R2, R3, R4, R5 all connects 5V power supply;
Described fan circuit 8 includes resistance R7, triode Q1 and fan electromotor B1; One end of resistance R7 is connected with the single-chip microcomputer pin P2.0 in AT89C51 microcontroller 5; The other end is connected with the base stage of triode Q1; The emitter of triode Q1 connects 5V power supply, collector wind-receiving fan direct current generator B1, the other end ground connection of motor B1.
The invention has the beneficial effects as follows:
1, simple and practical
For the daily life of most of family, the simple and practical property of telepilot is significant.Our life now be unable to do without the various intelligent appliance such as televisor, air-conditioning, produce multiple telepilot thereupon, bring unnecessary trouble on the contrary our life, designing a simple and practical telepilot that can control multiple household electrical appliances is highly significant, and therefore simple and practical is the principle of this system.
2, cheap
The Infrared push button formula remote control that current domestic telepilot market is main or traditional, wireless contact screen remote screen at home market share is lower, touch screen remote controller is realized universal fast, need to accomplish cheap, first need with low cost, reduce costs while meeting performance, just must devote more time and energy on device is selected.The software selected the chip of high performance-price ratio and peripheral components and increase income.
3, stablize durable
Good system is a stable system necessarily, and intelligent remote control system is no exception.Accomplish stable performance, just must ensure the rationality of system architecture. and the harmony of design of hardware and software.
4, extensibility
Extensibility is the important in rope of a judgement system quality, will consider to make system possess certain extensibility when designing modules function, facilitates optimization in the future and upgrading.
Accompanying drawing explanation
Fig. 1 is theory diagram of the present invention;
Fig. 2 is transmitting terminal STM32 microcontroller of the present invention and touch-screen connection layout;
Fig. 3 is transmitting terminal STM32 microcontroller of the present invention and wireless module I connection layout;
Fig. 4 is transmitting terminal power module figure of the present invention;
Fig. 5 is telepilot surface chart of the present invention;
Fig. 6 is receiving end wiring diagram of the present invention;
Fig. 7 is receiver terminal process flow diagram of the present invention;
Fig. 8 is sender terminal process flow diagram of the present invention;
Each label in figure: 1-STM32 microcontroller, 2-touch screen circuitry, 3-wireless module I, 4-power module; 5-AT89C51 microcontroller, 6-wireless module II, 7-color lamp circuit, 8-fan circuit.
Embodiment
Embodiment 1: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 2: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Embodiment 3: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Embodiment 4: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Embodiment 5: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Embodiment 6: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Embodiment 7: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Embodiment 8: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described color lamp circuit 7 includes resistance, light emitting diode.
Embodiment 9: as shown in figures 1-8, with embodiment 1 basic simlarity, its difference is:
Described 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, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 11: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 12: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 13: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 14: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 15: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 16: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 17: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described STM32 microcontroller 1 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller 1, the input port of single-chip microcomputer is connected with the output port of touch screen circuitry 2, and the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I 3, and the power supply terminal of single-chip microcomputer is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 18: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
Described touch screen circuitry 2 is connected with spi bus control terminal corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described wireless module I 3 is connected with control pole corresponding in STM32 microcontroller 1 by its spi bus port, and its power supply terminal is connected with power module 4 output port.
Described power module 4 comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
Described AT89C51 microcontroller 5 comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller 5, the input port of single-chip microcomputer is connected with the output port of wireless module II 6, and in AT89C51 microcontroller 5, the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit 7, fan circuit 8 respectively.
Described wireless module II 6 is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller 5.
Described color lamp circuit 7 includes resistance, light emitting diode.
Described fan circuit 8 includes resistance, triode, fan direct current generator.
A control method for visual touch-screen intelligent remote control device, the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 initialization; Receiving end includes AT89C51 microcontroller 5, wireless module II 6 initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module 3 by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller 1:
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller 1 judges whether touch screen circuitry 2 has key press: if then call wireless module I 3 launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller 1 judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller 5 receives corresponding signal by receiving end wireless module II 6, if receive the information of transmitting terminal, then controls color lamp circuit 7 respectively according to signal or fan circuit 8 performs the corresponding command, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
Embodiment 19: as shown in figures 1-8, a kind of visual touch-screen intelligent remote control device, comprises transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3, power module 4, wherein STM32 microcontroller 1 is connected with power module 4 output port, touch screen circuitry 2 output port, wireless module I 3 input port respectively, and power module 4 is connected with the power supply terminal of STM32 microcontroller 1, touch screen circuitry 2, wireless module I 3 respectively;
Described receiving end is made up of AT89C51 microcontroller 5, wireless module II 6, color lamp circuit 7, fan circuit 8; Wherein the input port of AT89C51 microcontroller 5 is connected with the output port of wireless module II 6, and AT89C51 microcontroller 5 is also connected with color lamp circuit 7, fan circuit 8 input port respectively.
By reference to the accompanying drawings the specific embodiment of the present invention is explained in detail above, but the present invention is not limited to above-mentioned embodiment, in the ken that those of ordinary skill in the art possess, various change can also be made under the prerequisite not departing from present inventive concept.

Claims (10)

1. a visual touch-screen intelligent remote control device, is characterized in that: comprise transmitting terminal and receiving end two large divisions;
Described transmitting terminal is made up of STM32 microcontroller (1), touch screen circuitry (2), wireless module I (3), power module (4), wherein STM32 microcontroller (1) is connected with power module (4) output port, touch screen circuitry (2) output port, wireless module I (3) input port respectively, and power module (4) is connected with the power supply terminal of STM32 microcontroller (1), touch screen circuitry (2), wireless module I (3) respectively;
Described receiving end is made up of AT89C51 microcontroller (5), wireless module II (6), color lamp circuit (7), fan circuit (8); Wherein the input port of AT89C51 microcontroller (5) is connected with the output port of wireless module II (6), and AT89C51 microcontroller (5) is also connected with color lamp circuit (7), fan circuit (8) input port respectively.
2. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described STM32 microcontroller (1) comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in STM32 microcontroller (1), the input port of single-chip microcomputer is connected with the output port of touch screen circuitry (2), the output port of single-chip microcomputer is connected with the circuit of input port in wireless module I (3), and the power supply terminal of single-chip microcomputer is connected with power module (4) output port.
3. visual touch-screen intelligent remote control device according to claim 1, it is characterized in that: described touch screen circuitry (2) is connected with corresponding spi bus control terminal in STM32 microcontroller (1) by its spi bus port, and its power supply terminal is connected with power module (4) output port.
4. visual touch-screen intelligent remote control device according to claim 1, it is characterized in that: described wireless module I (3) is connected with corresponding control pole in STM32 microcontroller (1) by its spi bus port, and its power supply terminal is connected with power module (4) output port.
5. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described power module (4) comprises voltage stabilizing chip, filter capacitor, resistance, light emitting diode, switch.
6. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described AT89C51 microcontroller (5) comprises a single-chip microcomputer and crystal oscillating circuit, reset circuit; Wherein in AT89C51 microcontroller (5), the input port of single-chip microcomputer is connected with the output port of wireless module II (6), and in AT89C51 microcontroller (5), the output port of single-chip microcomputer is connected with the control terminal in color lamp circuit (7), fan circuit (8) respectively.
7. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described wireless module II (6) is connected by the control pole that its spi bus port is corresponding with AT89C51 microcontroller (5).
8. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described color lamp circuit (7) includes resistance, light emitting diode.
9. visual touch-screen intelligent remote control device according to claim 1, is characterized in that: described fan circuit (8) includes resistance, triode, fan direct current generator.
10. a control method for the visual touch-screen intelligent remote control device according to any one of claim 1-9, is characterized in that: the concrete steps of described control method are as follows:
A, connects the visual transmitting terminal of touch-screen intelligent remote controller and the power supply of receiving end respectively, starts power-up initializing; Transmitting terminal includes STM32 microcontroller (1), touch screen circuitry (2), wireless module I (3) initialization; Receiving end includes AT89C51 microcontroller (5), wireless module II (6) initialization;
B, according to the display of transmitting terminal touch screen interface, selects the object needing to control;
This signal, according to the selection of touch-screen, is exported by transmitting terminal wireless module (3) by the single-chip microcomputer of C, transmitting terminal STM32 microcontroller (1):
C1, carries out transmission frequency according to touch on-screen-display message and chooses;
C2, carries out emission rate according to touch on-screen-display message and chooses;
C3, STM32 microcontroller (1) judges whether touch screen circuitry (2) has key to press: if then call wireless module I (3) launching procedure and send information, otherwise continuation etc. are to be interrupted;
C4, STM32 microcontroller (1) judges whether receiving end returns and receives information signal: if then send successfully, otherwise judge whether to reach the transmission times upper limit: if then send failure, otherwise continues to send;
D, receiving end AT89C51 microcontroller (5) receives corresponding signal by receiving end wireless module II (6), if receive the information of transmitting terminal, then control color lamp circuit (7) or fan circuit (8) execution the corresponding command respectively according to signal, otherwise wait instruction:
The control of receiving end LED color lamp: configuration controls the program of color lamp single-chip microcomputer, to arrange frequency that color light control receives information be P1 and transmission rate is 2Mbps, and specified button exports: press on & off switch, LED color lamp system is opened, pilot lamp when red; When pressing left button, light two LED; When pressing right button, light three LED; When pressing key, light four LED; When pressing lower key, light whole LED; When whenever on & off switch is pressed again, whole lamp extinguishes, system closing, and other button is inoperative;
The control of receiving end fan: configuration controls the program of fan single-chip microcomputer, to arrange frequency that fan control receives information be P0 and transmission rate is 1Mbps, and specified button exports: press on & off switch, fan control system is opened, pilot lamp when red; When pressing left button or upper key, fan turns; When pressing right button or lower key, fan stall; When whenever on & off switch is pressed again, fan stall, system closing, other button is inoperative.
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 true CN104881980A (en) 2015-09-02
CN104881980B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111188783A (en) * 2020-01-15 2020-05-22 上海禾土机电科技有限公司 Industrial fan controller and control method thereof
CN111223285A (en) * 2020-03-13 2020-06-02 昆明理工大学 Wireless eddy current detection system and method based on sparse representation

Citations (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
CN104167091A (en) * 2014-08-15 2014-11-26 珠海格力电器股份有限公司 Infrared remote controller signal sending control method and device and infrared remote controller
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

Patent Citations (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
CN104167091A (en) * 2014-08-15 2014-11-26 珠海格力电器股份有限公司 Infrared remote controller signal sending control method and device and infrared remote controller
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王泽平: "全功能无线遥控电风扇", 《北京电子报合订本1999年上册》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111188783A (en) * 2020-01-15 2020-05-22 上海禾土机电科技有限公司 Industrial fan controller and control method thereof
CN111188783B (en) * 2020-01-15 2022-03-18 上海禾土机电科技有限公司 Industrial fan controller and control method thereof
CN111223285A (en) * 2020-03-13 2020-06-02 昆明理工大学 Wireless eddy current detection system and method based on sparse representation

Also Published As

Publication number Publication date
CN104881980B (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN101907870B (en) Energy saving control device and power supply connector and switch device with same
CN201698189U (en) Intelligent household power supply controller
CN203260174U (en) Intelligent household remote control system
CN204155273U (en) A kind of multi-functional data switch based on elevator communication
CN110531564A (en) Flashlight driving circuit and intelligent terminal
CN103781230A (en) Lighting intelligent control switch
CN201018692Y (en) Universal power supply input lamp string controller
CN104881980A (en) Visual touch screen intelligent remote control device and control method thereof
CN202310206U (en) Control circuit of ultra-low-power single wire power supply touch switch
CN204650736U (en) A kind of visual touch-screen intelligent remote control device
CN201774576U (en) Mobile phone having remote control function
CN103369763A (en) LED signal lamp and driving circuit thereof
CN202549049U (en) Remote controller with sleep wake-up device
CN202886464U (en) Office energy consumption acquisition transmission over-limit alarming device
CN210245417U (en) Intelligent multifunctional time relay device
CN204332724U (en) Bluetooth wireless control's wall switch box
CN202979387U (en) Wall-type LED lamp control device
CN202035180U (en) Signal lamp circuit and signal lamp
CN202617084U (en) Universal crystal-glass touch remote-control switch
CN201383708Y (en) Integrated power control system
CN202979388U (en) LED lamp touch control device
CN101895286B (en) Series connection type single-connection double-connection touch remote control and soft-touch remote control series electronic switch
CN203249325U (en) Low-power-consumption indoor-temperature controller
CN219248117U (en) Three-in-one dimming switching controller
CN219659958U (en) Intelligent lighting control system

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