Display and electronic contest subassembly
阅读说明:本技术 显示器及电竞组件 (Display and electronic contest subassembly ) 是由 欧阳明 范攀 于 2020-07-17 设计创作,主要内容包括:本发明公开一种显示器和电竞组件,显示器包括显示本体和外设信号输入接口,显示本体上设置有显示器工作电路,显示器工作电路用于存储多个与外设信号一一对应的显示信号,外设信号输入接口设于显示本体上,外设信号输入接口与控制电路电连接,外设信号输入接口用于接入外部设备输入的外设信号。控制电路根据外设信号输入接口输入的外设信号确定对应的显示信号,并输出显示信号至控制显示本体进行画面显示。本发明用于解决现有显示器调整画质效果时间较长的技术问题。(The invention discloses a display and an electronic contest assembly, wherein the display comprises a display body and a peripheral signal input interface, a display working circuit is arranged on the display body and used for storing a plurality of display signals which are in one-to-one correspondence with the peripheral signals, the peripheral signal input interface is arranged on the display body and electrically connected with a control circuit, and the peripheral signal input interface is used for accessing the peripheral signals input by external equipment. The control circuit determines a corresponding display signal according to the peripheral signal input by the peripheral signal input interface and outputs the display signal to the control display body for picture display. The invention is used for solving the technical problem that the time for adjusting the image quality effect of the existing display is longer.)
1. A display, characterized in that the display comprises:
the display device comprises a display body, wherein a display working circuit is arranged on the display body and used for storing a plurality of display signals which are in one-to-one correspondence with peripheral signals; and
the peripheral signal input interface is arranged on the display body and electrically connected with the display working circuit, and is used for accessing peripheral signals input by external equipment;
the display working circuit is also used for determining a corresponding display signal according to the peripheral signal input by the peripheral signal input interface and outputting the display signal to the display body for picture display.
2. The display of claim 1, wherein the display operating circuit comprises a control circuit and a memory electrically connected to the control circuit, the memory for storing a plurality of display signals in one-to-one correspondence with peripheral signals.
3. The display of claim 1, wherein the display further comprises:
the output end of the peripheral working circuit is connected with the peripheral signal input interface;
and the peripheral working circuit is used for outputting a peripheral signal according to the action of the external equipment.
4. The display of claim 3, wherein the peripheral operational circuitry includes first and second assignment circuits; the peripheral signal input interface comprises a first IO port and a second IO port, the output end of the first assignment circuit is connected with the first IO port, and the output end of the second assignment circuit is connected with the second IO port;
the first assignment circuit is used for outputting a corresponding first assignment signal according to the action of the external equipment;
and the second assignment circuit is used for outputting a corresponding second assignment signal according to the action of the external equipment.
5. The display of any one of claims 1-4, wherein the external device is a foot pedal.
6. The display of claim 3, wherein the peripheral operational circuitry is a pressure sensor; or the like, or, alternatively,
the peripheral working circuit is a key switch; or the like, or, alternatively,
the peripheral working circuit is a similar key switch.
7. The display of claims 3-6, wherein the peripheral operational circuitry is disposed in the external device; or the like, or, alternatively,
the peripheral working circuit is arranged in the display body.
8. The display of claims 1-6, wherein the display signals include brightness, contrast, saturation, and OSD sight icons.
9. A bidding assembly, comprising an external device and a display according to any one of claims 1-8, wherein said external device is communicatively connected to said display via said peripheral signal input interface.
10. The electronic contest assembly of claim 9, wherein said external device is a foot pedal, said electronic contest assembly further connected with a mouse;
and a control circuit of the display acquires the display coordinates of the mouse on the display and displays the OSD sight icon represented by the display information acquired by the display on the display coordinates.
Technical Field
The invention relates to the technical field of displays, in particular to a display and a power competition assembly.
Background
With the development of information technology, electronic sports have become a sporting event. The normalization of electronic sports has further facilitated the development of electronic sports equipment, particularly displays. In order to improve the experience of the electronic contestants on increasingly harsh electronic contest games, displays with higher image quality requirements are required, and electronic contest peripherals such as keyboards, mice and foot pedals which are more fluent and convenient to operate are also widely applied among players.
The existing displays are all provided with 5-key boards and are used for calling OSD (on screen display, picture-in-picture) menus of the displays, and some adjustments are made to picture quality to adapt to different use scenes; in the electronic competition, except the main body of the display, the display and the peripheral equipment such as a mouse keyboard headset are also equipped, and the win-win and loss depend on the operation speed of the mouse keyboard of a player to a great extent. The OSD menu keys of the current display are all fixed on an outer frame, image quality adjusting options such as brightness, contrast, color temperature and Gamma curve adjustment are mainly provided, the most suitable current display effect can be adjusted according to different game scenes, but in the process of an actual electronic competition, the display only serves as a display device, the image quality effect of the display is set before the competition starts, in the whole competition process, a single image quality effect is not enough to cope with the changeful game picture scenes, and almost no player can extract time to adjust the image quality effect of the display under the fierce competition.
Disclosure of Invention
The invention mainly aims to provide a display, and aims to solve the technical problem that the conventional display has long time for adjusting the image quality effect.
To achieve the above object, the present invention provides a display, including:
the display device comprises a display body, wherein a display working circuit is arranged on the display body and used for storing a plurality of display signals which are in one-to-one correspondence with peripheral signals; and
the peripheral signal input interface is arranged on the display body and electrically connected with the display working circuit, and is used for accessing peripheral signals input by external equipment;
the display working circuit is also used for determining a corresponding display signal according to the peripheral signal input by the peripheral signal input interface and outputting the display signal to the display body for picture display.
Optionally, the display operating circuit includes a control circuit and a memory electrically connected to the control circuit, and the memory is configured to store a plurality of display signals corresponding to peripheral signals one to one.
Optionally, the display further comprises:
the output end of the peripheral working circuit is connected with the peripheral signal input interface;
and the peripheral working circuit is used for outputting a peripheral signal according to the action of the external equipment.
Optionally, the peripheral work circuit comprises a first evaluation circuit and a second evaluation circuit; the peripheral signal input interface comprises a first IO port and a second IO port, the output end of the first assignment circuit is connected with the first IO port, and the output end of the second assignment circuit is connected with the second IO port;
the first assignment circuit is used for outputting a corresponding first assignment signal according to the action of the external equipment;
and the second assignment circuit is used for outputting a corresponding second assignment signal according to the action of the external equipment.
Optionally, the first evaluation circuit includes a first resistor, a second resistor, a first diode, a third diode, a first capacitor, and a first switch, a first end of the first resistor is an output end of the first evaluation circuit, and a second end of the first resistor, an anode of the first diode, a cathode of the second diode, a first end of the first capacitor, and a first end of the second resistor are respectively connected to a first end of the first switch; the second end of the second resistor is connected with a first power supply; the cathode of the first diode is connected with a second power supply; and the anode of the second diode, the second end of the first capacitor and the second end of the first switch are all grounded.
Optionally, the second evaluation circuit includes a third resistor, a fourth resistor, a third diode, a fourth diode, a second capacitor, and a second switch, where a first end of the third resistor is an output end of the first evaluation circuit, and a second end of the third resistor, an anode of the third diode, a cathode of the fourth diode, a first end of the second capacitor, and a first end of the fourth resistor are respectively connected to a first end of the second switch; the second end of the fourth resistor is connected with a first power supply; the cathode of the third diode is connected with a second power supply; and the anode of the fourth diode, the second end of the second capacitor and the second end of the second switch are all grounded.
Optionally, the first switch and the second switch constitute the external device.
Optionally, the external device is a foot pedal.
Optionally, the peripheral operating circuit is disposed in the external device; or the like, or, alternatively,
the peripheral working circuit is arranged in the display body.
Optionally, the display signal includes brightness, contrast, saturation, and OSD sight icons.
Optionally, the peripheral working circuit is a pressure sensor; or the like, or, alternatively,
the peripheral working circuit is a key switch; or the like, or, alternatively,
the peripheral working circuit is a similar key switch.
The invention further provides an electronic contest assembly, which comprises external equipment and the display, wherein the external equipment is in communication connection with the display through the peripheral signal input interface.
Optionally, the external device is a pedal, and the electronic competition component is further connected with a mouse;
and a control circuit of the display acquires the display coordinates of the mouse on the display and displays the OSD sight icon represented by the display information acquired by the display on the display coordinates.
The display body is provided with a display working circuit, wherein the display working circuit is used for storing a plurality of display signals corresponding to the peripheral signals, and the peripheral signal input interface is used for accessing the peripheral signals input by the external equipment. The control circuit determines a corresponding display signal according to the peripheral signal input by the peripheral signal input interface, and controls the display body to display the picture. In the above embodiment, the display directly acquires the peripheral signal and uses the peripheral signal to adjust the picture display effect of the display body, so that the picture display effect can be directly adjusted through the external device, and the picture display effect does not need to be adjusted through the key board, thereby simplifying the adjustment steps, enabling a user to quickly and conveniently adjust the picture display effect, and solving the technical problem that the conventional display has a long time for adjusting the picture quality effect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a block diagram of a display according to the present invention;
FIG. 2 is a block diagram of a display according to the present invention;
FIG. 3 is a block diagram of an exemplary prior art display;
FIG. 4 is a schematic circuit diagram of a display according to the present invention;
FIG. 5 is a schematic view of the working process of the display according to the present invention;
FIG. 6 is a schematic view of the working process of the display according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention, and if there is a description related to "first", "second", and the like in the embodiments of the present invention, the description of "first", "second", and the like is only used for descriptive purposes and is not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
The invention provides a display to solve the technical problem that the conventional display has long time for adjusting the image quality effect.
In an exemplary technique, as shown in fig. 3, the external device is a foot pedal, and is connected to a host PC (personal computer) through a USB interface, the foot pedal belongs to a functional hardware device, application programs such as a competitive game and color adjustment on the computer belong to functional layer application software, black arrows in the drawing represent real data streams, blank arrows represent logical data streams, the operation of the foot pedal is logically divided into transmission from the functional layer to the device layer and then to the bus interface layer in the host, after an operation instruction of the USB device is transmitted to the host, the operation instruction is distributed to the functional application software by the host system and is responded by the functional application software, if the application software such as color management is currently operated by the PC host, the instruction transmitted by different pedaling modes of the foot pedal is responded, a response instruction is driven by a video card, graphic information to be processed is stored in a video memory, and a picture on a display screen is composed of pixel points, each pixel point controls the brightness and color by 4-32 even 64 bits of data, the data are stored by a video memory, then are allocated by a display chip and a CPU, and finally the operation result is converted into a color graph needed by people and is output to a display by signals such as HDMI (High Definition Multimedia Interface) and the like, so that the people can see display pictures with different image quality effects; the pedals with the same USB interface are the same as those of the peripheral devices such as the mouse and the keyboard, and when the application of the electronic competition game is running, the game can also respond to the pedaling action of the pedals, so when image quality adjustment is needed for different scenes of the game, the pedals directly connected with the host PC through the USB interface interfere with the game at the same time, and of course, a user can select to switch back and forth between color management and the game, so that the game experience is poor. Moreover, the addition of the external device of the pedal plate is to some extent to add extra shortcut key skills to players, the traditional pedal plate is connected with a PC host computer through a USB interface or a wireless form such as bluetooth, and the host computer responds to the operation of the pedal plate, which will occupy part of the resources of the host computer to some extent, and because the host computer is connected with a plurality of external devices, such as: keyboard, mouse and headset, etc. when the game is going on vigorously, the simultaneous operation of multiple peripherals may interfere with each other, and such errors will be fatal to professional competition.
In one embodiment, as shown in fig. 2, the display includes a
The display working circuit stores a plurality of display signals corresponding to the peripheral signals one to one, the peripheral signal input interface 103 is connected to the peripheral signals input by the external device, and the
Optionally, the display operating circuit includes a
The memory is used for storing display signals corresponding to the peripheral signals. The display signal corresponds to the peripheral signal, so that the display numerical value can be conveniently and directly called, the delay is reduced, and the response speed of the display is accelerated. And the display signal of the display and the display signal of the control signal of the host can be separated and do not interfere with each other.
Optionally, the memories correspond to different peripheral signals one to one, and each memory may store the display signal corresponding to the different peripheral signal, so as to further increase the display speed of the display.
Alternatively, the memory may be a general memory type such as a register or a flash memory.
Based on the above circuit, taking the
the foot pedal is connected with the control circuit 102 through the peripheral signal input interface 103, the foot pedal can be used as a shortcut key of an OSD menu key on the outer frame, the foot is placed on the pedal, the front foot pedal is pressed down all the time, the peripheral signal representing the continuous pressing of the front foot pedal is transmitted to the control circuit 102, the control circuit 102 receives the peripheral signal, the attributes of brightness, contrast and the like which are required to be increased at present are known according to the peripheral signal, the control circuit 102 is additionally provided with a display signal in a corresponding memory for outputting the display signal to the function menu at the OSD side, the OSD automatically adjusts the brightness and the contrast of the display attribute at the background, the peripheral signal representing the loosening of the front foot pedal is transmitted to the control circuit 102, the control circuit 102 receives the peripheral signal, the control circuit 102 outputs the display signal in the corresponding memory according to the peripheral signal, and transmits the display signal to the OSD function menu, gradually restoring the previous image quality attribute state; the same rear foot pedal continuously presses the foot pedal, the control circuit 102 outputs a corresponding display signal in the memory according to the external signal, the display signal is transmitted to the OSD function menu, the saturation of the picture is continuously adjusted, and when the rear foot pedal is released, the picture effect is gradually restored to the previous default state. And continuous pressing within 1 second at half sole interval of the lower foot can make the second IO port connected with the rear foot pedal detect two potential changes, can directly pop up the auxiliary gun center for OSD drawing, and the match center called by the keyboard and the mouse is matched, so that the match rate is improved.
Alternatively, the control circuit may be implemented by a chip of model MST9U13Q 1.
Based on the above circuit, taking the
s1, acquiring an electrical signal of the
the front pedal of the pedal is connected to the first IO port GPIO1, the rear pedal is connected to the second IO port GPIO2, and the first IO port GPIO1 and the second IO port GPIO2 are both in a pulled-up (i.e., high level) state by default, which is denoted as state 1, and it is assumed that the port address of the first IO port GPIO1 is 0x01, and the port address of the second IO port GPIO2 is 0x 02. When the current pedal plate is stepped on, a continuous electric signal (voltage analog signal) can be provided for the port of the first IO port GPIO1, after the first IO port GPIO1 receives the voltage signal, the state of the first IO port GPIO1 is pulled down (low level state), which is recorded as state 0, when the current pedal plate is loosened, the voltage analog signal disappears, the state of the first IO port GPIO1 is pulled up again, and the state 1 is recorded. Similarly, when the rear foot pedal is stepped on, a continuous electric signal (voltage analog signal) is provided to the port of the second IO port GPIO2, the voltage analog signal is different from that provided to the first IO port GPIO1 by the front foot pedal, after the second IO port GPIO2 receives the voltage analog signal, the state of the second IO port GPIO2 is pulled down, and we remember the state 0, when the rear foot pedal is released, the voltage analog signal disappears, and the state of the GPIO2 is pulled up again, which is recorded as the state 1.
The
Similarly, when the rear foot pedal is stepped on, the port of the GPIO2 is defaulted to be high potential 1, and becomes low potential 0 when a voltage analog signal is input, then under the condition that the foot pedal is not stepped on, the port of the GPIO2 is always kept at low potential 0, so that the action of stepping on the rear foot pedal can be simply regarded as transmitted digital signal data 0x100x 000x00, the port address of the GPIO2 is 0x02, so that the action of stepping on the rear foot pedal can be converted into a string of digital signals 0x020x 100x 000x00, and by adding head-to-tail verification, the action of stepping on the rear foot pedal can be converted into an actual digital signal 0xaa 0x020x 100x 000x 000 xff; if the rear foot pedal corresponding to the GPIO2 port is stepped on twice within 1 second as described above, the digital signal corresponding to the two successive steps is 0xaa 0x020x 100x 010x100x 010 xff.
S2, determining the corresponding memory address according to the digital signal and reading the prestored numerical value;
because the memory address can change along with the change of practical application, here, only need define the memory address that different digital signals correspond in advance, regard the numerical value size of predetermineeing as the numerical value of prestoring and store in the memory, can confirm the corresponding memory address and read the prestoring numerical value wherein according to the digital signal, for example: a pre-stored value of 50 saturation is stored in the memory at address 11111111, and when the digital signal represents a command to adjust saturation, i.e. the corresponding memory address is 11111111, the pre-stored value is 50. The pre-stored values may be the brightness, contrast, and saturation values commonly used by the user.
S3, continuously acquiring the encoded digital signal of the
In the above embodiment, when the memory a1 determined by the next digital signal is identical to the memory address a2 determined by the previous digital signal, i.e., a1 is equal to a2 is equal to a 11111111111, the value in the memory is increased on the basis of the pre-stored value at a preset speed, for example, the value in the memory is continuously increased on the basis of the pre-stored value of 50, for example, the value in the memory is increased at a speed of 5/s, thereby realizing rapid adjustment of brightness, contrast and saturation, and increasing the relevant value so that the display can rapidly brighten the bright scene and the dark scene in the game picture. When the memory address determined by the next digital signal and the memory address determined by the previous digital signal indicate that the previous parameter does not need to be adjusted, the previous parameter is adjusted to the common value. Thereby avoiding the eye injury of the user caused by the long-time over-strong screen display.
In one embodiment, as shown in fig. 6, after the step of acquiring the electrical signal of the
and S4, when the digital signal is a preset digital signal, determining a corresponding memory address according to the digital signal, outputting the coordinates of the mouse to a memory corresponding to the digital signal, and displaying the coordinates of the mouse as an OSD sight icon on the display main body.
The OSD sight icon is a bitmap in a bmp format, the bitmap is divided into blocks according to a certain size (such as 12 × 18), each block is an individual pixel, a small pixel block is cut out in the horizontal direction 12 and the vertical direction 18, the pixel blocks are stored in a flash (fast memory) or SDRAM (synchronous dynamic random access memory) memory of a
In one embodiment, the step of acquiring and encoding the electrical signal of the
encoding the electrical signal according to a preset first rule;
the preset first rule may refer to a digital coding rule, for example, the high level is recorded as 1, the low level is 0, and the collected electrical signal within a period of time is coded into a digital signal with a format of 0x 00. It should be noted that the encoding rule can be set by the user, and the purpose of the invention can be achieved by adopting other encoding rules.
Encrypting the encoded electrical signal in a first preset mode to obtain a digital signal;
the
In one embodiment, the step of determining the corresponding memory address according to the digital signal and reading the pre-stored value therein comprises:
decrypting the digital signal in a preset second preset mode;
the second preset mode is to screen out the first character and the tail character used in encryption, the middle section of the first character and the tail character is an encrypted digital signal, and the first character and the tail character are removed after screening to obtain a decrypted digital signal.
And determining a corresponding memory address according to the decrypted digital signal and reading a prestored numerical value in the memory address.
Before the step of acquiring the electrical signal of the
In one embodiment, the display further comprises a peripheral operating circuit, and an output end of the peripheral operating circuit is connected with the peripheral signal input interface 103.
The peripheral operation circuit outputs a peripheral signal in response to an operation of the
In one embodiment, as shown in FIG. 4, the peripheral work circuit includes a first evaluation circuit 2011 and a second evaluation circuit 2012; the peripheral signal input interface 103 comprises a first IO port GPIO1 and a second IO port GPIO2, an output end of the first assignment circuit 2011 is connected with the first IO port GPIO1, and an output end of the second assignment circuit 2012 is connected with the second IO port GPIO 2.
The first assignment circuit 2011 outputs a corresponding first assignment signal according to the action of the
In an embodiment, as shown in fig. 4, the first evaluation circuit 2011 includes a first resistor R1, a second resistor R2, a first diode D1, a second diode D2, a first capacitor C1, and a first switch K1, a first end of the first resistor R1 is an output end of the first evaluation circuit 2011, and a second end of the first resistor R1, an anode of the first diode D1, a cathode of the second diode D2, a first end of the first capacitor C1, and a first end of the second resistor R2 are respectively connected to a first end of the first switch K1; the second end of the second resistor R2 is connected with a first power supply V1; the cathode of the first diode D1 is connected with a second power supply V2; the anode of the second diode D2, the second terminal of the first capacitor C1, and the second terminal of the first switch K1 are all grounded.
The first switch K1 performs switching and other actions under the action of external force, and when the first switch K1 is pressed, the output end of the first assignment circuit 2011 is grounded, so that the output level is pulled down, and when the first switch K1 is disconnected, the output end of the first assignment circuit 2011 is floated, so that the output level is pulled up.
In an embodiment, the second evaluation circuit 2012 includes a third resistor R3, a fourth resistor R4, a third diode D3, a fourth diode D4, a second capacitor C2, and a second switch K2, a first end of the third resistor R3 is an output end of the first evaluation circuit 2011, a second end of the third resistor R3, an anode of the third diode D3, a cathode of the fourth diode D4, a first end of the second capacitor C2, and a first end of the fourth resistor R4 are respectively connected to a first end of the second switch K2; a second end of the fourth resistor R4 is connected with a first power supply V1; the cathode of the third diode D3 is connected with a second power supply V2; an anode of the fourth diode D4, a second terminal of the second capacitor C2, and a second terminal of the second switch K2 are all grounded.
The second switch K2 performs switching and other actions under the action of external force, when the second switch K2 is pressed, the output end of the second evaluation circuit 2012 is grounded, so that the output level is pulled low, and when the second switch K2 is turned off, the output end of the second evaluation circuit 2012 is floated, so that the output level is pulled high.
In one embodiment, the first switch K1 and the second switch K2 constitute the
When the
In one embodiment, the peripheral operating circuit is provided in the
In one embodiment, the peripheral operating circuit is disposed in the
In one embodiment, the control circuit is a conventional control chip.
In one embodiment, when the
the control chip realizes the interrupt mechanism: and the exception vector table is a specific definition of certain specific addresses in the control chip. When an interrupt occurs, the abnormal vector table is used to inform the control chip to process the interrupt, when the control chip is designed, some specific addresses in the control chip are defined in advance as entry addresses of the specific exception (for example, 0x0000000 address is defined as a reset abnormal vector table address, the control chip automatically jumps to 0x00000000 address to execute an instruction when the reset exception occurs, and for example, the abnormal vector address corresponding to the external interrupt is 0x30000008, after the external interrupt occurs, the control chip automatically jumps to 0x30000008 address by hardware to execute the instruction), and the hardware already determines what the abnormal control chip automatically jumps to which address to execute the memory, and what the software needs to do is to fill the first address of a code for processing the exception into the abnormal vector address. The external interrupt is an interrupt generated by a GPIO port corresponding to the external interrupt through a device outside the control chip.
The peripheral signal input interface 103 comprises a plurality of GPIO ports, each GPIO port corresponds to a single key connection, and the control chip actively reads the level of each GPIO port at intervals so as to obtain key information; the interrupt mode is that the control chip realizes the setting of an interrupt handler ISR corresponding to the interrupt which is triggered by the GPIO, and when the external is pressed or bounced off, the external interrupt corresponding to the GPIO is automatically triggered, so that the interrupt handler ISR is executed, and the key information is automatically processed.
The key is implemented in the control chip using an external interrupt. The specific implementation method comprises the following steps: connecting the key circuit on the GPIO of the external interrupt, and then configuring the GPIO into an external interrupt mode. At the moment, a person presses a key to change the voltage of the key circuit, and the voltage can trigger external interruption corresponding to the GPIO so that the control chip executes an interruption processing program.
In an embodiment, taking the
the similar key circuit can be regarded as a special GPIO port, the similar key circuit is provided with a circuit design supporting analog-digital signal conversion, the similar key circuit can be simplified aiming at three actions of treading by a pedal, a VCC power supply is supposed to be arranged at one end of the key circuit, three resistors are connected in parallel in the middle of the circuit, the resistance values are respectively 1K omega, 5K omega and 10K omega, three switches are connected in series on the resistors, the other end of the circuit is grounded, the three states of treading by the pedal correspond to the closed states of the three switches on the circuit, under the condition that the current passing through the circuit is the same, the three treading by the pedal represents that the three switches are respectively closed, the voltage passing through the series resistors is different, when the pedal does not have any treading action, the passing voltage of the circuit is disconnected, the passing voltage is 0V, when the 10K omega resistor is connected, the voltage is the maximum, the maximum, an 8-bit ADC can convert a passing voltage range of 0-3.3V into a numerical range of 0-255, so that the actual voltage is converted into a numerical value, and the control chip of the ADC, which is a special GPIO port, can read the numerical value in a polling mode and call a corresponding function to process a trigger event corresponding to the corresponding numerical value.
In one embodiment, when the
wherein, the peripheral signal input interface 103 is a plurality of I2C interfaces, the pedal is provided with a peripheral working circuit, when a pressure sensor is arranged in the pedal, the sensor is provided with a plurality of memories, three memories are supposed to be respectively used for storing the states of treading on the front sole of the pedal, treading on the rear sole of the pedal and two continuous treading states within 1 second of the rear sole of the pedal, a memory A, B and a memory C are supposed, the pedal can respectively modify the numerical values in the three memories according to the pressure sensing generated by different treading actions, the pedal with the built-in pressure sensor is connected to the I2C interface of the display, the pedal belongs to the slave equipment, a control chip belongs to the master equipment, the control chip processes the data generated by the I2C interface in a polling mode, the time is in millisecond level, namely the control chip can continuously poll the I2C interface, the sensor in the external pedal belongs to the equipment address thereof, the memory in the memory has an offset address relative to the device address, the control chip reads the values of the memories A, B and C through the main device address of the I2C interface, the device address of the plug-in device and the offset address of the memory, and when the values change, the control chip calls the corresponding function to process the corresponding trigger event.
In order to achieve the above object, the present invention further provides a bidding assembly, which includes an
It should be noted that, since the electronic competition assembly of the present invention includes all the embodiments of the display, the electronic competition assembly of the present invention has all the advantages of the display, and the details are not repeated herein.
In one embodiment, the
The
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:游戏画面的处理方法、装置及电子装置