Input device capable of programming keys and changing key positions

文档序号:71784 发布日期:2021-10-01 浏览:25次 中文

阅读说明:本技术 一种可编程按键并可更改按键位置的输入设备 (Input device capable of programming keys and changing key positions ) 是由 赵智泉 于 2021-05-20 设计创作,主要内容包括:本发明涉及嵌入式技术领域,具体为一种可编程按键并可更改按键位置的输入设备,所述设备包括多层洞洞板、电池和烧录器,所述多层洞洞板上设有多个可编程转接头,每个所述可编程转接头上均可以设有按键,所述多层洞洞板上还设有一个可编程转接头并连接Ps/2数据线。本发明是依托于洞洞开发板的模块化、可编程、可扩展性等特点开发的一种键盘。(The invention relates to the embedded technical field, in particular to an input device capable of programming keys and changing the positions of the keys, which comprises a multilayer hole plate, a battery and a burner, wherein the multilayer hole plate is provided with a plurality of programmable adapters, each programmable adapter can be provided with a key, and the multilayer hole plate is also provided with a programmable adapter and connected with a Ps/2 data line. The keyboard is developed by relying on the characteristics of modularization, programmability, expandability and the like of the hole development board.)

1. An input device with programmable keys and changeable key positions, comprising: the equipment comprises a multilayer hole plate (1), a battery (5) and a burner (7), wherein a plurality of programmable adapters (4) are arranged on the multilayer hole plate (1), each programmable adapter (4) is provided with a key (8), and the multilayer hole plate (1) is further provided with a programmable adapter (4) and connected with a Ps/2 data line (6).

2. An input device with programmable keys and changeable key locations as claimed in claim 1, wherein: the keyboard hole board is characterized in that an array type keyboard hole (11) is formed in a first layer (13) of the multi-layer hole board (1), a conductive net layer (2) and an insulating layer (3) are sequentially arranged below the first layer (13) of the multi-layer hole board (1) in a staggered mode, and four layers are laid on the conductive net layer (2) and the insulating layer (3).

3. An input device with programmable keys and changeable key locations as claimed in claim 1, wherein: the programmable adapter (4) is divided into three parts from top to bottom in proper order, the uppermost part of programmable adapter (4) is eight hole socket (41), four pin holes are respectively equipped with about eight hole socket (41), eight hole socket (41) below is equipped with STC15F104W singlechip (42), eight pin of STC15F104W singlechip (42) correspond respectively and insert eight pin holes of eight hole socket (41), STC15F104W singlechip (42) below is equipped with four sections of plug (43), the 2, 5, 6, 4 number pin and the four sections of plug (43) of STC15F104W singlechip (42) from the top down four sections link to each other.

4. A programmable key and changeable key position input device as in claim 2, wherein: the first layer (13) and the insulating layer (3) of the multilayer hole plate (1) are made of thermosetting phenolic resin, and through holes (12) are formed in the keyboard holes (11).

5. A programmable key and changeable key position input device as in claim 2, wherein: the material of electrically conductive stratum reticulare (2) is electrically conductive metal, be equipped with I-shaped hole (21) of array type on electrically conductive stratum reticulare (2), be equipped with shell fragment (22) in I-shaped hole (21), be equipped with matrix hole (31) of array type on insulating layer (3), the position one-to-one of matrix hole (31), I-shaped hole (21) and keyboard hole (11).

6. A programmable key and changeable key position input device as in claim 3, wherein: the programmable adapter (4) is arranged in the holes of the multilayer hole plate (1).

7. A programmable key and changeable key position input device as in claim 2, wherein: the keyboard hole (11) is a hexagonal horizontal groove, the top ends of the four sections of plugs (43) are also hexagonal, and the keyboard hole (11) corresponds to the top ends of the four sections of plugs (43) in a matching mode.

8. An input device with programmable keys and changeable key locations as claimed in claim 1, wherein: one in the programmable adapter (4) is input/output end and this hole 1, hole 2, hole 3, hole 4 of programmable adapter (4) pass through Ps/2 Data line (6) and are connected with Clock, Vcc, Data, Gnd end of the keyboard Ps/2 keyboard interface of PC (9) respectively, a plurality of and button (8) in programmable adapter (4) make up into the button end, hole 8, hole 4 of programmable adapter (4) of button end are connected with the two poles of the earth of button (8) respectively, all first festival in the four sections plug (43) of programmable adapter (4) is Gnd end, the second festival of battery (5) is the Clock bit, the third festival is the Data bit, the fourth festival is the Vcc end of battery (5).

Technical Field

The invention relates to the embedded technical field, in particular to an input device capable of programming keys and changing the positions of the keys.

Background

