CN210039069U - Alarm device based on singlechip - Google Patents

Alarm device based on singlechip Download PDF

Info

Publication number
CN210039069U
CN210039069U CN201920695472.1U CN201920695472U CN210039069U CN 210039069 U CN210039069 U CN 210039069U CN 201920695472 U CN201920695472 U CN 201920695472U CN 210039069 U CN210039069 U CN 210039069U
Authority
CN
China
Prior art keywords
circuit
alarm
chip microcomputer
single chip
optical coupling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201920695472.1U
Other languages
Chinese (zh)
Inventor
田善英
贾旱雷
阮宏义
余恒志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Hanyun Intelligent Manufacturing Co Ltd
Original Assignee
Anhui Hanyun Intelligent Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Hanyun Intelligent Manufacturing Co Ltd filed Critical Anhui Hanyun Intelligent Manufacturing Co Ltd
Priority to CN201920695472.1U priority Critical patent/CN210039069U/en
Application granted granted Critical
Publication of CN210039069U publication Critical patent/CN210039069U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model discloses an alarm device based on a single chip microcomputer, which comprises the single chip microcomputer and an alarm, wherein the alarm comprises an alarm input circuit and an alarm output circuit, and the input end of the alarm output circuit is connected with a control pin of the single chip microcomputer; the alarm input circuit comprises a protection circuit and an optical coupling circuit, wherein the output end of the protection circuit is connected with the input end of the optical coupling circuit, and the output end of the optical coupling circuit is connected with a functional pin of the single chip microcomputer. The alarm input circuit further comprises an alarm input node, the protection circuit comprises a fuse F9 and a transient suppression diode TV9, the input end of the fuse F9 is connected with the alarm input node, the output end of the fuse F9 is respectively connected with the input end of the optical coupling circuit and one end of the transient suppression diode TV9, and the other end of the transient suppression diode TV9 is grounded; the overvoltage protection of the whole alarm device in the processes of filtering the alarm signal and alarming is realized, so that the alarm device can effectively alarm.

Description

