Control circuit module based on single-chip microcomputer

By integrating multiple modules and connectors on the microcontroller, the problem of the microcontroller driving capability and limited signal input is solved, and the accurate analysis of multiple signals and the control of multiple output devices is realized, which improves the accuracy of the control circuit and applicability.

CN222071082UActive Publication Date: 2024-11-26SUZHOU NIANHAI FIRE PROTECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420555131.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-21
Publication Date
2024-11-26
Estimated Expiration
2034-03-21

AI Technical Summary

Technical Problem

The existing microcontrollers have limited driving capabilities and signal input, which makes it difficult to meet the operating conditions of external equipment and is prone to signal errors.

Method used

A control circuit module based on a microcontroller is designed, and the power supply module, buzzer control module, button module, indicator light display module, LCD display module, signal driving module and clock signal module are electrically connected through multiple pins, and the power supply module is used. Relays and multiple input/output connectors expand signal driving capabilities and analytical accuracy.

Benefits of technology

Accurate analysis and processing of multiple signals is realized, signal error is reduced, scope of application is expanded, multiple output devices can be controlled, and the accuracy and applicability of the overall control circuit is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222071082U_ABST
    Figure CN222071082U_ABST
Patent Text Reader

Abstract

The utility model discloses a control circuit module based on a single-chip microcomputer, which relates to the technical field of control circuits and comprises the single-chip microcomputer. A plurality of pins of the single chip microcomputer are electrically connected with a power supply module, a buzzer control module, a key module, an indicator light display module, a liquid crystal display module, a signal driving module and a clock signal module respectively, and the output end of the signal driving module is electrically connected with an output connector through a relay. The single-chip microcomputer is provided with a plurality of pins used for signal input and is electrically connected with a plurality of input connectors. The number of the output connectors and the number of the input connectors are both at least three. Through the structural arrangement, multiple signal input conditions can be received, so that the single-chip microcomputer can receive multiple signals for analysis, the effect of more accurate analysis is achieved, errors are prevented, multiple output signals are given through the signal driving module, multiple output devices can be controlled and operated, and the application range is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a control circuit, more specifically, it relates to a control circuit module based on a single chip microcomputer. Background Art

[0002] A single-chip microcomputer, also known as a microcontroller, is an integrated circuit chip that integrates multiple functions such as CPU, RAM, ROM, interrupt system, I / O port, timer, etc. With the continuous development of automation and intelligent technology, single-chip microcomputer technology is widely used in industrial automation, intelligent electronic instruments, household appliances, communications, and the Internet of Things, and has been integrated into all aspects of our social production and life.

[0003] In order to realize the application of existing single-chip microcomputers, they need to be combined with more electrical components to form a circuit board for use. However, since the current of the single-chip microcomputer is very small and the driving ability is limited, generally within 10-20mA, it cannot meet the operating conditions of external equipment. In addition, the signal input terminal of the single-chip microcomputer is limited, and the signal analysis ability is limited, which is also prone to signal errors.

[0004] Therefore, a new solution needs to be proposed to solve this problem. Utility Model Content

[0005] In order to solve the above technical problems, the utility model provides a control circuit module based on a single chip microcomputer.

[0006] The technical solution of the utility model is:

[0007] A control circuit module based on a single-chip microcomputer comprises a single-chip microcomputer, wherein a plurality of pins of the single-chip microcomputer are respectively electrically connected to a power supply module, a buzzer control module, a button module, an indicator light display module, a liquid crystal display module, a signal driving module and a clock signal module, wherein the output ends of the signal driving modules are respectively electrically connected to output connectors via relays, and the single-chip microcomputer is provided with a plurality of pins for signal input and is electrically connected to a plurality of input connectors, wherein the number of the output connectors and the number of the input connectors are both at least three.

[0008] The utility model is further configured that the signal driving module is provided with a plurality of input terminals and connected to pins 33, 32, 31, 30, 29 and 28 on the single chip microcomputer, and the relay is used to receive signals and open and close the circuit.

