Encoder circuit
By designing the encoder circuit and using the PIC16F690 processor chip and LCD screen, the problem of low coding efficiency in the existing technology is solved, and efficient coding and simplified operation of the H99 series modules are achieved, which is suitable for on-site use.
Patent Information
- Application Number
- CN202420706749.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2034-04-08
AI Technical Summary
The coding of existing H99 series detectors, audible and visual alarms, manual alarms and other modules requires manual setting through the controller, resulting in low coding efficiency and error-prone.
An encoder circuit is designed, which uses the PIC16F690 processor chip, combines the switch circuit and the key encoding circuit, and is equipped with an LCD display to simplify the encoding operation and improve the encoding efficiency.
It realizes efficient address coding of series detectors, sound and light alarms and other modules. It is simple to operate, small in size and light in weight, and is suitable for on-site installation, debugging and maintenance.
Smart Images

Figure CN221926972U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to an encoder circuit, belonging to the technical field of encoder circuits. Background Art
[0002] The coding of H99 series detectors, sound and light alarms, hand alarms and other modules needs to be set manually through the controller. The coding efficiency is low, the technical requirements are high, and it is easy to make mistakes. For this reason, our company has developed the H9973 encoder, which realizes efficient coding by designing the circuit. Utility Model Content
[0003] The purpose of the utility model is to provide an encoder circuit to solve the problems existing in the background technology.
[0004] In order to achieve the above purpose, the technical solution adopted by the utility model is:
[0005] An encoder circuit, wherein the processor chip U1 is PIC16F690, and the pins of the processor chip U1 are connected with a switch circuit and a key coding circuit; the switch circuit is provided with a key S1, and the switch circuit is connected with the pin 10 of the processor chip U1; the key coding circuit includes 10 digital keys and 4 function keys, and the key coding circuit is connected with the pins of the processor chip U1;
[0006] The circuit is provided with a liquid crystal display LCD; port 1 of the liquid crystal display is connected to pin 13 of the processor chip U1, port 3 is connected to pin 12 of the processor chip U1, and port 5 is connected to pin 11 of the processor chip U1.
[0007] A further improvement of the technical solution of the utility model is as follows: one end of the key S2, key S6, key S9 and key S13 in the key coding circuit is connected to the pin 16 of the processor chip U1 through a wire, one end of the key S3, key S7, key S10 and key S14 is connected to the pin 15 of the processor chip U1 through a wire, one end of the key S4, key S8, key S11 and key S15 is connected to the pin 14 of the processor chip U1 through a wire, and one end of the key S5 and key S12 is connected to the pin 7 of the processor chip U1 through a wire; the other ends of the keys S2, S3, S4 and S5 are connected to the pin 6 of the processor chip U1 through a wire, the other ends of the keys S6, S7 and S8 are connected to the pin 5 of the processor chip U1 through a wire, the other ends of the keys S9, S10, S11 and S12 are connected to the pin 8 of the processor chip U1 through a wire, and the other ends of the keys S13, S14 and S15 are connected to the pin 9 of the processor chip U1 through a wire.
[0008] A further improvement of the technical solution of the utility model is that the RA1 port in the key encoding circuit is connected to the pin 18 of the processor chip U1.
[0009] Due to the adoption of the above technical solution, the technical effects achieved by the utility model are:
[0010] The utility model is an encoder circuit. The encoder corresponding to the encoding circuit can encode the address of the company's series detectors, sound and light alarms, hand alarms and other modules. It is simple to operate and has high encoding efficiency. It is small in size, light in weight, powered by a 6V dry battery, and can be carried around during on-site installation. On-site debugging and maintenance are very convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a schematic diagram of the processor chip of the utility model;
[0012] Figure 2 This is a schematic diagram of the key coding circuit of the utility model;
[0013] Figure 3 This is a schematic diagram of the switch circuit of the utility model;
[0014] Figure 4 It is a schematic diagram of the liquid crystal display screen of the utility model; DETAILED DESCRIPTION
[0015] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further described below in conjunction with specific implementation methods.
[0016] The utility model is an encoder circuit, which is mainly suitable for encoding modules such as H99 series detectors, sound and light alarms, and hand alarms of our company.
[0017] The utility model is mainly the design of electronic circuits, such as Figure 1 , Figure 2 , Figure 3 , Figure 4 As shown, the encoder circuit is provided with a processor chip U1, and the processor chip U1 is PIC16F690. The pins of the processor chip U1 are connected with a switch circuit and a key coding circuit. The switch circuit is used to control the switch of the encoder, and the key coding circuit is used to perform coding operations through keys.
[0018] like Figure 2 As shown, the power switch circuit is provided with a button S1, the POWER port of the power switch circuit is connected to pin 10 of the processor chip U1, the HV port of the power switch circuit is connected to pin 2 of the processor chip U1, the CHK port of the power switch circuit is connected to pin 17 of the processor chip U1, and the power switch circuit is provided with a transformer chip MC34063.
[0019] The key coding circuit includes 10 digital keys and 4 function keys, and the key coding circuit is connected to the pins of the processor chip U1. Figure 2 As shown, the keys in the key coding circuit are S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, and S15.
[0020] Among them, one end of the key S2, key S6, key S9 and key S13 is connected to the pin 16 of the processor chip U1 through a wire; one end of the key S3, key S7, key S10 and key S14 is connected to the pin 15 of the processor chip U1 through a wire; one end of the key S4, key S8, key S11 and key S15 is connected to the pin 14 of the processor chip U1 through a wire; one end of the key S5 and key S12 is connected to the pin 7 of the processor chip U1 through a wire. The other ends of the keys S2, S3, S4 and S5 are connected to the pin 6 of the processor chip U1 through a wire; the other ends of the keys S6, S7 and S8 are connected to the pin 5 of the processor chip U1 through a wire; the other ends of the keys S9, S10, S11 and S12 are connected to the pin 8 of the processor chip U1 through a wire; the other ends of the keys S13, S14 and S15 are connected to the pin 9 of the processor chip U1 through a wire. The key coding circuit also includes a code sending module, which is connected to the code sending module through a wire. The code sending port RA1 of the code sending module is connected to the pin 18 of the processor chip U1.
[0021] The circuit is provided with a liquid crystal display LCD; port 1 of the liquid crystal display is connected to pin 13 of the processor chip U1, port 3 is connected to pin 12 of the processor chip U1, and port 5 is connected to pin 11 of the processor chip U1.
[0022] The coding circuit of the utility model is mainly the design of the circuit. The above is an introduction to the main parts. The details of the circuit are shown in detail in the drawings of the specification. The circuit can be implemented according to the specification.
[0023] The encoder corresponding to this coding circuit can encode the address of the company's series of detectors, sound and light alarms, hand alarms and other modules. It is simple to operate and has high coding efficiency. It is small in size, light in weight, powered by a 6V dry battery, and can be carried with you during on-site installation. On-site debugging and maintenance are very convenient.
[0024] The above shows and describes the basic principle and main features of the utility model and the advantages of the utility model. Those skilled in the art should understand that the utility model is not limited by the above embodiments. The above embodiments and descriptions are only for explaining the principle of the utility model. Without departing from the spirit and scope of the utility model, the utility model may have various changes and improvements, which fall within the scope of the utility model to be protected. The scope of protection claimed by the utility model is defined by the attached claims and their equivalents.
Claims
1. An encoder circuit, characterized in that: The processor chip U1 is PIC16F690, and the pins of the processor chip U1 are connected to the switch circuit and the key coding circuit; the switch circuit is provided with a key S1, and the switch circuit is connected to the pin 10 of the processor chip U1; the key coding circuit includes 10 numeric keys and 4 function keys, and the key coding circuit is connected to the pins of the processor chip U1; The circuit is provided with a liquid crystal display LCD; port 1 of the liquid crystal display is connected to pin 13 of the processor chip U1, port 3 is connected to pin 12 of the processor chip U1, and port 5 is connected to pin 11 of the processor chip U1.
2. An encoder circuit according to claim 1, characterized in that: In the key coding circuit, one end of key S2, key S6, key S9 and key S13 are connected to pin 16 of processor chip U1 through a wire, one end of key S3, key S7, key S10 and key S14 are connected to pin 15 of processor chip U1 through a wire, one end of key S4, key S8, key S11 and key S15 are connected to pin 14 of processor chip U1 through a wire, and one end of key S5 and key S12 are connected to pin 7 of processor chip U1 through a wire; the other ends of keys S2, S3, S4 and S5 are connected to pin 6 of processor chip U1 through a wire, the other ends of keys S6, S7 and S8 are connected to pin 5 of processor chip U1 through a wire, the other ends of keys S9, S10, S11 and S12 are connected to pin 8 of processor chip U1 through a wire, and the other ends of keys S13, S14 and S15 are connected to pin 9 of processor chip U1 through a wire.
3. An encoder circuit according to claim 1, characterized in that: The RA1 port in the key encoding circuit is connected to the pin 18 of the processor chip U1.