Alarm device based on singlechip
Technical Field
The utility model relates to an alarm technology field especially relates to an alarm device based on singlechip.
Background
With the development of science and technology, the traditional alarm device can not filter the alarm signal, and meanwhile, when the traditional alarm device works, the whole alarm device can not be subjected to overvoltage protection, so that the damage of the alarm device is caused, and therefore the traditional alarm device can not meet the requirements of the current society. The intelligent household alarm device realizes monitoring and alarming by using scientific technology, quickly and accurately monitors the current household environment, noise, dust, fire and other phenomena, and is a large application direction of the current alarm device.
SUMMERY OF THE UTILITY MODEL
Based on the technical problem that the background art exists, the utility model provides an alarm device based on singlechip has realized the filtration and the alarm process to alarm signal to whole alarm device's overvoltage protection for alarm device effectively reports to the police.
The utility model provides an alarm device based on singlechip, which comprises a singlechip and an alarm, wherein the alarm comprises an alarm input circuit and an alarm output circuit, and the input end of the alarm output circuit is connected with a control pin of the singlechip;
the alarm input circuit comprises a protection circuit and an optical coupling circuit, wherein the output end of the protection circuit is connected with the input end of the optical coupling circuit, and the output end of the optical coupling circuit is connected with a functional pin of the single chip microcomputer.
Further, the alarm input circuit further comprises an alarm input node, the protection circuit comprises a fuse F9 and a transient suppression diode TV9, an input end of the fuse F9 is connected with the alarm input node, an output end of the fuse F9 is respectively connected with an input end of the optical coupling circuit and one end of the transient suppression diode TV9, and the other end of the transient suppression diode TV9 is grounded.
Further, the optical coupling circuit comprises an optical coupling chip PS2801-1 and a primary resistor R25, wherein the anode of the optical coupling chip PS2801-1 is connected with 12V voltage through the primary resistor R25, the cathode of the optical coupling chip PS2801-1 is connected with the output end of a fuse F9, the emitter of the optical coupling chip PS2801-1 is grounded, and the collector of the optical coupling chip PS2801-1 is connected with a functional pin of a single chip microcomputer.
Further, the optical coupling circuit further comprises a secondary resistor R85, and the collector of the optical coupling chip PS2801-1 is connected with 3.3V voltage through the secondary resistor R85.
Further, the alarm output circuit comprises a diode indicating circuit, a relay and a triode Q6, wherein one end of the indicating circuit is connected with 5V voltage after the indicating circuit is connected with the relay in parallel, the other end of the indicating circuit is connected with a collector of a triode Q6, a base electrode of the triode Q6 is connected with a control pin of the single chip microcomputer, and an emitting electrode of the triode Q6 is grounded.
Further, the alarm output circuit further comprises a bias resistor R70 and a diode D10, the base of the triode Q6 is connected with the control pin of the single chip microcomputer through the bias resistor R70, the anode of the diode D10 is connected with the collector of the triode Q6, and the cathode of the diode D10 is connected with 5V voltage.
Further, the diode indicating circuit comprises a diode lamp LED8 and a current limiting resistor R68, wherein the anode of the diode lamp LED8 is connected with one end of the current limiting resistor R68, the cathode of the diode lamp LED8 is connected with the collector of the triode Q6, and the other end of the current limiting resistor R68 is connected with 5V voltage.
Further, the single chip microcomputer is externally connected with an ethernet communication circuit 2 and a network interface, the ethernet communication circuit 2 is respectively connected with the single chip microcomputer and the network interface, the ethernet communication circuit 2 comprises a chip LAN8720, a level matching resistor and a reset matching resistor, and the level matching resistor and the reset matching resistor are respectively connected with functional pins of the chip LAN 8720.
Further, the network interface is an RJ45 interface with a network isolation transformer, the RJ45 interface includes a chip HR911105A and adjusting resistors R55 and R56, and the adjusting resistors R55 and R56 are respectively connected to a control pin of the chip HR 911105A.
The utility model provides a pair of alarm device based on singlechip's advantage lies in: the utility model provides an alarm device based on a single chip microcomputer, which has low cost and simple system structure; the filtering of the alarm signal and the overvoltage protection of the whole alarm device in the alarm process are realized; the diode D10 eliminates the action of eliminating the reverse electromotive force when the relay coil acts, and protects the power supply; the arrangement of the bias resistor R70 enables the diode D10 to be in an amplification state all the time, the defect that signals with too low voltage are not output is avoided, and the effective sending of alarm signal instructions is improved.
Drawings
Fig. 1 is a schematic structural diagram of an alarm device based on a single chip microcomputer of the present invention;
FIG. 2 is a circuit diagram of the alarm input circuit of the present invention;
FIG. 3 is a circuit diagram of the alarm output circuit of the present invention;
fig. 4 is a pin schematic diagram of the single chip microcomputer of the present invention;
fig. 5 is a schematic diagram of the ethernet communication circuit of the present invention;
the alarm system comprises a single chip microcomputer 1, an Ethernet communication circuit 2, an alarm 3, an alarm input circuit 31, an alarm output circuit 32 and an alarm input node 33.
Detailed Description
The technical solution of the present invention will be described in detail by the following embodiments.
Referring to fig. 1-4, the utility model provides an alarm device based on a single chip microcomputer, which comprises a single chip microcomputer 1 and an alarm 3, wherein the alarm 3 comprises an alarm input circuit 31 and an alarm output circuit 32, and the input end of the alarm output circuit 32 is connected with a control pin of the single chip microcomputer 1; the singlechip 1 adopts an STM32F207 singlechip. The alarm input circuit 31 comprises a protection circuit and an optical coupling circuit, wherein the output end of the protection circuit is connected with the input end of the optical coupling circuit, and the output end of the optical coupling circuit is connected with a functional pin of the single chip microcomputer 1.
The alarm electrical signal enters the optical coupling circuit through the protection circuit, the optical coupling circuit converts the alarm electrical signal into an optical signal and then converts the optical signal into an electrical signal to be output to the single chip microcomputer 1, the single chip microcomputer 1 sends the sent alarm signal to the alarm output circuit 32 to give an alarm, and the optical coupling circuit has the function of filtering noise on the alarm signal to realize accurate alarm.
As shown in fig. 2, the alarm input circuit 31 further includes an alarm input node 33, the alarm input node 33 adopts a J4 interface, the protection circuit includes a fuse F9 and a transient suppression diode TV9, an input terminal of the fuse F9 is connected to a 1 pin of the J4 interface, a 2 pin of the J4 interface is grounded, an output terminal of the fuse F9 is connected to an input terminal of the optical coupling circuit and one end of the transient suppression diode TV9, and the other end of the transient suppression diode TV9 is grounded. Input terminal of fuse F9 and
the fuse F9 is a self-recovery fuse, when the current in the alarm input circuit 31 is too large, the fuse F9 is disconnected to protect the alarm input circuit 31 from being damaged, and the transient suppression diode TV9 is used for transient overvoltage protection to protect the normal operation of the whole alarm circuit.
Further, the optical coupling circuit comprises an optical coupling chip PS2801-1 and a primary resistor R25, wherein the anode of the optical coupling chip PS2801-1 is connected with 12V voltage through the primary resistor R25, the cathode of the optical coupling chip PS2801-1 is connected with the output end of a fuse F9, the emitter of the optical coupling chip PS2801-1 is grounded, and the collector (4 pins) of the optical coupling chip PS2801-1 is connected with 39 pins of the single chip microcomputer 1.
Further, the optical coupling circuit further comprises a secondary resistor R85, and the collector of the optical coupling chip PS2801-1 is connected with 3.3V voltage through the secondary resistor R85. In this embodiment, the primary resistor R25 is 3.3K and the secondary resistor R85 is 10K. Because the semiconductor device in the optocoupler chip PS2801-1 has the effect of storing charges, the working frequency of the device becomes low, the response speed of the device is slow, the primary resistor R25 and the secondary resistor R85 improve the response speed of the device, abnormal noise is resolved, and the anti-interference capability is improved.
As shown in fig. 3, the alarm output circuit 32 includes a diode indicating circuit, a relay, a transistor Q6 and an alarm output node, the alarm output node adopts a J31 interface, the indicating circuit and the relay are connected in parallel, one end of the indicating circuit is connected with 5V voltage, the other end of the indicating circuit is connected with a collector of a transistor Q6, a base of the transistor Q6 is connected with a pin 81 of the single chip microcomputer 1, and an emitter of the transistor Q6 is grounded. The 1 pin of J31 interface is connected with the 3 pins of relay, and the 2 pins of J31 interface are connected with the 4 pins of relay, and the 3 pins of J31 interface are connected with the 5 pins of relay, and the 2 pins of relay are connected with triode Q6's collecting electrode, and the 1 pin and the 5V voltage of relay are connected.
Further, the alarm output circuit 32 further comprises a bias resistor R70 and a diode D10, a base of the triode Q6 is connected with a pin 81 of the single chip microcomputer 1 through the bias resistor R70, an anode of the diode D10 is connected with a collector of the triode Q6, and a cathode of the diode D10 is connected with 5V voltage. The bias resistor R70 is arranged so that the diode D10 is always in an amplifying state; the diode D10 functions to eliminate the back emf when the relay coil is activated, to protect the power supply. The relay is a JZC-32F/005HS3 type relay.
Further, the diode indicating circuit comprises a diode lamp LED8 and a current limiting resistor R68, wherein the anode of the diode lamp LED8 is connected with one end of the current limiting resistor R68, the cathode of the diode lamp LED8 is connected with the collector of the triode Q6, and the other end of the current limiting resistor R68 is connected with 5V voltage. When an alarm occurs, the diode light LED8 lights to indicate that the circuit is currently in an alarm operating state.
As shown in fig. 4 and 5, the alarm input circuit 31 and the alarm output circuit 32 are connected through the single chip microcomputer 1, the single chip microcomputer 1 is externally connected with an ethernet communication circuit 2 and a network interface to realize remote transmission of an alarm signal, the ethernet communication circuit 2 is respectively connected with the single chip microcomputer 1 and the network interface, the ethernet communication circuit 2 includes a chip LAN8720, a level matching resistor and a reset matching resistor, and the level matching resistor and the reset matching resistor are respectively connected with a function pin of the chip LAN 8720. In the present embodiment, the level matching resistors are R11, R12, R13, R14, R15, R16, and R17, and the level matching resistors function as weak potential difference level matching; the reset matching resistor is R71, and R71 is an external reset matching circuit connected as needed by the internal structural circuitry of the LAN8720 chip. The reset matching resistor R71 has one end connected to the 15 pin of the chip LAN8720 and the other end connected to ground.
Further, the network interface is an RJ45 interface with a network isolation transformer, the RJ45 interface includes a chip HR911105A and adjusting resistors R55 and R56, the adjusting resistors R55 and R56 are respectively connected to a control pin of the chip HR911105A, and the adjusting resistors R55 and R56 are resistors matched for normal indication of two diode indicator lamps of the chip HR 911105A. In this embodiment, pin 2 of the chip LAN8720 is connected to pin 9 of chip HR911105A, and pin 3 of the chip LAN8720 is connected to pin 12 of chip HR911105A to provide a level to drive the diode indicator light in chip HR 911105A.
Specifically, when an alarm signal is conducted, the cathode (pin 2) of the optocoupler chip PS2801-1 is at a low level, DIN7 is also at a low level, the single chip microcomputer 1 measures the signal, and the SEND1 in the triggered alarm output circuit is at a high level, when the SEND1 is at a high level, the triode Q6 is conducted, the relay acts, and the alarm node output terminal drives an external alarm device to alarm, so that an audible alarm, an optical alarm, an audible and visual alarm or the like can be given; when SEND1 is at low level, the relay is not activated and the indicator lights are off.
In this embodiment, the 16 th pin (RMII _ MDC) of the single chip microcomputer 1 is connected to the 13 th pin of the chip LAN8720 of the ethernet communication circuit 2, the 24 th pin (RMII _ REF _ CLK) of the single chip microcomputer 1 is connected to the 14 th pin of the chip LAN8720 of the ethernet communication circuit 2 through the level matching resistor R17, the 25 th pin (RMII _ MDIO) of the single chip microcomputer 1 is connected to the 12 th pin of the chip LAN8720 of the ethernet communication circuit 2, the 32 th pin (RMII _ CRS _ DV) of the single chip microcomputer 1 is connected to the 11 th pin of the chip LAN8720 of the ethernet communication circuit 2 through the level matching resistor R16, the 33 th pin (RMII _ RXD 0) of the single chip microcomputer is connected to the 8 th pin of the chip LAN8720 of the ethernet communication circuit 2 through the level matching resistor R14, the 34 th pin (RMII _ RXD 1) of the single chip microcomputer 1 is connected to the 7 th pin of the chip LAN8720 of the ethernet communication circuit 2 through the level matching resistor R15, and the RESET chip LAN8720 of the ethernet communication circuit 2 is connected to the third pin (RMII _ RXD 1), a 48 th pin (RMII _ TX _ EN) of the one-chip microcomputer 1 is connected with a 16 th pin of the chip LAN8720 of the ethernet communication circuit 2 through a level matching resistor R13, a 51 th pin (RMII _ TXD 0) of the one-chip microcomputer 1 is connected with a 17 th pin of the chip LAN8720 of the ethernet communication circuit 2 through a level matching resistor R11, and a 52 th pin (RMII _ TXD 1) of the one-chip microcomputer 1 is connected with an 18 th pin of the chip LAN8720 of the ethernet communication circuit 2 through a level matching resistor R12.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.