[0009] The utility model is further configured as follows: the power supply module includes a power input interface, a power output interface and a power conversion chip, the power input interface inputs a 24V power supply, the power input interface and the power output interface are connected in series and output a 24V power supply, the input end of the power conversion chip is connected in parallel between the power input interface and the power output interface, and the output end of the power conversion chip outputs a 3.3V power supply.

[0010] The utility model is further configured as follows: the buzzer control module includes a plurality of current limiting resistors, a transistor Q1 and a buzzer, the positive pole of the buzzer is connected to a 3.3V power supply, the negative pole of the buzzer is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to the pin 25 of the single-chip computer through the current limiting resistor, and the emitter of the transistor Q1 is grounded.

[0011] The utility model is further configured that the indicator light display module includes a plurality of light emitting diodes, the cathodes of the plurality of light emitting diodes are grounded, and the anodes of the plurality of light emitting diodes are electrically connected to pins 14 to 18 of the single chip computer through resistors.

[0012] The utility model is further configured that the key module includes a plurality of button switches, one end of each of the button switches is connected to a 3.3V power supply, and the other ends of the switches are respectively connected to respective pins of the single-chip microcomputer.

[0013] The utility model is further configured such that the liquid crystal display module includes a liquid crystal driver chip, pin 5 of the liquid crystal driver chip is connected to pin 12 of the single-chip microcomputer, pin 6 of the liquid crystal driver chip is connected to pin 13 of the single-chip microcomputer, pin 17 of the liquid crystal driver chip is connected to pin 19 of the single-chip microcomputer, and pin 20 of the liquid crystal driver chip is connected to pin 20 of the single-chip microcomputer through a transistor.

[0014] The utility model is further configured such that the clock signal module includes a clock chip and a battery interface, pin 8 of the clock chip is connected to the battery interface, pin 1 of the clock chip is connected to a 3.3V power supply, and pins 7, 6 and 5 of the clock chip are respectively connected to pins 21, 22 and 23 of the microcontroller.

[0015] The beneficial technical effects of the utility model are:

[0016] When the input connector receives several signals and inputs them into the single-chip microcomputer, the single-chip microcomputer processes and analyzes them, and the signal driving module is connected to the output end of the single-chip microcomputer. The single-chip microcomputer inputs the processed signals to the signal driving module through pin 33 to pin 28. The signal driving module outputs signals and closes the corresponding relays, so that the corresponding output connectors are closed and connected, so that the equipment connected to the output connectors can be powered on and run; and the key module is connected, and parameter debugging can be performed through several button switches, and the text description of the information of the control system in operation and the display of the internal operation debugging interface are displayed through the LCD display module. The indicator light display module is used to receive the single-chip microcomputer The signal after analysis can be illuminated to achieve a warning effect; through the buzzer module, when a signal is received, the buzzer is activated to remind; using the clock signal module, the delay effect can be achieved, and the delay time can be set by yourself, so that the microcontroller U1 outputs a delay instruction; and the number of output connectors and input connectors are at least three. The setting of multiple input connectors enables the microcontroller to receive multiple signals, so that the microcontroller analyzes multiple signal combinations and performs calculations, achieving a more accurate analysis effect and reducing signal errors. The setting of multiple output connectors can also use the signal driver module to give multiple output signals, and can control multiple output devices and perform operations, thereby expanding the scope of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a circuit structure block diagram of the utility model;

[0018] Figure 2 It is the circuit structure principle diagram of the utility model single chip microcomputer;

[0019] Figure 3 This is a circuit structure schematic diagram of the power supply module of the utility model;

[0020] Figure 4 This is a circuit structure schematic diagram of the key module of the utility model;

[0021] Figure 5 This is a circuit structure schematic diagram of the buzzer control module of the utility model;

[0022] Figure 6 This is a circuit structure principle diagram of the indicator light display module of the utility model;

[0023] Figure 7 This is a circuit structure principle diagram of the liquid crystal display module of the utility model;

[0024] Figure 8 This is a circuit structure schematic diagram of the signal driving module of the utility model;

[0025] Fig. 9This is a circuit structure schematic diagram of the clock signal module of the utility model;

