Key control assembly based on RS485 communication
Through the button control component based on RS485 communication, the problem of incompatibility of device protocols in different brands is solved, and the simplified control and operation of multiple devices is realized, which is suitable for remote management of security devices.
Patent Information
- Application Number
- CN202422389000.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2034-09-29
AI Technical Summary
In the security industry, due to the incompatible software protocols of smart devices of different brands, engineers need to install multiple interface software during centralized control, which increases the workload.
A key control component based on RS485 communication is designed, including a housing, display screen, rocker, key control component and main chip, supporting a variety of device protocols, connected to external devices through RS485 twisted pair cables, the main chip recognizes key operations and performs corresponding actions, and the display screen displays the operation results in real time.
It realizes compatibility control of multiple devices, simplifies operational processes, reduces signal line requirements, is suitable for long-distance high-speed transmission, and is simple and convenient to operate.
Smart Images

Figure CN223092392U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of button control, in particular to a button control component based on RS485 communication. Background Technique
[0002] With the development of high and new technologies, many products in the security industry basically have their own computer - side interface control software or mobile - side APP software. In the fierce market competition, in some actual engineering projects, for intelligent cameras alone, there are more than one supplier, and they may be supplied by multiple brand manufacturers. When it comes to centralized control, due to the compatibility problems of internal software protocols, if engineers install the interface software of each manufacturer on the computer side to debug and control one by one, the workload will be greatly increased.
[0003] Using a button control component based on RS485 communication will be much easier. At a certain moment, one sends and the other receives. When used for multi - station interconnection, it can save signal lines and is convenient for high - speed long - distance transmission. Many intelligent instrument devices are equipped with RS - 485 bus interfaces, making it very convenient to connect them to the network. Content of the Utility Model
[0004] The purpose of the utility model is to provide a button control component based on RS485 communication to solve the problems raised in the above background technique.
[0005] The technical solution of the utility model is: a button control component based on RS485 communication, including a housing assembly. The housing assembly includes a metal upper housing and a metal lower housing. A display screen and a rocker are embedded on the front side of the metal upper housing. A button control component protruding from the outer side wall of the metal upper housing is arranged inside the housing assembly. A main chip electrically connected to the display screen, the rocker and the button control component is arranged on the inner side of the metal lower housing. An intelligent camera and a digital video recorder control protocol are arranged inside the main chip.
[0006] Further, the button control component includes a button conductive plate fixed inside the metal lower housing. A silica gel button and a PVC pressing plate are sequentially arranged on the side of the button conductive plate away from the metal lower housing. The protruding button on the silica gel button penetrates and is embedded in the key holes on the PVC pressing plate and the metal upper housing.
[0007] Further, the rocker is a vector rocker, and an intelligent key for switching the vector rocker function is arranged at the top of the rocker.
[0008] Further, the main chip is connected with a buzzer electrically connected to the button control component through a GPIO interface. The main chip is connected to an external RS485 device through a UART port and an RS485 twisted pair wire.
[0009] Further, the main chip is connected to a memory through an SPI Flash.
[0010] Further, one side of the main chip is connected to a power supply through a GPIO interface and a power converter.
[0011] The present utility model provides an RS485 communication-based button control component through improvement. Compared with the prior art, it has the following improvements and advantages:
[0012] After the present utility model is powered on, the user can operate the button control component to unlock. The main chip identifies the change in the button IO port level value. After identifying a valid button operation, it outputs a level through the IO port to control the buzzer to emit a corresponding button sound to prompt the operator. After the button instruction operation is completed, the main chip determines the button instruction in a timely manner according to the change in the button IO port level value and executes corresponding actions: accessing or controlling the connected device, lighting up the display screen or displaying corresponding content, reading or storing FLASH information. Then, by operating the joystick in different directions and angles, the generated analog level values of the joystick are different. The AD conversion circuit converts these analog level values into digital signals and outputs them to the main chip through the IO port. The main chip analyzes and executes corresponding actions through programs and algorithms. The display screen uses a combination of numbers, letters, and characters to display the system time in real time and display various operations of the device in cooperation with the instructions of the main chip. It has strong compatibility and can directly control corresponding devices, such as cameras, video recorders, and decoders. It is simple to operate and convenient to use. Description of the Drawings
[0013] The following further explains the present utility model in conjunction with the drawings and embodiments:
[0014] Figure 1 is an exploded three-dimensional structural schematic diagram of the present utility model;
[0015] Figure 2 is a schematic diagram of the circuit control connection of the present utility model.
[0016] Description of the reference numerals:
[0017] 01, metal upper shell; 02, joystick; 03, display screen; 04, PVC pressing plate; 05, silicone button; 06, button conductive plate; 07, main chip; 08, metal lower shell. Detailed Embodiment
[0018] The following is a detailed description of the present utility model. The technical solutions in the embodiments of the present utility model are clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all embodiments. Based on the embodiments in the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.
[0019] The present utility model provides an improved key control component based on RS485 communication. The technical solution of the present utility model is as follows:
[0020] In the embodiment of the present utility model, as Figure 1 - Figure 2As shown in the figure, a key control component based on RS485 communication includes a housing assembly, which consists of a metal upper shell 01 and a metal lower shell 08. A display screen 03 and a rocker 02 are embedded in the front side of the metal upper shell 01. The rocker 02 is a vector rocker, and a smart key for switching the vector rocker function is provided at the top of the rocker 02. Inside the housing assembly, there is a key control component protruding from the outer wall of the metal upper shell 01. The key control component includes a key conductive plate 06 fixed inside the metal lower shell 08. On the side of the key conductive plate 06 away from the metal lower shell 08, a silicone key 05 and a PVC pressing plate 04 are arranged in sequence. The raised button on the silicone key 05 passes through and is embedded in the keyholes on the PVC pressing plate 04 and the metal upper shell 01. Inside the metal lower shell 08, there is a main chip 07 electrically connected to the display screen 03, the rocker 02, and the key control component. Inside the main chip 07, there are intelligent cameras and digital video recorder control protocols, which include control protocols for various brands of intelligent cameras such as SISO, PELCO, EREN, SAMSUNG, PANASONIC, KALATEL, etc., and control protocols for digital video recorders of brands such as HIKVISION, DAHUA, DALI, etc. The main chip 07 is connected to a buzzer electrically connected to the key control component through a GPIO interface. The main chip 07 is connected to an external RS485 device through a UART port and an RS485 twisted pair. The main chip 07 is connected to a memory through an SPI Flash. One side of the main chip 07 is connected to a power supply through a GPIO interface and a power converter. It is connected to an external RS485 device using an RS485 twisted pair. The main chip 07 exchanges information instructions with the device through an industrial-grade MAX485 chip circuit. After being powered on, the user can operate the keys to unlock. The main chip 07 recognizes the change of the key IO port level value. After recognizing a valid key operation, it outputs a level through the IO port to control the buzzer to emit corresponding key sound prompts to the operator. After the key instruction operation is completed, the main chip 07 judges the key instruction in a timely manner according to the change of the key IO port level value and executes corresponding actions: accessing or controlling the connected device, lighting up the display screen 03 or displaying corresponding content, reading or storing FLASH information. When the rocker 02 is operated in different directions and angles, the analog level values generated by the rocker 02 are different. The AD conversion circuit converts these analog level values into digital signals and outputs them to the main chip 07 through the IO port. The main chip 07 analyzes and executes corresponding actions through programs and algorithms. The display screen uses a combination of numbers, letters, and characters to display the system time in real-time and display various operations of the device in accordance with the instructions of the main chip 07.
[0021] The working principle of a key control component based on RS485 communication provided by the present utility model is as follows: It is connected to a decoder through RS485 twisted pair. The network camera is connected to the network through a network cable to access the switch and then to the decoder. The large-screen display is connected to the HDMI output port of the decoder through an HDMI cable. After the device is powered on, according to the type of decoder, the communication protocol of RS485 is selected in the settings of the operation key control component. Then, by operating the function keys on the key control component, the images on the display screen 03 can be switched, split, mosaicked, merged, and a single image can be split and displayed on multiple display screens. It is also possible to perform preset position settings, call preset positions, retrieve program switching, retrieve synchronous switching, retrieve group switching; perform operations such as image holding, image return, forward switching, and reverse switching. The communication protocol of RS485 has been converted into a network signal through decoder instructions. The user can operate the joystick 02 on the key control component to control the direction of the network camera and the aperture, focus, and zoom of the lens. In the setting function, the movement of the cursor can be controlled, and options can be confirmed or canceled; the button on the top of the joystick 02 is a multi-functional intelligent key, and the function of the joystick 02 can be mutually converted by using the intelligent key.
[0022] Although the embodiments of the present utility model have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principle and spirit of the present utility model. The scope of the present utility model is defined by the appended claims and their equivalents.
Claims
1. A key control component based on RS485 communication, comprising a housing assembly, the housing assembly including a metal upper shell (01) and a metal lower shell (08), characterized in that: A display screen (03) and a joystick (02) are embedded in the front side of the metal upper shell (01). A key control component protruding from the outer wall of the metal upper shell (01) is arranged inside the housing assembly. A main chip (07) electrically connected to the display screen (03), the joystick (02) and the key control component is arranged inside the metal lower shell (08). An intelligent camera and a digital video recorder control protocol are arranged inside the main chip (07).
2. The key control component based on RS485 communication according to claim 1, wherein: The key control component includes a key conductive plate (06) fixed inside the metal lower shell (08). A silica gel key (05) and a PVC pressing plate (04) are sequentially arranged on one side of the key conductive plate (06) away from the metal lower shell (08). The protruding button on the silica gel key (05) is inserted through keyholes in the PVC pressing plate (04) and the metal upper shell (01).
3. The key control component based on RS485 communication according to claim 1 is characterized in that: The joystick (02) is a vector joystick, and an intelligent key for switching the vector joystick function is arranged at the top of the joystick (02).
4. The key control component based on RS485 communication according to claim 1, wherein: The main chip (07) is connected with a buzzer electrically connected to the key control component through a GPIO interface, and is communicated with an external RS485 device through a UART port and an RS485 twisted pair wire on the main chip (07).
5. The key control component based on RS485 communication according to claim 1, wherein: The main chip (07) is connected with a memory through an SPI Flash.
6. The key control component based on RS485 communication according to claim 1, characterized in that: One side of the main chip (07) is connected with a power supply through a GPIO interface and a power converter.