Digital signal encoder
Technical Field
The utility model relates to the technical field of electronic equipment, in particular to a digital signal encoder.
Background
An encoder is a device that compiles, converts, and/or formats signals or data into a form of signals that can be communicated, transmitted, and stored. Encoders convert angular or linear displacements, called codewheels, into electrical signals, called coderulers. The code disc type encoder has high conversion precision, a signal can be changed due to small angle change, the motion resistance of a code disc of the conventional encoder is small, and misoperation is caused by interference such as vibration.
Disclosure of Invention
Aiming at the defects of the prior art, the utility model develops the digital signal encoder, and the coded disc of the encoder is provided with the anti-interference device, so that the misoperation caused by vibration is avoided.
The technical scheme for solving the technical problem of the utility model is as follows: on one hand, the embodiment of the utility model provides a digital signal encoder which comprises a single chip microcomputer, an encoding switch, a communication joint, a knob and a shell, wherein the encoding switch is connected with the single chip microcomputer, a communication port of the single chip microcomputer is connected with the communication joint, the encoding switch is provided with a press switch capable of rotating in a certain degree, the single chip microcomputer and the encoding switch are installed in the shell, the knob is connected with the press switch of the encoding switch, the shell is provided with a notch corresponding to the communication joint, the communication joint is inserted into the notch and extends outwards, an anti-shaking support is further arranged below the knob and comprises an elastic piece, a compression ring and an installation seat, the elastic piece and the compression ring are installed in the installation seat, the elastic piece is arranged below the compression ring, and the top surface of the compression ring is attached to the bottom surface of the knob. The singlechip is internally provided with a control program, can receive the coding signal sent by the coding switch, converts the coding signal into an electric signal and sends the electric signal to the outside through the communication joint.
Preferably, the bottom surface of the knob is provided with a gear ring, and the top surface of the compression ring is provided with a corresponding gear ring.
Preferably, the elastic piece is a spring or an elastic rubber ring.
As an optimization, the model of the coding switch is EC 06.
Preferably, the communication joint is an IIC communication joint, and the single chip microcomputer is internally provided with an IIC communication protocol and a communication interface corresponding to the IIC communication joint.
Preferably, the communication joint is a USB joint, and the singlechip is internally provided with a USB communication protocol and a communication interface corresponding to the USB joint.
The effects provided in the contents of the present invention are only the effects of the embodiments, not all the effects of the present invention, and the above technical solution has the following advantages or advantageous effects: through the top surface laminating of the top surface that sets up the clamping ring and the bottom surface of knob, the resistance of clamping ring need be overcome when the knob is rotatory, has avoided the maloperation that vibrations lead to.
Drawings
Fig. 1 is a schematic circuit diagram of an embodiment of the present invention.
Fig. 2 is a general block diagram of an embodiment of the present invention.
Fig. 3 is a front view of one embodiment of the present invention.
Fig. 4 is a sectional view taken along a-a of fig. 3.
Fig. 5 is a perspective view of fig. 3 taken along the direction a-a.
Fig. 6 is a partially enlarged view of the region B in fig. 5.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the utility model. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the utility model. The terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," and the like are used in the orientation or positional relationship indicated in the drawings for convenience in describing the utility model and for simplicity in description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be construed as limiting the utility model. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Fig. 1 to 6 show an embodiment of the present invention, and as shown in the figures, a digital signal encoder includes a single chip microcomputer 1, an encoding switch 2, a communication connector 3, a knob 4, and a housing 5, wherein the encoding switch 2 is connected to the single chip microcomputer 1, a communication port of the single chip microcomputer 1 is connected to the communication connector 3, the encoding switch 2 is provided with a push switch capable of rotating 360 degrees, the single chip microcomputer 1 and the encoding switch 2 are installed in the housing 5, the knob 4 is connected to the push switch of the encoding switch 2, the housing 5 is provided with a notch corresponding to the communication connector 3, the communication connector 3 is inserted into the notch and extends outwards, an anti-shake bracket 6 is further provided below the knob 4, the anti-shake bracket 6 includes an elastic member 6-1, a press ring 6-2, and a mounting seat 6-3, the elastic member 6-1 and the press ring 6-2 are installed in the mounting seat 6-3, the elastic member 6-1 is disposed below the press ring 6-2, the top surface of the press ring 6-2 is attached to the bottom surface of the knob 4. By arranging the top surface of the pressing ring 6-2 to be attached to the bottom surface of the knob 4, the resistance of the pressing ring 6-2 needs to be overcome when the knob 4 rotates, and misoperation caused by vibration is avoided. The singlechip 1 is internally provided with a control program, can receive the coding signal sent by the coding switch 2, converts the coding signal into an electric signal and sends the electric signal to the outside through the communication joint 3.
The bottom surface of the knob 4 is provided with a gear ring, and the top surface of the compression ring 6-2 is provided with a corresponding gear ring. The elastic piece 6-1 is an elastic rubber ring. The model number of the coding switch 2 is EC 06. The communication connector 3 is an IIC communication connector, and the single chip microcomputer 1 is internally provided with an IIC communication protocol and a communication interface corresponding to the IIC communication connector. Or the communication joint 3 is a USB joint, the singlechip 1 is internally provided with a USB communication protocol and is provided with a communication interface corresponding to the USB joint.
Although the present invention has been described with reference to the specific embodiments shown in the drawings, it is not intended to limit the scope of the present invention, and various modifications and variations can be made by those skilled in the art without inventive changes based on the technical solution of the present invention.