Claims (9)

1. The alarm device based on the single chip microcomputer comprises the single chip microcomputer (1) and is characterized by further comprising an alarm (3), wherein the alarm (3) comprises an alarm input circuit (31) and an alarm output circuit (32), and the input end of the alarm output circuit (32) is connected with a control pin of the single chip microcomputer (1);
the alarm input circuit (31) comprises a protection circuit and an optical coupling circuit, wherein the output end of the protection circuit is connected with the input end of the optical coupling circuit, and the output end of the optical coupling circuit is connected with a functional pin of the singlechip (1).
2. The single-chip microcomputer based alarm device according to claim 1, wherein the alarm input circuit (31) further comprises an alarm input node (33), the protection circuit comprises a fuse F9 and a transient suppression diode TV9, an input end of the fuse F9 is connected with the alarm input node (33), an output end of the fuse F9 is respectively connected with an input end of the optical coupling circuit and one end of the transient suppression diode TV9, and the other end of the transient suppression diode TV9 is grounded.
3. The alarm device based on the single chip microcomputer according to claim 2, wherein the optical coupling circuit comprises an optical coupling chip PS2801-1 and a primary resistor R25, an anode of the optical coupling chip PS2801-1 is connected with 12V voltage through a primary resistor R25, a cathode of the optical coupling chip PS2801-1 is connected with an output end of a fuse F9, an emitter of the optical coupling chip PS2801-1 is grounded, and a collector of the optical coupling chip PS2801-1 is connected with a functional pin of the single chip microcomputer (1).
4. The single chip microcomputer based alarm device of claim 3, wherein the optical coupling circuit further comprises a secondary resistor R85, and a collector of the optical coupling chip PS2801-1 is connected with 3.3V voltage through the secondary resistor R85.
5. The alarm device based on the single chip microcomputer according to claim 1, wherein the alarm output circuit (32) comprises a diode indicating circuit, a relay and a triode Q6, the indicating circuit and the relay are connected in parallel, one end of the indicating circuit is connected with 5V voltage, the other end of the indicating circuit is connected with a collector electrode of a triode Q6, a base electrode of the triode Q6 is connected with a control pin of the single chip microcomputer (1), and an emitter electrode of the triode Q6 is grounded.
6. The alarm device based on the single chip microcomputer according to claim 5, wherein the alarm output circuit (32) further comprises a bias resistor R70 and a diode D10, the base of the transistor Q6 is connected with the control pin of the single chip microcomputer (1) through the bias resistor R70, the anode of the diode D10 is connected with the collector of the transistor Q6, and the cathode of the diode D10 is connected with 5V voltage.
7. The alarm device based on the single chip microcomputer according to claim 5, wherein the diode indicating circuit comprises a diode lamp LED8 and a current limiting resistor R68, the anode of the diode lamp LED8 is connected with one end of the current limiting resistor R68, the cathode of the diode lamp LED8 is connected with the collector of the triode Q6, and the other end of the current limiting resistor R68 is connected with 5V voltage.
8. The alarm device based on the single chip microcomputer according to any one of claims 1 to 7, wherein the single chip microcomputer (1) is externally connected with an Ethernet communication circuit (2) and a network interface, the Ethernet communication circuit (2) is respectively connected with the single chip microcomputer (1) and the network interface, the Ethernet communication circuit (2) comprises a chip LAN8720, a level matching resistor and a reset matching resistor, and the level matching resistor and the reset matching resistor are respectively connected with a function pin of the chip LAN 8720.
9. The alarm device based on the single chip microcomputer according to claim 8, wherein the network interface is an RJ45 interface with a network isolation transformer, the RJ45 interface comprises a chip HR911105A and adjusting resistors R55 and R56, and the adjusting resistors R55 and R56 are respectively connected with a control pin of the chip HR 911105A.
CN201920695472.1U 2019-05-15 2019-05-15 Alarm device based on singlechip Active CN210039069U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920695472.1U CN210039069U (en) 2019-05-15 2019-05-15 Alarm device based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920695472.1U CN210039069U (en) 2019-05-15 2019-05-15 Alarm device based on singlechip