Programmable input devices are a type of human-computer interaction hardware used for programming, and products in the prior art control electronic components and devices as many as possible by using a core IC to complete tasks. The operation is not flexible enough, and the function realization is not rich enough. In view of this, it is necessary to design a modular, convenient, flexible, and convenient open-source electronic prototype development platform.

Disclosure of Invention

The present invention is directed to an input device with programmable keys and changeable key positions, so as to solve the problems mentioned in the background art.

In order to achieve the purpose, the invention provides the following technical scheme:

the utility model provides an input device of button able to programme and changeable button position, equipment includes multilayer hole board, battery and burns the ware, be equipped with a plurality of adapters able to programme on the multilayer hole board, every all can be equipped with the button on the adapter able to programme, still be equipped with on the multilayer hole board and still be equipped with an adapter able to programme and connect Ps 2 data line.

Furthermore, the first layer of the multilayer hole plate is provided with array-type keyboard holes, a conductive net layer and an insulating layer are sequentially arranged below the first layer of the multilayer hole plate in a staggered mode, and four layers are laid on the conductive net layer and the insulating layer.

Furthermore, the programmable adapter is sequentially divided into three parts from top to bottom, an eight-hole socket is arranged at the uppermost part of the programmable adapter, four pin holes are respectively formed in the left part and the right part of the eight-hole socket, an STC15F104W single chip microcomputer is arranged below the eight-hole socket, eight pins of the STC15F104W single chip microcomputer are correspondingly connected into the eight pin holes of the eight-hole socket respectively, four sections of plugs are arranged below the STC15F104W single chip microcomputer, and pins 2, 5, 6 and 4 of the STC15F104W single chip microcomputer are connected with the four sections of plugs from top to bottom.

Furthermore, the first layer and the insulating layer of the multilayer hole plate are made of thermosetting phenolic resin, and through holes are formed in the keyboard holes.

Furthermore, the material of the conductive mesh layer is conductive metal, the conductive mesh layer is provided with array-shaped I-shaped holes, elastic pieces are arranged in the I-shaped holes, the insulating layer is provided with array-shaped matrix holes, and the matrix holes, the I-shaped holes and the keyboard holes are in one-to-one correspondence in position.

Furthermore, the programmable adapter is arranged in the hole of the multilayer hole plate.

Further, the keyboard hole is a hexagonal horizontal groove, the top ends of the four sections of plugs are also hexagonal, and the keyboard hole corresponds to the top ends of the four sections of plugs in a matching mode.

Further, one of the programmable adapters is input/output end and should hole 1, hole 2, hole 3, hole 4 of the programmable adapter pass through Ps/2 Data line and are connected with Clock, Vcc, Data, Gnd end of the keyboard Ps/2 keyboard interface of PC respectively, a plurality of in the programmable adapter and the key combination become the button end, hole 8, hole 4 of the programmable adapter of button end are connected with the two poles of the earth of button respectively, all first festival in the four sections of plugs of the programmable adapter is Gnd end, the second festival is Clock bit, the third festival is Data bit, the fourth festival is Vcc end of battery.

Compared with the prior art, the invention has the beneficial effects that: the keyboard is developed by relying on the characteristics of modularization, programmability, expandability and the like of the hole development board. The method is characterized in that the position of the key can be changed at will, the personalized key can be set by a programming means, and the method has the advantages of no key conflict and the like.

Drawings

FIG. 1 is a schematic view of the overall structure of the present invention;

FIG. 2 is a top view of the overall structure of the present invention;

FIG. 3 is a schematic view of the overall structure of a multi-layer hole plate according to the present invention;

FIG. 4 is a schematic view of the first layer structure of the multi-layer hole plate of the present invention;

FIG. 5 is a schematic structural diagram of a conductive mesh layer in the present invention;

FIG. 6 is a schematic structural diagram of a middle insulating layer according to the present invention;

fig. 7 is a schematic structural diagram of a programmable adapter in the present invention;

fig. 8 is a schematic circuit diagram of the present invention.

In the figure: 1. a plurality of layers of hole plates; 11. a keyboard hole; 12. a through hole; 13. a first layer; 2. a conductive mesh layer; 21. an I-shaped hole; 22. a spring plate; 3. an insulating layer; 31. a rectangular hole; 4. a programmable adapter; 41. an eight-hole socket; 42. STC15F104W singlechip; 43. four sections of plugs; 5. a battery; 6. a Ps/2 data line; 7. a burner; 8. pressing a key; 9. and (3) a PC.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the equipment or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.

Referring to fig. 1-8, the present invention provides a technical solution:

