CN207268903U - It is remotely controlled coding and decoding device - Google Patents

It is remotely controlled coding and decoding device Download PDF

Info

Publication number
CN207268903U
CN207268903U CN201720973166.0U CN201720973166U CN207268903U CN 207268903 U CN207268903 U CN 207268903U CN 201720973166 U CN201720973166 U CN 201720973166U CN 207268903 U CN207268903 U CN 207268903U
Authority
CN
China
Prior art keywords
circuit
remote
remote control
decoding device
mcu1
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
CN201720973166.0U
Other languages
Chinese (zh)
Inventor
余江
杨建宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pucheng Powerise (chengdu) Technology Co Ltd
Original Assignee
Pucheng Powerise (chengdu) Technology Co Ltd
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 Pucheng Powerise (chengdu) Technology Co Ltd filed Critical Pucheng Powerise (chengdu) Technology Co Ltd
Priority to CN201720973166.0U priority Critical patent/CN207268903U/en
Application granted granted Critical
Publication of CN207268903U publication Critical patent/CN207268903U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses one kind to be remotely controlled coding and decoding device, it is characterised in that:Including remote-controlled launcher and reception device;The remote-controlled launcher includes encoder, remote keying and radio frequency transmitter circuitry;The encoder connects remote keying and radio frequency transmitter circuitry respectively;The reception device includes decoder, RF receiving circuit and relay switching circuit;The decoder connects RF receiving circuit and relay switching circuit respectively;The encoder is MCU1;The decoder is MCU2.The utility model come encoding and decoding, a variety of encoding and decoding is integrated on microcontroller, are freely adjusted between a variety of encoding and decoding by microcontroller, realizes that Universal remote control decoder acts on.

Description