Publications (1)

Publication Number Publication Date
CN210039069U true CN210039069U (en) 2020-02-07

Family

ID=69365591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920695472.1U Active CN210039069U (en) 2019-05-15 2019-05-15 Alarm device based on singlechip

Country Status (1)

Country Link
CN (1) CN210039069U (en)

Similar Documents

Publication Publication Date Title
CN209046247U (en) Bus power source malfunction monitoring protects circuit
CN202331701U (en) Universal relay module of automatic fire alarm system
CN117559610B (en) Emergency protection system for electric automobile during high-voltage charging
CN215730164U (en) Fault identification remote transmission alarm device of leakage current shielding module
CN210039069U (en) Alarm device based on singlechip
CN111736088B (en) Power state indicating circuit
CN105094102A (en) Intelligent district data acquisition system equipped with serial server
US11488463B1 (en) Co alarm for super capacitance type generator
CN206517538U (en) A kind of monitoring camera timely checking circuit
CN214045587U (en) Bus signal isolation circuit for DS18B20 temperature sensor
WO2018209787A1 (en) Balancing protection circuit and battery balancing system
CN210464528U (en) Sensor fault detection circuit based on protection circuit
CN203747378U (en) Transformer microcomputer protection system
CN204344357U (en) A kind of igniting observation circuit structure of igniter of universal petrol engine
CN208143550U (en) A kind of centrally connected power source type fire emergency monitoring circuit
CN211787410U (en) Fire alarm controller reset signal acquisition equipment based on internet of things gateway
CN210005898U (en) environment monitoring wireless acquisition device with lightning protection function
CN201797506U (en) Anti-reverse limited current circuit for external input of optical coupler
CN206272139U (en) A kind of electronic type of distribution terminal it is anti-jump and point, combined floodgate monitoring arrangement
CN205810049U (en) Detector for electric fire protection based on modified model two lines bus
CN101493678B (en) Intelligent controller for universal breaker and control method thereof
CN106228737A (en) A kind of power transmission and transformation line fire early warning system
CN211787399U (en) Data acquisition equipment for fire alarm controller
CN104405557A (en) Ignition monitoring circuit structure of general gasoline engine igniter
CN217213092U (en) Control circuit broken string detection circuit that can throw and move back

Legal Events

Date Code Title Description
GR01 Patent grant