the utility model provides an input device of button able to programme and can change button position, equipment includes multilayer hole board 1, battery 5 and burns record ware 7, is equipped with a plurality of adapters able to programme 4 on the multilayer hole board 1, can be equipped with button 8 on every adapter able to programme 4, still is equipped with a adapter able to programme 4 on the multilayer hole board 1 and connects Ps/2 data line 6.

The array type keyboard hole 11 is arranged on the first layer 13 of the multi-layer hole board 1, the conductive net layers 2 and the insulating layers 3 are sequentially arranged below the first layer 13 of the multi-layer hole board 1 in a staggered mode, and four layers are paved on the conductive net layers 2 and the insulating layers 3.

The programmable adapter 4 is sequentially divided into three parts from top to bottom, the uppermost part of the programmable adapter 4 is an eight-hole socket 41, four pin holes are respectively arranged on the left side and the right side of the eight-hole socket 41, an STC15F104W single chip microcomputer 42 is arranged below the eight-hole socket 41, eight pins of the STC15F104W single chip microcomputer 42 are correspondingly connected into the eight pin holes of the eight-hole socket 41 respectively, four sections of plugs 43 are arranged below the STC15F104W single chip microcomputer 42, and the No. 2, 5, 6 and 4 pins of the STC15F104W single chip microcomputer 42 are connected with the four sections of plugs 43 from top to bottom.

The first layer 13 and the insulating layer 3 of the multilayer hole plate 1 are made of thermosetting phenolic resin, and through holes 12 are arranged in the keyboard holes 11.

The conductive mesh layer 2 is made of conductive metal, the conductive mesh layer 2 is provided with array-shaped I-shaped holes 21, elastic pieces 22 are arranged in the I-shaped holes 21, the insulating layer 3 is provided with array-shaped matrix holes 31, and the positions of the matrix holes 31, the I-shaped holes 21 and the keyboard holes 11 correspond to one another one by one.

Specifically, the external device may control other external modules through the programmable adapter 4. Or the external module can be used for carrying out interactive control with the external module on other programmable adapters 4 through the programmable adapters 4 by using the hole plate.

The programmable adapter 4 is arranged in the hole of the multilayer hole plate 1.

Furthermore, the hole plate is a data bus, a plurality of programmable adapters 4 are inserted into holes of the data bus hole plate, the programmable adapters 4 are powered through the first layer and the fourth layer of conductive net layer 2, and data are interacted for the programmable adapters 4 through the second layer and the third layer.

The keyboard hole 11 is a hexagonal horizontal groove, the top end of the four-section plug 43 is also hexagonal, and the keyboard hole 11 and the top end of the four-section plug 43 are correspondingly matched.

One of the programmable adapters 4 is an input/output end, and the hole 1, the hole 2, the hole 3 and the hole 4 of the programmable adapter 4 are respectively connected with the Clock, Vcc, Data and Gnd ends of a keyboard Ps/2 keyboard interface of the PC9 through a Ps/2 Data line 6, a plurality of the programmable adapters 4 and the keys 8 are combined into a key end, the hole 8 and the hole 4 of the programmable adapter 4 at the key end are respectively connected with two poles of the keys 8, the first section of the four sections of plugs 43 of all the programmable adapters 4 is the Gnd end of the battery 5, the second section is a Clock bit, the third section is a Data bit and the fourth section is the Vcc end of the battery 5.

It should be noted that: in this embodiment, the key 8 may be a single key 8 switch, or a key group module composed of a group of multiple keys 8; the battery 5 provides the energy source for the device of the invention when the data line is not connected. Including a transformer or a battery. The burner 7 enables the computer to burn the program into the chip in the programmable adapter 4 by burning.

Specifically, the working principle of the invention is as follows: one of the programmable adapters 4 is an input/output end, and the data bit of the input/output end is a high level; the first section of the four sections of plugs 43 of all the programmable adapters 4 is the Gnd terminal of the battery 5, the second section is the clock bit, the third section is the data bit, the fourth section is the Vcc terminal of the battery 5, the clock bit transmits a 100 microsecond low level as the start bit, then transmits a group of square waves with interval of 40 microseconds, wherein each high level represents a key 8 of the keyboard, and scans whether the data bit is low level or not at each high level, at this time, if the key terminal B is pressed down, the data bit is pulled down to low level at the high level of the clock B, after the group of clocks is finished, the PS/2 keyboard on code of the key B is transmitted to the computer to prove that the key is pressed down, then the next group of clocks scans whether the key is low level or not, if the key is low level, no response is made, the next clock scanning is continued, otherwise, if the clock is high level, the PS/2 keyboard off code is transmitted to the computer to prove that the key 8 is lifted after the clock cycle, and circulating the steps.

The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and the preferred embodiments of the present invention are described in the above embodiments and the description, and are not intended to limit the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种可调节的电子元件导电片

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!