It is remotely controlled coding and decoding device
Technical field
A kind of remote control is the utility model is related to, particularly a kind of remote control coding and decoding device.
Background technology
Radio remote controller(RF Remote Control)It is that the various mechanisms in a distant place are controlled using radio signal The remote control equipment of system.After these signals are received by the receiving device in a distant place, other various corresponding machineries can be instructed or driven Or electronic equipment, go to complete various operations, such as on-off circuit, moving handle, start motor, is carried out by these machineries again afterwards The operation needed.As a kind of remote controler species mutually supplemented with IR remote controller, in garage door, electrically operated gate, banister remote control control System, burglar alarm, Industry Control and wireless intelligent house field are widely used.Wireless remote currently on the market Control-register code IC includes fixing address code and rolling code encoding and decoding.
Wireless remote control coding IC currently on the market only has single coding, very by limitation, it is impossible to flexible to compile Decoding;All it is that encoding and decoding are carried out using codec chip at the same time, each codec chip can only compile solution one kind, of high cost.
Utility model content
The goal of the invention of the utility model is:For above-mentioned problem, there is provided a kind of to compile solution by microcontroller Code, while a variety of encoding and decoding can be integrated on microcontroller, it can freely be adjusted between a variety of encoding and decoding, realize that Universal remote control decodes The remote control coding and decoding device of device effect.
The technical solution adopted in the utility model is as follows:
A kind of remote control coding and decoding device of the utility model, including remote-controlled launcher and reception device;The remote-transmitter Device includes encoder, remote keying and radio frequency transmitter circuitry;The encoder connects remote keying and radio-frequency transmissions electricity respectively Road;The reception device includes decoder, RF receiving circuit and relay switching circuit;The decoder connects radio frequency respectively Receiving circuit and relay switching circuit;The encoder is MCU1;The decoder is MCU2.
Further, it is encoder sending mode selection port that plug connector JP1, the JP1 are connected with the MCU1,1 foot The VDD of MCU1 is met, 2 feet connect the 7th feet of MCU1, and 3 feet meet GND;Four pins of MCU1 connect remote keying respectively;Remote control is pressed The key other end connects the switching transistor Q2 of radio frequency transmitter circuitry.
Further, the radio frequency transmitter circuitry includes high-frequency resonant amplifier and peripheral circuit, the high-frequency resonant amplification Device includes SAW resonator XT1 and triode Q1, and with the XT1 capacitance C1 being connected respectively and resistance R2;Three pole Pipe Q1 one end connects R2, other end connection LED;The collector of switching tube triode Q3 is also associated with the XT1;Three pole The base stage connection resistance R5 of pipe Q3, emitter ground connection;The C1 parallel connections R6;The LED connecting valves circuit;The on-off circuit Including resistance R4, R4 concatenation switching transistors Q2, R4 are also connected with, the series circuit of R3 and R1;The switching transistor Q2 connections Supply voltage.
Further, the remote-controlled launcher further includes remote control transmitter regulator circuit;The remote control transmitter voltage stabilizing electricity Road includes voltage stabilizing chip, and output filter capacitor C4 and C3;The Vi power input pins connection battery of the voltage stabilizing chip; The VO voltage stabilizing output pins of the voltage stabilizing chip, parallel connection access C3 and C4;The Byp pins connection decoupling capacitance C5 of voltage stabilizing chip.
Further, the pin of the MCU2 connects RF receiving circuit, configuration and download interface, plug connector JP3, matches somebody with somebody respectively Put and learn button, receiver of remote-control sytem regulator circuit and LED indicating circuit.
Further, the RF receiving circuit includes reception of wireless signals chip and peripheral circuit;The wireless signal connects VDD, CAGC and CTH pin for receiving chip connect capacitance C14, C15 and C13 respectively;The parallel connection electricity of ATN pins connection C12 and L2 Road, the parallel circuit of C12 connection LI and C11, C11 parallel antennas;DO pins connect digital output port;VCC pin with Local oscillator crystal oscillator XTAL is connected between REPOSC pins.
Further, the configuration and download interface are row pin JP2, meet the PB00_RX and PB01_TX of MCU2 respectively, PB00_RX is serial ports RX ports, and PB01_TX is serial ports TX ports;The plug connector JP3 selects end for decoder sending mode Mouthful, 1 foot of JP3 meets 3.3V, and 2 feet connect MCU2 PB02 feet, and 3 feet meet GND;The configuration and study key switch one end point And 3.3V voltages Jie Di not be connected, the other end connects the reset pin and PB05 pins of MCU2 respectively.
Further, the LED indicating circuit includes five LED control circuits, and one of LED is used to indicate configuration and learns Habit state, other four LED are used for four relays of instruction simulation.
Further, the receiver of remote-control sytem regulator circuit includes voltage stabilizing chip, and input filter capacitor C16 and C17, Output filter capacitor C18 and C19;Voltage stabilizing chip input terminal parallel connection C16 and C17 is filtered as low-and high-frequency, output end of voltage stabilizer C18 and C19 in parallel are filtered as output voltage.
In conclusion by adopting the above-described technical solution, the beneficial effects of the utility model are:
1:Remote-control coder carries out encoding and decoding to substitute original edit code chip using microcontroller, solves edit code chip Can only carry out single encoding and decoding, while the problem of codec chip is of high cost, using microcontroller carry out encoding and decoding can integrate it is solid Determine address code and rolling code encoding and decoding, and microcontroller, compared with codec chip, cost is low;The expansible volume in microcontroller at the same time Decoding.
2:Wireless frequency uses standard 433Mhz citizens' radio bands, and transmission power is less than 20mw, will not pollute frequency multi-band environment.
3:It is safe.Two kinds of encoding and decoding freely adjust, convenient and reliable, and have 3 kinds of safe levels in rolling code encoding and decoding Other pattern can configure, and substantially increase the security selectivity of user.
4:Using low power dissipation design.Remote control coding transmitting uses low power dissipation design, without it is any press key pressing when, entirely Plank is in 0 power consumption state, and after when 4 buttons, any one presses key pressing, triode Q2 conductings, electricity is exported by regulator circuit Press and power to MCU1, MCU1 brings into operation to data encoding and then sent out by RFCO2 laser;Reception uses low-power consumption mode, whole Machine power consumption is between 100uA to 10mA, and after powering on, MCU2 is constantly in low power consumpting state operation, after detecting radiofrequency signal, Start to do decoding computing, and identify comparison data, be controlled I/O port switch.
Brief description of the drawings
Fig. 1 is the structure diagram of the utility model.
Fig. 2 is the circuit diagram for encoding master controller.
Fig. 3 is the circuit diagram of remote keying.
Fig. 4 is the circuit diagram of radio frequency transmitter circuitry and power circuit.
Fig. 5 is the circuit diagram for decoding master controller.
Fig. 6 is the circuit diagram of RF receiving circuit.
Fig. 7 is configuration and download interface, and the circuit diagram of decoder sending mode selection port.
Fig. 8 is configuration and the circuit diagram for learning button.
Fig. 9 is the circuit diagram of LED indicating circuit.
Figure 10 is the circuit diagram of regulator circuit.
Embodiment
Below in conjunction with the accompanying drawings, the utility model is described in detail.
In order to make the purpose of the utility model, technical solutions and advantages more clearly understood, below in conjunction with attached drawing and implementation Example, is further elaborated the utility model.It should be appreciated that specific embodiment described herein is only explaining this Utility model, is not used to limit the utility model.
As shown in Figure 1, including remote-controlled launcher and reception device;The remote-controlled launcher includes coding main control Device, remote keying and radio frequency transmitter circuitry;The encoder connects remote keying and radio frequency transmitter circuitry respectively;It is described to receive dress Put including decoder, RF receiving circuit and relay switching circuit;The decoder connect respectively RF receiving circuit and after Appliance switch circuit;The encoder is MCU1;The decoder is MCU2;Collect millions of groups respectively in the MCU1 and MCU2 Code encoding and decoding and rolling code encoding and decoding, million packet coding and decoding and rolling code encoding and decoding are existing million packet coding and decoding and rolling Code encoding and decoding technique, can realize that two kinds of code encoding/decoding modes are received and dispatched by MCU1 and MCU2, while can carry out any switching laws, right In different use environments, appropriate code encoding/decoding mode is selected, solves the restricted problem of existing single encoding and decoding.
As shown in Figures 2 and 3, four pins of the MCU1 connect remote keying respectively;The remote keying other end connects Switching transistor Q2;After remote controler arbitrarily presses key pressing, Q2 triode ONs, at this time the VDD of MCU1 be electrically energized, MCU1 into Enter working status;
Plug connector JP1 is connected with the MCU1, plug connector JP1 is using row's pin, for short circuit wire jumper;The JP1 For encoder sending mode selection port, 1 foot meets the 3.3V of MCU1, and 2 feet connect the 7th feet of MCU1, and 3 feet meet GND;When 1 He of jumper connection 2 feet, the 7th feet of MCU1 detect 3.3V, are at this time rolling code sending mode, and when 2 and 3 foot jumper connections, the 7th feet of MCU1 detect Low level, performs million groups of code sending modes at this time;
The configuration information communication mode of the MCU1 is serial communication, and configuration information data-interface meets the S1 of MCU1 respectively And S2, S1 are serial ports RX ports, S2 bit string mouth TX ports;
MCU1 and MCU2 uses PT32U301, since PT32U301 kernels are cortex M0 kernels, dominant frequency 48Mhz, and computing Speed is 200 times of common 8 MCU, and can solve rolling code encoding operation amount using P32U301 causes greatly slow-footed ask Topic, and possess SOP8 SOP16 encapsulation and be very suitable for being remote-transmitter plate control IC.
As shown in figure 4, the radio frequency transmitter circuitry includes high-frequency resonant amplifier and peripheral circuit, the high-frequency resonant is put Big device includes SAW resonator XT1 and triode Q1, and with the XT1 capacitance C1 being connected respectively and resistance R2;Described three Pole pipe Q1 one end connects R2, other end connection LED;The collector of switching tube triode Q3 is also associated with the XT1;Described three The base stage connection resistance R5 of pole pipe Q3, emitter ground connection;The C1 parallel connections R6;The LED connecting valves circuit;The switch electricity Road includes the base stage of resistance R4, R4 series connection Q2, and R4 is also associated with R3, R3 connection resistance R1;The emitter connection R1 electricity of the Q2 Road, the collector connection supply voltage of Q2;The data of MCU1 are loaded into harmonic high frequency by PWM mode by Q3 switching tube triodes On vibration magnifier, go out eventually through antenna transmission;
Above circuit medium-high frequency resonance amplifier is 433MHZ high-frequency resonant amplifiers, the transmission power of radio frequency transmitter circuitry Less than 20mw, frequency multi-band environment will not be polluted.
The remote-controlled launcher further includes remote control transmitter regulator circuit;The remote control transmitter regulator circuit includes steady Press chip, and output filter capacitor C4 and C3;The Vi power input pins connection battery of the voltage stabilizing chip;Voltage stabilizing chip VO voltage stabilizing output pins, parallel connection access C3 and C4;The Byp pins connection decoupling capacitance C5 of voltage stabilizing chip;The VO voltage stabilizings are defeated Go out between pin and radio frequency transmitter circuitry to be serially connected with resistance R6, pass through R6 current-limiting protection radiating circuits;The voltage stabilizing chip uses Be LD2202N5-3.3;
The remote control transmitter regulator circuit, is rear class list for being stable 3.3V voltage outputs by 12V voltage conversions Piece machine MCU1 powers.
As shown in figure 5, the pin of the MCU2 connects RF receiving circuit, configuration and download interface, plug connector respectively JP3, configuration and study button, regulator circuit and LED indicating circuit.
As shown in fig. 6, the RF receiving circuit includes reception of wireless signals chip and peripheral circuit;The wireless signal VDD, CAGC and CTH pin for receiving chip connect capacitance C14, C15 and C13 respectively;ATN pins connect the parallel connection of C12 and L2 Circuit, the parallel circuit of C12 connection LI and C11, C11 parallel antennas;DO pins connect digital output port;VCC pin and RE Local oscillator crystal oscillator XTAL is connected between POSC pins;XTAL is SYN480r local oscillator crystal oscillators, produces local frequency;The wireless communication Number receive chip using SYN480R chips.
As shown in fig. 7, the configuration and download interface are row pin JP2, MCU2 PB00_RX and PB01_TX are met respectively, PB00_RX is serial ports RX ports, and PB01_TX is serial ports TX ports;And connection GND and connection 5V.
It is to be used for external series communication interface to configure interface, is mainly used for downloading microcontroller firmware program and configures user's letter Cease data(Receiver board only needs to configure rolling code user information data, and the user information data of million groups of codes are to configure 's).
The plug connector JP3 is decoder reception pattern selection port, and 1 foot of JP3 meets 3.3V, and 2 feet meet MCU2 PB02 feet, 3 feet meet GND;When 1 and 2 foot of jumper connection, the PB02 feet of MCU2 detect 3.3V, and program performs rolling code and receives at this time Pattern, when 2 and 3 foot jumper connections, the PB02 feet of MCU2 detect low level, and program performs million groups of code reception patterns at this time.
As shown in figure 8, the configuration and study key switch one end connect GND and connection 3.3V voltages, the other end point respectively Not Lian Jie MCU2 reset pin and PB05 pins.When into configuration mode, under powering-off state, pressing configuration study button, Powered on again to MCU2, after the power is turned on more than 500ms after, then unclamp configuration study button, at this time MCU2 can detect PB05 after the power is turned on For high level, then into configuration mode, user information data are configured by serial transmission mode with computer software and arrive MCU2;Into Enter mode of learning, pattern is normally received when MCU2 is in, press configuration study more than button 500ms, MCU2 enters study at this time Pattern, jumps out mode of learning after learning success, into normally receiving pattern.
As shown in figure 9, the LED indicating circuit includes five LED control circuits, it is parallel circuit, wherein LED is used to refer to Show configuration and learning state, LED1-LED4 is used for four relays of instruction simulation, and relay closure is represented when bright;The LED refers to Show circuit on one side series resistor R101 and 3.3V voltage;Current-limiting resistances of the resistance R101 as 5 LED;The other end connects respectively PB06, PA02, PA03, PA08 and PA09 pin of MCU2.
As shown in Figure 10, the receiver of remote-control sytem regulator circuit includes voltage stabilizing chip, and input filter capacitor C16 and C17, output filter capacitor C18 and C19;Voltage stabilizing chip input terminal parallel connection C16 and C17 is filtered as low-and high-frequency, and voltage-stablizer is defeated Outlet parallel connection C18 and C19 is filtered as output voltage;The 5V power supplys of input are mainly converted to stable 3.3V voltage outputs, Power for rear class single-chip microprocessor MCU 2, RF receiving circuit and other peripheral circuits;The voltage stabilizing chip is three-terminal voltage-stabilizing chip, Stabilizing voltage characteristic can be strengthened by adding four capacitances;The voltage-stablizer uses AMS117.
The above is only the preferred embodiment of the utility model only, is not intended to limit the utility model, all at this All any modification, equivalent and improvement made within the spirit and principle of utility model etc., should be included in the utility model Protection domain within.

