CN206726179U - Infrared signal turns the receiving converter of computor-keyboard signal - Google Patents

Infrared signal turns the receiving converter of computor-keyboard signal Download PDF

Info

Publication number
CN206726179U
CN206726179U CN201720509131.1U CN201720509131U CN206726179U CN 206726179 U CN206726179 U CN 206726179U CN 201720509131 U CN201720509131 U CN 201720509131U CN 206726179 U CN206726179 U CN 206726179U
Authority
CN
China
Prior art keywords
data
keyboard
ports
transistor
infrared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201720509131.1U
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201720509131.1U priority Critical patent/CN206726179U/en
Application granted granted Critical
Publication of CN206726179U publication Critical patent/CN206726179U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Infrared signal turns the receiving converter of computor-keyboard signal, including infrared remote receiver, set key, processor, transistor, keyboard chip.Described processor, including storage module, serial data communication port, conventional data I/O ports.The data output end of infrared remote receiver is connected to the serial data communication port of processor;The part conventional data I/O ports of set key and processor connect, the another part conventional data I/O ports connection transistor of processor, the on or off for driving transistor;Switch of the transistor as keyboard chip ranks port on or off.The utility model has the advantages that cost-effective, configuration is flexible by the use of remote control as handle.

Description

Infrared signal turns the receiving converter of computor-keyboard signal
Technical field
The utility model belongs to a kind of electronic product of learning recreation, more particularly to a kind of to receive remote controller infrared signal And change into the receiving converter of computor-keyboard pushbotton signal.
Background technology
A set of computer answering device system, including a main frame and many race to be the first to answer a question handle;The computer that a set of more people play together Games system, also including a main frame and many individual game paddles.The quantity of handle determines while can participate in activity number Number.For family's use, the handle of many is configured, purchase cost can be greatly increased;If but only configure two or three of hands Handle, when there is friend to come, and not enough handles are played for all;If configuring many handles, usually seldom is very unrestrained Take.As being how realized with a low cost forestalling-answer system or games system with more handle functions, i.e., as how low in average family Cost realizes that allowing more people together to participate in computer races to be the first to answer a question or play, and is the realistic problem for needing to solve.
The content of the invention
, there are many electric equipments in modern family, and these equipment are substantially also all equipped with remote control.In order to solve As being how realized with a low cost the problem of allowing more people to participate in racing to be the first to answer a question or playing in average family, the utility model provides a kind of distant infrared Line signal turns the receiving converter of computor-keyboard signal, and use is connected with computer;It is by the remote controller key signal of electric equipment Keyboard key code signal is converted into, remote control is can be used as handle use, realizes that more people simultaneously participate in the function of racing to be the first to answer a question or play.
Technical scheme is used by the utility model solves its technical problem:
Infrared signal turns the receiving converter of computor-keyboard signal, including infrared remote receiver, set key, processor, crystalline substance Body pipe, keyboard chip.Described processor, including storage module, serial data communication port, conventional data I/O ports.It is infrared The data output end of receiver is connected to the serial data communication port of processor;The part conventional data of set key and processor I/O ports connect, the another part conventional data I/O ports connection transistor of processor, the conducting for driving transistor Or cut-off;Switch of the transistor as keyboard chip ranks port on or off.Described keyboard chip, for connecting electricity Brain.
Processor is mainly used in:
1)The infrared ray information coding received to infrared remote receiver stores;
2)The infrared ray information coding according to corresponding to the infrared ray information received in storage module lookup, and according to lookup The address of the storage element arrived is in corresponding conventional data I/O ports output data, transistor turns corresponding to driving.
Transistor is used to turn on ranks port corresponding to keyboard chip, and key corresponding to generation sends computer to.
The beneficial effects of the utility model are mainly manifested in:By the use of remote control as handle, cost-effective, configuration is flexible.
Brief description of the drawings
Fig. 1 is the electrical block diagram of the first embodiment of the utility model.
Fig. 2 is the electrical block diagram of second of embodiment of the utility model.
Embodiment
Below in conjunction with the accompanying drawings and preferably embodiment is further described to the technical solution of the utility model.
The first embodiment, as shown in Figure 1;Infrared signal turns the receiving converter of computor-keyboard signal, including red Outer receiver 1, set key, processor, transistor T, keyboard chip 2;Described processor is mainly by 1 the first single-chip microcomputer 3 and 2 Individual second singlechip 4 forms.
Described infrared remote receiver 1, its data output end are connected with the serial data communication port RXD of the first single-chip microcomputer 3.
Described set key, including handle number setting key K1 and button number setting key K2;Described handle number setting key K1, Including 12 buttons, i.e., it can at most set 12 infrared remote controllers and be used as handle;Described button number setting key K2, including 8 buttons, i.e. an infrared remote controller can at most have 8 buttons to be used as the button of handle.Handle recited above Number setting key K1 12 buttons, I/O ports P0.0~P0.7, the P1.0~P 1.3 of the first single-chip microcomputer 3 are connected respectively;It is described Button number setting key K2 8 buttons, connect I/O ports P2.0~P 2.7 of the first single-chip microcomputer respectively.It is above-mentioned any to press Key is pressed, and I/O ports corresponding to the first single-chip microcomputer 3 are set to high level.Handle number, which sets key K1 and button number setting key K2, respectively to be had When one button is pressed, the present apparatus is in learning state, and now, the first single-chip microcomputer 3 sets key K1 and button according to handle number Number setting key K2 on off state, by the infrared ray information storage received into corresponding storage element.
P3.2~P 3.6 of first single-chip microcomputer 3 is used as one group of data-out port, P1.4~P 1.7 and P3.7 as another One group of data-out port;2 groups of data-out ports of the first single-chip microcomputer 3 I/O ports with 2 second singlechips 4 respectively P0.1~P0.4 connections, the data input pin as second singlechip 4.The I/O ports P0.5 of each second singlechip 4~ P0.7, P1.0~P1.7, P2.0~P2.7, P3.0~P3.5, there are 25 ports as data-out port, each data output Port all connects 1 transistor T;2 second singlechips 4 connect 50 transistor T altogether.
Described keyboard chip 2, provided with ranks port, the connection between different ranks ports, different keys can be produced Code.Transistor T recited above, its colelctor electrode are connected to the row port of keyboard chip, and emitter stage is connected to the row of keyboard chip Port;50 transistor T use 50 kinds of different connected modes between ranks port respectively.
The first described single-chip microcomputer 3, second singlechip 4 above, all using STC89C52 chips;Described keyboard chip 2, computer is connected by USB interface using HT82K629A, HT82K629A.
Embodiments described above, infrared ray study(The infrared ray information coding of storage of remote control)Flow include such as Under:
1)A button in a button and button number setting key K2 in selection handle number setting key K1 is pressed, and is allowed to It is in the conduction state;Handle number sets combination different between key K1 and button number setting key K2, forms different keyboard-codings;
2)The one of button of the remote control learnt is pressed, infrared ray information corresponding to transmitting;
3)The receive information of infrared remote receiver 1 simultaneously sends the first single-chip microcomputer 3 to, and the first single-chip microcomputer 3 will connect according to keyboard-coding Infrared ray information code storage is received into corresponding storage element.
Embodiments described above, the push button signalling of remote control is converted into the flow of keyboard key code signal to be included such as Under:
1)Remote control sends infrared signal, and the receiving infrared-ray information of infrared remote receiver 1 is simultaneously sent to the first single-chip microcomputer 3;
2)The receive information of first single-chip microcomputer 3, the one by one information in more each storage element;
3)If infrared ray information coding corresponding to finding, stop searching, and according to the address of storage element, to first group Or second group of data-out port sends 5 bit parallel datas;If can not find corresponding infrared ray information coding, do not perform following The step of, and wait next information to be received;
4)Input data port receives the second singlechips 4 of data and 5 bit parallel datas received is entered into row decoding, and Corresponding data-out port exports high level;
5)Base stage receives the transistor transience conducting of high level, and keyboard chip sends corresponding key code signal to computer.
Flow recited above, the address of the storage element of the infrared ray information coding of the first single-chip microcomputer 3 storage are divided into two Group, the corresponding second singlechip of a group address.If the storage address of the information coding searched out belongs to first group, by the Address code is sent to first second singlechip 4 by one group of data-out port;If the storage address of the information coding searched out Belong to second group, then address code is sent to by second second singlechip 4 by second group of data-out port.
Flow recited above, in the first single-chip microcomputer 3 and 2 second singlechips 4 writing corresponding program completes its work( Energy.
On set handle quantity and button quantity when, if set 12 handles, then a handle can set 4 by Key;If 10 handles are set, then a handle can set 5 buttons;If set 8 handles, then a handle can set 6 by By that analogy, the button sum of settable all handles is up to 50 to key ....
Second of embodiment, as shown in Figure 2, infrared signal turn the receiving converter of computor-keyboard signal, including red Outer receiver 1, set key, processor, transistor T, keyboard chip 2 and display screen 3;Described processor mainly includes 1 list Piece machine 4.Described infrared remote receiver 1, its data output end are connected to the serial data communication port RXD of single-chip microcomputer 4;Described Set key includes 1 handle number and sets key K1 and 1 button number setting key K2, is connected respectively to the I/O ports P3.2 of single-chip microcomputer 4 With I/O ports P3.3.I/O ports P1.0~P1.7, P2.0~P2.7, the P3.4~P3.7 of single-chip microcomputer 4, totally 20 port conducts Data-out port, each data-out port connect 1 transistor T, totally 20 transistor T.Transistor T colelctor electrode connects The row port of keyboard chip is connected on, emitter stage is connected to the row port of keyboard chip;20 transistor T respectively ranks port it Between use 20 kinds of different connected modes.I/O ports P0.0~P0.7 of single-chip microcomputer 4 is connected with display screen 3, described display screen 3, for showing the handle number and button number and related configuration information of current setting.
Handle number recited above sets key K1, and often by once, SCM program points to the handle number of setting next; Described button number setting key K2, often by once, SCM program points to the button number of setting next;If 10 hands are set Handle a, then handle can set 2 buttons;If 5 handles are set, then a handle can set 4 buttons ... by that analogy, The button sum of settable all handles is up to 20.
Embodiments described above, remote controller key signal is converted into the flow of keyboard key code signal including as follows:
1)Single-chip microcomputer 4 receives the infrared signal of remote control by infrared remote receiver 1;
2)According to the infrared signal received, the one by one infrared ray information coding in more each storage element;
3)If infrared ray information coding corresponding to finding, stop searching, and according to the address of storage element, to corresponding Data-out port sends of short duration high level signal;
4)Base stage receives the transistor T transiences conducting of high level, and keyboard chip 2 sends corresponding key to computer to be believed Number.
Flow recited above, corresponding program is write in single-chip microcomputer 4 and completes its function.
Two ways recited above, the program on playing or racing to be the first to answer a question are completed by computer, and on more specific keyboard core Connected mode between piece ranks port, the connected mode with computer, and the function of racing to be the first to answer a question or play how is realized, refer to specially Profit number is double button multifunctional preemptive answering device file disclosed in 201120279390.2, disclosed in Patent No. 201310691839X Computer game multi-handle device file and related keyboard chip data explanation.
Two kinds of embodiments recited above, when specifically playing or racing to be the first to answer a question activity, first by the TV remote controller in family, sky Remote control, DVD remote controls, toy car remote control, set remote-controller of sweeping the floor etc. are adjusted, by way of study, by the portion of remote control Infrared signal corresponding to button is divided to be stored into single-chip microcomputer, then these remote controls just can be used as handle use, if not enough also The remote control of neighbour man can be borrowed.Therefore configure flexibly, it is cost-effective rationally using resource, it is especially suitable for family's use.
Embodiments described above, only it is implementation example of the present utility model;It will be apparent to those skilled in the art that On the premise of not departing from the utility model principle, some made change, and should all be considered as belonging to protection model of the present utility model Enclose.