[0026] Fig.10 This is a circuit structure schematic diagram of the output connector of the utility model;

[0027] Fig.11 The utility model is a circuit structure principle diagram of the input connector. DETAILED DESCRIPTION

[0028] In order to more clearly understand the technical means of the utility model and implement it according to the contents of the specification, the specific implementation methods of the utility model are further described in detail below in conjunction with the drawings and embodiments. The following embodiments are used to illustrate the utility model but are not used to limit the scope of the utility model.

[0029] A control circuit module based on a single chip microcomputer, such as Figure 1-Figure 11 As shown, it includes a single-chip microcomputer U1, and the single-chip microcomputer U1 can adopt a single-chip microcomputer U1 with a model of mr88f001. Multiple pins of the single-chip microcomputer U1 are electrically connected to a power supply module, a buzzer BZ control module, a button module, an indicator light display module, a liquid crystal display module, a signal driving module U5 and a clock signal module. The signal driving module U5 has multiple output ends and is electrically connected to a plurality of output connectors through relays. The relay can adopt a relay with a model of TL-4010-C-24V. The single-chip microcomputer U1 is provided with a plurality of pins for signal input and is electrically connected to a plurality of input connectors, and the number of output connectors is 6, and the number of input connectors is 7 respectively.

[0030] like Figure 2 and Figure 3As shown, the power supply module includes a power input interface J8, a power output interface J7 and a power conversion chip U2. The power input interface J8 inputs 24V DC power. A diode D2 is connected in series at one end of the power input interface J8, and 24V DC power is output from the cathode end of the diode D2 to power the components of the entire circuit module that require a 24V power supply. Pin 1 of the power output interface is connected to the cathode of the diode D2, so that the power output interface J7 also outputs a 24V power supply. The setting of the diode D2 can play a good protective role on the overall circuit to prevent current backflow; the pin of the power conversion chip U2 1 is the input terminal connected in parallel to the cathode of diode D2, pin 5 of power conversion chip U2 is connected in parallel to pin 1 through capacitor C4, pin 3 of power conversion chip U2 is grounded and connected in parallel to pin 5, pin 6 of power conversion chip U2 is connected in parallel to pin 3, pin 2 of power conversion chip U2 is the output terminal and is connected in series with inductor L1, the cathode of inductor L1 outputs the 3.3V power supply converted by power conversion chip U2, pin 4 of power conversion chip U2 is the FB terminal and is connected to the cathode of inductor L1, which can feed back the output voltage to the inside of power conversion chip U2, thereby adjusting and controlling the output voltage.

[0031] like Figure 2 and Fig.11 As shown, pin 9 of the single-chip computer U1 is grounded through capacitor C12, pin 10 of the single-chip computer U1 is the VSS terminal and is grounded, pin 11 of the single-chip computer U1 is the VDD terminal and is connected to pin 10 through capacitor C13 and is grounded, and a 3.3V power supply is connected between capacitor C13 and pin 11; pins 34 to 40 of the single-chip computer U1 are signal input pins, and several input connectors are input connector J9-input connector J15, and pins 34 to 40 of the single-chip computer U1 are electrically connected to input connector J9-input connector J15 respectively. The setting of multiple input connectors can connect to multiple input devices, so that the single-chip computer U1 can obtain multiple input signals, combine and perform calculation and analysis, so as to achieve a more accurate analysis effect, reduce signal errors, and ensure the accuracy of the overall control circuit module.

[0032] like Figure 2 As shown, pin 2 of the microcontroller U1 is connected to the resistor P1 and connected to pin 4 of the resistor P1, pin 3 of the microcontroller U1 is connected to pin 3 of the resistor P1, pin 2 of the resistor P1 is connected to a 3.3V power supply, and pin 1 of the resistor P1 is grounded.