Claims (9)

1. one kind remote control coding and decoding device, it is characterised in that:Including remote-controlled launcher and reception device;The remote-transmitter dress Put including encoder, remote keying and radio frequency transmitter circuitry;The encoder connects remote keying and radio frequency transmitter circuitry respectively;
The reception device includes decoder, RF receiving circuit and relay switching circuit;The decoder connects respectively to be penetrated Frequency receiving circuit and relay switching circuit;The encoder is MCU1;The decoder is MCU2.
2. remote control coding and decoding device according to claim 1, it is characterised in that:Plug connector JP1 is connected with the MCU1, The JP1 is encoder sending mode selection port, and 1 foot meets the VDD of MCU1, and 2 feet connect the 7th feet of MCU1, and 3 feet meet GND; Four pins of MCU1 connect remote keying respectively;The remote keying other end connects the switching transistor Q2 of radio frequency transmitter circuitry.
3. remote control coding and decoding device according to claim 1, it is characterised in that:The radio frequency transmitter circuitry includes harmonic high frequency Vibration magnifier and peripheral circuit, the high-frequency resonant amplifier include SAW resonator XT1 and triode Q1, Yi Jiyu The capacitance C1 and resistance R2 that XT1 is connected respectively;Described triode Q1 one end connects R2, other end connection LED;On the XT1 also It is connected with the collector of switching tube triode Q3;The base stage connection resistance R5 of the triode Q3, emitter ground connection;The C1 is simultaneously Join R6;The LED connecting valves circuit;The on-off circuit includes resistance R4, R4 concatenation switching transistors Q2, and R4 is also connected with, The series circuit of R3 and R1;The switching transistor Q2 connections supply voltage.
4. remote control coding and decoding device according to claim 1, it is characterised in that:The remote-controlled launcher further includes remote control Transmitter regulator circuit;The remote control transmitter regulator circuit includes voltage stabilizing chip, and output filter capacitor C4 and C3;Institute State the Vi power input pins connection battery of voltage stabilizing chip;The VO voltage stabilizing output pins of the voltage stabilizing chip, parallel connection access C3 and C4;The Byp pins connection decoupling capacitance C5 of the voltage stabilizing chip.
5. remote control coding and decoding device according to claim 1, it is characterised in that:The pin of the MCU2 connects radio frequency respectively Receiving circuit, configuration and download interface, plug connector JP3, configuration and study button, receiver of remote-control sytem regulator circuit and LED instructions Circuit.
6. remote control coding and decoding device according to claim 5, it is characterised in that:The RF receiving circuit includes wireless communication Number receive chip and peripheral circuit;VDD, CAGC and CTH pin of the reception of wireless signals chip connect respectively capacitance C14, C15 and C13;ATN pins connect the parallel circuit of C12 and L2, the parallel circuit of C12 connection LI and C11, C11 parallel antennas;DO Pin connects digital output port;Local oscillator crystal oscillator XTAL is connected between VCC pin and REPOSC pins.
7. remote control coding and decoding device according to claim 5, it is characterised in that:The configuration and download interface are row's pin JP2, it is serial ports RX ports to meet MCU2 PB00_RX and PB01_TX, PB00_RX respectively, and PB01_TX is serial ports TX ports;
The plug connector JP3 is decoder sending mode selection port, and 1 foot of JP3 meets 3.3V, and 2 feet connect MCU2 PB02 feet, 3 Foot meets GND;
The configuration and study key switch one end are grounded and connect respectively 3.3V voltages, and the other end connects the reset of MCU2 respectively Pin and PB05 pins.
8. remote control coding and decoding device according to claim 5, it is characterised in that:The LED indicating circuit includes five LED Control circuit, one of LED are used to indicate that configuration and learning state, other four LED are used for four relays of instruction simulation.
9. remote control coding and decoding device according to claim 5, it is characterised in that:The receiver of remote-control sytem regulator circuit includes Voltage stabilizing chip, and input filter capacitor C16 and C17, output filter capacitor C18 and C19;Voltage stabilizing chip input terminal is in parallel C16 and C17 is filtered as low-and high-frequency, and output end of voltage stabilizer parallel connection C18 and C19 is filtered as output voltage.
CN201720973166.0U 2017-08-07 2017-08-07 It is remotely controlled coding and decoding device Active CN207268903U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720973166.0U CN207268903U (en) 2017-08-07 2017-08-07 It is remotely controlled coding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720973166.0U CN207268903U (en) 2017-08-07 2017-08-07 It is remotely controlled coding and decoding device