Claims (5)

1. infrared signal turns the receiving converter of computor-keyboard signal, it is characterized in that:Including infrared remote receiver, set key, place Manage device, transistor, keyboard chip;
Described processor, including storage module, serial data communication port, conventional data I/O ports;Processor is mainly used In:
1)The coding of the infrared signal received to infrared remote receiver stores;
2)Infrared ray information coding corresponding to being searched according to the infrared ray information that receives in storage module, and according to finding The address of storage element is in corresponding conventional data I/O ports output data, transistor turns corresponding to driving;
The data output end of infrared remote receiver is connected to the serial data communication port of processor;
The conventional data I/O ports of set key and processor connect, and transistor also connects with the conventional data I/O ports of processor Connect;Switch of the transistor as keyboard chip ranks port on or off.
2. infrared signal according to claim 1 turns the receiving converter of computor-keyboard signal, it is characterized in that:Described Processor is mainly made up of 1 the first single-chip microcomputer and 2 second singlechips;Described infrared remote receiver, its data output end with The serial data communication port RXD connections of first single-chip microcomputer;
First single-chip microcomputer is provided with 2 groups of data-out ports, 2 groups of data-out ports I/O ends with 2 second singlechips respectively Mouth connection, the data input pin as second singlechip;Each second singlechip has part I/O ports as data output end again Mouthful, each data-out port connects a transistor.
3. infrared signal according to claim 1 turns the receiving converter of computor-keyboard signal, it is characterized in that:Described Processor mainly includes 1 single-chip microcomputer;Described infrared remote receiver, the serial data that its data output end is connected to single-chip microcomputer are led to Interrogate port RXD;As data-out port, each data-out port connects a transistor for the part I/O ports of single-chip microcomputer.
4. infrared signal according to claim 3 turns the receiving converter of computor-keyboard signal, it is characterized in that:Also include Display screen;The part I/O ports of single-chip microcomputer are connected with display screen.
5. infrared signal according to claim 1 turns the receiving converter of computor-keyboard signal, it is characterized in that:Described Transistor, its colelctor electrode are connected to the row port of keyboard chip, and emitter stage is connected to the row port of keyboard chip.
CN201720509131.1U 2017-05-09 2017-05-09 Infrared signal turns the receiving converter of computor-keyboard signal Expired - Fee Related CN206726179U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720509131.1U CN206726179U (en) 2017-05-09 2017-05-09 Infrared signal turns the receiving converter of computor-keyboard signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720509131.1U CN206726179U (en) 2017-05-09 2017-05-09 Infrared signal turns the receiving converter of computor-keyboard signal

Publications (1)

Publication Number Publication Date
CN206726179U true CN206726179U (en) 2017-12-08

Family

ID=60509711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720509131.1U Expired - Fee Related CN206726179U (en) 2017-05-09 2017-05-09 Infrared signal turns the receiving converter of computor-keyboard signal

Country Status (1)

Country Link
CN (1) CN206726179U (en)

Similar Documents

Publication Publication Date Title
CN215450135U (en) Mouse and keyboard converter
CN100397838C (en) Digital type infrared-bluetooth two-bridge universal remote control device
CN108288411A (en) A kind of intelligent interactive learning machine and its system
CN103632531A (en) Intelligent remote controller with laser pointer function and remote control method thereof
CN101692699A (en) Television system with mouse-based remote controller
CN202282066U (en) Wireless control device for family multimedia entertainment equipment and family entertainment system
CN202602768U (en) Novel mobile phone remote control device
CN206726179U (en) Infrared signal turns the receiving converter of computor-keyboard signal
CN109830141A (en) A kind of entity command programmed method and entity command programing system
CN100385471C (en) Studying remote control method and device for household electrical appliances
CN106909233A (en) Infrared signal turns the receiving converter of computor-keyboard signal
CN206601795U (en) All-in-one intelligent remote controller
CN101815161B (en) Television remote controller
CN203630952U (en) Intelligent remote controller with function of laser pen
CN101264838B (en) Building floor choosing device in elevator compartment
CN206077614U (en) A kind of intelligent television Multifunctional radio-frequency remote controller
CN111803914B (en) Automatic file learning and APP communication read-write method and device for game handle
CN201174106Y (en) Mouse having virtual laser keyboard function
CN103714688A (en) Infrared-transmission touch remote controller
CN204377074U (en) A kind of multifunctional remote controlller
CN102932687A (en) Method and system for realizing mouse function by using television infrared receiving head
CN103871230A (en) Intelligent touch remote controller
CN201226187Y (en) Learning type remote controller
CN208927568U (en) A kind of mobile phone pilot controller conducive to e-sports
CN102254417A (en) Multifunctional universal intelligent infrared remote control learner capable of being in remote wireless control

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171208

CF01 Termination of patent right due to non-payment of annual fee