[0033] like Figure 2 and Fig. 9As shown, the clock signal module includes a clock chip U3 and a battery interface J16. The battery interface is connected to a lithium battery. Pin 2 of the battery interface J16 is grounded. Pin 8 of the clock chip U3 is connected to the battery interface. Pin 1 of the clock chip is connected to a 3.3V power supply. Pin 7, Pin 6 and Pin 5 of the clock chip U3 are respectively connected to Pin 21, Pin 22 and Pin 23 of the microcontroller U1. The clock chip U3 can be used to calculate time, so that the microcontroller U1 can analyze the delay signal and output a delay instruction.

[0034] like Figure 2 and Figure 8 As shown, the signal driving module U5 can adopt a driving chip of model uln2003, and its driving chip can improve the driving ability of large current, so as to ensure the operation requirements of the equipment connected to the output connector, wherein pins 1 to 6 are CPU pulse input terminals, and its pins 1 to 6 are respectively connected to pins 33, 32, 31, 30, 29 and 28 on the single-chip microcomputer U1, pin 8 of the signal driving module U5 is grounded, and pin 9 is connected to the positive pole of the 24V power supply, and pins 11 to 16 of the signal driving module U5 are signal output terminals, and its signal output terminals are pins 11 to 16, and are electrically connected to several output connectors through relays, and the relays are used for setting and resetting, so as to control the opening and closing of the circuit. The setting of multiple output connectors enables the control of multiple output devices, thereby expanding the scope of application, and the single-chip microcomputer U1 is used to input the processed signal to the signal driving module U5 through pins 33 to 28, and the signal driving module U5 outputs a signal and closes the corresponding relay, thereby closing the corresponding output connector.

[0035] like Figure 2 and Figure 5 As shown, the buzzer BZ control module includes several current limiting resistors, a transistor Q1 and a buzzer BZ. The positive electrode of the buzzer BZ is connected to a 3.3V power supply, the negative electrode of the buzzer BZ is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to the pin 25 of the microcontroller U1 through the current limiting resistor, the emitter of the transistor Q1 is grounded, and a resistor is connected in parallel between the emitter and the base.

[0036] like Figure 2 and Figure 6 As shown, the indicator light display module includes a plurality of light emitting diodes, the cathodes of the plurality of light emitting diodes are connected to the ground in parallel, and the anodes of the plurality of light emitting diodes are electrically connected to pins 14 to 18 of the single chip computer U1 through resistors, respectively, and can receive signals transmitted by the single chip computer U1, so that the light emitting diodes emit light.

[0037] like Figure 2 and Figure 7As shown, the liquid crystal display module includes a liquid crystal driver chip U4, pin 5 of the liquid crystal driver chip U4 is connected to pin 12 of the single-chip microcomputer U1, pin 6 of the liquid crystal driver chip U4 is connected to pin 13 of the single-chip microcomputer U1, pin 17 of the liquid crystal driver chip U4 is connected to pin 19 of the single-chip microcomputer U1, pin 20 of the liquid crystal driver chip U4 is connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to pin 20 of the single-chip microcomputer U1 through a current limiting resistor, the emitter of the transistor Q2 is grounded, and a resistor R34 is connected in parallel between the emitter and the base, pin 15 and pin 1 of the liquid crystal driver chip U4 are both grounded, pin 19 of the liquid crystal driver chip U4 is connected to a +3.3V power supply through a resistor R16, pin 2 of the liquid crystal driver chip U4 is a VCC terminal connected to a +3.3V power supply, and is connected in parallel with pin 4 of the liquid crystal driver chip U4, and pin 3 of the liquid crystal driver chip U4 is connected to a +3.3V power supply through a resistor R14, and is grounded through a resistor R15.

[0038] like Figure 2 and Figure 4 As shown, the key module includes button switches SW1-SW9, one ends of the button switches SW1-SW9 are connected in parallel to a +3.3V power supply, and the other ends of the button switches SW1-SW9 are respectively connected to pins 43, 41, 42, 1, 6, 7, 8, 26 and 27 of the microcontroller U1, and each button switch and each corresponding pin of the microcontroller U1 are connected in parallel to the ground through a resistor.

[0039] Working principle: When the input connector receives several signals and inputs them into the single-chip microcomputer U1, the single-chip microcomputer U1 processes and analyzes them, and the signal driver module U5 is connected to the output end of the single-chip microcomputer U1. The single-chip microcomputer U1 inputs the processed signals to the signal driver module U5 through pin 33 to pin 28. The signal driver module U5 outputs signals and closes the corresponding relays, so that the corresponding output connectors are closed and connected, so that the equipment connected to the output connectors can be powered on and run; and the key module is connected, and parameter debugging can be performed through several button switches, and the text description of the information of the control system in operation and the display of the internal operation debugging interface are displayed through the LCD display module. The indicator light display module is used to receive the single-chip The signal analyzed by the microcontroller U1 can be illuminated to achieve a warning effect; through the buzzer BZ module, when a signal is received, the buzzer BZ is started to remind; using the clock signal module, the delay effect can be achieved, and the delay time can be set by yourself, so that the microcontroller U1 outputs a delay instruction; the setting of multiple input connectors enables the microcontroller U1 to receive multiple signals, so that the microcontroller U1 analyzes multiple signal combinations and performs calculations, achieving a more accurate analysis effect, reducing signal errors, and ensuring the accuracy of the overall control circuit module. In addition, the setting of multiple output connectors can also use the signal driving module U5 to give multiple output signals, which can control multiple output devices and perform operations, thereby expanding the scope of application of the overall control circuit module.

[0040] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the technical principle of the present invention, and these improvements and modifications should also be regarded as within the protection scope of the present invention.

Claims

1. A control circuit module based on a single chip microcomputer, comprising a single chip microcomputer, characterized in that: The multiple pins of the single-chip microcomputer are respectively electrically connected to a power supply module, a buzzer control module, a button module, an indicator light display module, a liquid crystal display module, a signal driving module and a clock signal module; the output ends of the signal driving modules are respectively electrically connected to output connectors through relays; the single-chip microcomputer is provided with a plurality of pins for signal input and is electrically connected to a plurality of input connectors; the number of the output connectors and the number of the input connectors are both at least three.

2. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The signal driving module is provided with a plurality of input terminals which are connected to pins 33, 32, 31, 30, 29 and 28 on the single chip microcomputer. The relay is used to receive signals and open and close the circuit.

3. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The power supply module includes a power input interface, a power output interface and a power conversion chip. A 24V power supply is input to the power input interface. The power input interface and the power output interface are connected in series and output a 24V power supply. The input end of the power conversion chip is connected in parallel between the power input interface and the power output interface. The output end of the power conversion chip outputs a 3.3V power supply.

4. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The buzzer control module includes several current limiting resistors, a transistor Q1 and a buzzer. The positive electrode of the buzzer is connected to a 3.3V power supply, the negative electrode of the buzzer is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to the pin 25 of the microcontroller through the current limiting resistor, and the emitter of the transistor Q1 is grounded.

5. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The indicator light display module includes a plurality of light emitting diodes, the cathodes of the plurality of light emitting diodes are grounded, and the anodes of the plurality of light emitting diodes are electrically connected to pins 14 to 18 of the single chip computer through resistors.

6. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The key module includes a plurality of button switches, one end of each of the button switches is connected to a 3.3V power supply, and the other ends of each of the switches are connected to respective pins of the single-chip microcomputer.

7. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The liquid crystal display module includes a liquid crystal driver chip, wherein pin 5 of the liquid crystal driver chip is connected to pin 12 of the single-chip microcomputer, pin 6 of the liquid crystal driver chip is connected to pin 13 of the single-chip microcomputer, pin 17 of the liquid crystal driver chip is connected to pin 19 of the single-chip microcomputer, and pin 20 of the liquid crystal driver chip is connected to pin 20 of the single-chip microcomputer through a transistor.

8. The control circuit module based on a single chip microcomputer according to claim 1, characterized in that: The clock signal module includes a clock chip and a battery interface, pin 8 of the clock chip is connected to the battery interface, pin 1 of the clock chip is connected to a 3.3V power supply, and pins 7, 6 and 5 of the clock chip are respectively connected to pins 21, 22 and 23 of the microcontroller.