Publications (1)

Publication Number Publication Date
CN207268903U true CN207268903U (en) 2018-04-24

Family

ID=61960184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720973166.0U Active CN207268903U (en) 2017-08-07 2017-08-07 It is remotely controlled coding and decoding device

Country Status (1)

Country Link
CN (1) CN207268903U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255940A (en) * 2018-10-12 2019-01-22 深圳供电局有限公司 automatic control circuit and control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255940A (en) * 2018-10-12 2019-01-22 深圳供电局有限公司 automatic control circuit and control device

Similar Documents

Publication Publication Date Title
CN103365280B (en) Smart Home complex control system and control method
CN202904845U (en) Infrared household electric appliance management system based on intelligent cell phone
CN102262812A (en) Household searching-aid device of small articles
CN207268903U (en) It is remotely controlled coding and decoding device
CN206179188U (en) Home appliance remote controller , handheld terminal in location and home appliance remote controller positioning system
CN105023420A (en) Automatic remote control switch control system
CN201749544U (en) Household small article searching aid
CN101996476A (en) Remote control system, control method thereof and remote control lamp using system
CN102339528A (en) Multifunctional infrared testing instrument
CN109615839B (en) Coding chip and remote control device integrated with key power supply
CN204406062U (en) A kind of intelligent home control system
CN203858747U (en) Anti-interference wireless remote control switch
CN204290945U (en) A kind of reflector with touch key-press
CN203444632U (en) Finding device for remote controller of household appliance
CN202956652U (en) Programmable wireless multi-channel household power intelligent control system
CN201821342U (en) 433M 10-medium-wave wireless transceiver
CN205450749U (en) Smart home systems based on radio frequency technology
CN205864643U (en) A kind of TV set terminal controls the system that corresponding remote controller pronunciation is luminous
Win et al. Design and Construction of Infrared Remote Controller for Multiple Home Appliances
CN202049607U (en) Photosensitive remote control emitter
CN201821343U (en) 470M 10mW wireless transceiver
CN216133502U (en) High-gain remote controller
CN203405925U (en) Touch-type antitheft alarm system
CN219162823U (en) Bluetooth changes infrared circuit
CN109410558B (en) Intelligent compression chip for infrared codes

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant