Intelligent internet-of-things access control system for gas station
By designing an intelligent Internet of Things access control system in the gas station, and using the NBIoT communication module and Bluetooth module to monitor the access control switches and patrol situation in real time, the problems of illegal intrusion and inadequate patrol are solved, and the safety of the station is improved.
Patent Information
- Application Number
- CN202420880215.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2034-04-25
Smart Images

Figure CN222167651U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the field of gas station safety and relates to a door access control system, in particular to an intelligent Internet of Things door access control system for a gas station. Background Art
[0002] For gas stations, a safe and reliable station environment is particularly important. All station monitoring equipment is located inside the station. Ordinary access control systems use card swiping to open, have no networking function, and no illegal destruction and intrusion alarm function. Therefore, the instruments and control equipment inside the station are not adequately protected, and there are great safety hazards. Therefore, it is particularly important for the plant to have a smart access control system, which can monitor the illegal entry of non-professionals. On the other hand, through Bluetooth connection with mobile phone APP, it can monitor whether the inspection personnel are in place, thereby enhancing the safety of the station environment. Utility Model Content
[0003] In view of the shortcomings of the prior art, the purpose of the utility model is to provide a smart Internet of Things access control system for gas stations to solve the security problems caused by non-professionals or illegal personnel breaking into the station environment and the problem of insufficient inspection by professionals in the prior art.
[0004] In order to solve the above technical problems, the utility model adopts the following technical solutions:
[0005] A gas station intelligent Internet of Things access control system, comprising a microcontroller, an NBIoT communication module, a Bluetooth module, a Hall sensor module, a key module, a power module and a relay module; the first end of the power module is connected to the first end of the NBIoT communication module and the relay module, and the second end of the power module is connected to the microcontroller, the Bluetooth module, the Hall sensor module, the second end of the NBIoT communication module and the key module;
[0006] The microcontroller is connected to the NBIoT communication module, Bluetooth module, Hall sensor module, power module and relay module respectively.
[0007] The utility model also includes the following technical features:
[0008] The NBIoT communication module includes a module U3, a resistor R1, a resistor R2, a resistor R7, a resistor R8, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C9, a power chip U1, a SIM card U2, a transistor Q2 and an antenna ANT1; wherein, pin 3 of the power chip U1 is connected to the microcontroller, pin 4 of the power chip U1 is connected as the first end of the NBIoT communication module to one end of the capacitor C1, the first end of the power module and the relay module, and pin 5 of the power chip U1 is connected to the capacitor C 3, one end of capacitor C4, one end of capacitor C5, pin 31 of module U3 and pin 32 of module U3 are connected together, the second end of capacitor C3 is connected together with the second end of capacitor C4 and the second end of capacitor C5 and grounded; pin 1 of power chip U1 is suspended, and pin 2 of power chip U1 is grounded; pin 1 of SIM card U2 is connected to one end of capacitor C2 and grounded, the second end of capacitor C2 is connected together with pin 3 of SIM card U2 and pin 15 of module U3, pin 3 of SIM card U2 is connected to pin 14 of module U3, and pin 6 of SIM card U2 is connected to The 13th pin of the module U3 is connected, the 7th pin of the SIM card U2 is connected to the 12th pin of the module U3; the 2nd, 4th and 5th pins of the SIM card U2 are left floating; one end of the resistor R1 is connected to the microcontroller, the second end of the resistor R1 is connected to one end of the resistor R2 and the 10th pin of the module U3, and the second end of the resistor R2 is grounded; the base of the transistor Q2 is connected to one end of the resistor R8, the second end of the resistor R8 is connected to the 20th pin of the module U3, one end of the capacitor C9 and the microcontroller, and the second end of the capacitor C9 is grounded; the collector of the transistor Q2 is connected to one end of the resistor R7 And connected to the microcontroller, the second end of the resistor R7 serves as the second end of the NBIoT communication module and is connected to the power module, microcontroller, Bluetooth module, Hall sensor module and button module; the emitter of the transistor Q2 is connected to pin 9 of the module U3, pin 17 of the module U3 is connected to the microcontroller, pin 19 of the module U3 is connected to the microcontroller, pins 22, 23, 25, 26, 28, 29, and 30 of the module U3 are connected to pin 2 of ANT1 and grounded, and pin 1 of ANT1 is connected to pin 27 of the module U3.
[0009] The Bluetooth module includes a Bluetooth chip U4, a crystal oscillator Y1, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C10, a resistor R3, a resistor R4, a resistor R5, a resistor R6, an antenna BT_ANT1, a transistor Q1 and an inductor L1; wherein, one end of the resistor R3 is connected to the second end of the power module, the microcontroller, the Hall sensor module, the second end of the NBIoT communication module and the key module, the second end of the resistor R3 is connected to the emitter of the transistor Q1, the collector of the transistor Q1 is connected to the 7th and 4th pins of the Bluetooth chip U4 and one end of the capacitor C7, and the second end of the capacitor C7 is grounded; the base of the transistor Q1 is connected to one end of the resistor R5, and the second end of the resistor R5 is connected to the microcontroller; the 16th and 3rd pins of the Bluetooth chip U4 are connected to the 2nd pin of the antenna BT_ANT1 and are grounded, the Bluetooth chip U4 Pin 15 of the Bluetooth chip U4 is connected to pin 1 of the antenna BT_ANT1; pin 10 of the Bluetooth chip U4 is connected to one end of the resistor R4, and the second end of the resistor R4 is connected to the microcontroller; pin 9 of the Bluetooth chip U4 is connected to one end of the resistor R6, and the second end of the resistor R6 is connected to the microcontroller; pin 5 of the Bluetooth chip U4 is connected to one end of the inductor L1, and the second end of the inductor L1 is connected to pin 6 of the Bluetooth chip U4 and one end of the capacitor C6, and the second end of the capacitor C6 is grounded; pin 2 of the Bluetooth chip U4 is connected to pin 3 of the crystal oscillator Y1 and one end of the capacitor C10, and the second end of the capacitor C10 is grounded; pin 1 of the Bluetooth chip U4 is connected to pin 1 of the crystal oscillator Y1 and one end of the capacitor C8, and the second end of the capacitor C8 is grounded, and pins 2 and 4 of the crystal oscillator Y1 are both grounded; pins 8, 11, 12, 13 and 14 of the Bluetooth chip U4 are all suspended.
[0010] The Hall sensor module includes a Hall element Q4, wherein pin 1 of the Hall element Q4 is commonly connected to the second end of the power module, the microcontroller, the Bluetooth module, the button module and the second end of the NBIoT communication module; pin 2 of the Hall element Q4 is connected to the microcontroller, and pin 3 of the Hall element Q4 is grounded.
[0011] The button module includes a button J3, a capacitor C15 and a resistor R11, wherein one end of the resistor R11 is connected to the second end of the power module, the microcontroller, the Bluetooth module, the Hall sensor module and the second end of the NBIoT communication module; the other end of the resistor R11 is connected to pin 2 of the button J3 and one end of the capacitor C15, and the other end of the capacitor C15 is connected to pin 1 of the button J3 and grounded.
[0012] The power supply circuit of the power module includes a socket J2, a diode D2, an electrolytic capacitor E2, a power chip U6, a capacitor C13, a power chip U7 and a capacitor C14; wherein, pin 1 of the socket J2 is connected to the negative electrode of the electrolytic capacitor E2, pin 2 of the power chip U6, one end of C13, pin 1 of the power chip U7 and one end of the capacitor C14 and is grounded; pin 2 of the socket J2 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the positive electrode of the electrolytic capacitor E2 and pin 1 of the power chip U6, pin 3 of the power chip U6 is connected as the first end of the power module to the second end of the capacitor C13, pin 2 of the power chip U7, the first end of the NBIoT communication module and the relay module, and pin 3 of the power chip U7 is connected as the second end of the power module to the second end of the capacitor C14, the microcontroller, the Bluetooth module, the Hall sensor module, the button module and the second end of the NBIoT communication module.
[0013] The relay module includes a socket P1, a relay K1, a diode D1, an electrolytic capacitor E1, a resistor R10, a resistor R13, a resistor R14 and a transistor Q3; wherein, pin 1 and pin 2 of the socket P1 are respectively connected to pin 4 and pin 5 of the relay K1; pin 2 of the relay K1 is commonly connected to the positive electrode of the electrolytic capacitor E1, one end of R10, and the negative electrode of the diode D1, the negative electrode of the electrolytic capacitor E1 is grounded, the second end of the resistor R10 is connected to the first end of the power module and the first end of the NBIoT communication module, the positive electrode of the diode D1 is connected to pin 1 of the relay K1 and the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R13, the second end of the resistor R13 is connected to the microcontroller, the emitter of the transistor Q3 is connected to one end of the resistor R14, and the other end of R14 is grounded.
[0014] Compared with the prior art, the utility model has the following beneficial technical effects:
[0015] (I) In the present invention, by providing an NBIoT communication module, the access switch information to be reported can be uploaded to the external cloud platform in a timely manner, regardless of whether the station access is normally opened, so as to screen normal opening or illegal intrusion, thereby solving the security problem caused by non-professionals or illegal personnel breaking into the station environment in the prior art.
[0016] (II) The utility model sets up a Bluetooth module and communicates with the remote connection of the mobile phone APP, which can monitor in real time whether the inspection personnel are in place, further improving the safety of the station environment. It solves the problem of inadequate inspection by professionals in the prior art. Regardless of whether the station access control is opened normally, the opening information will be uploaded to the cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the system structure of the utility model;
[0018] Figure 2 is a schematic diagram of a microcontroller in the present utility model;
[0019] Figure 3 This is a schematic diagram of the NBIoT communication module in the present invention;
[0020] Figure 4 is a schematic diagram of the Bluetooth module in the present utility model;
[0021] Figure 5 It is a schematic diagram of the Hall sensor module in the present utility model;
[0022] Figure 6 It is a schematic diagram of the key module in the utility model;
[0023] Figure 7 A schematic diagram of a power module in the present utility model;
[0024] Figure 8 It is a schematic diagram of the relay module in the present utility model.
[0025] The specific contents of the utility model are further explained in detail below in conjunction with the embodiments. DETAILED DESCRIPTION
[0026] It should be noted that, unless otherwise specified, all components in the present invention are components known in the art.
[0027] The following are specific embodiments of the present invention. It should be noted that the present invention is not limited to the following specific embodiments, and all equivalent changes made on the basis of the technical solution of the present application fall within the protection scope of the present invention.
[0028] The utility model provides a gas station intelligent Internet of Things access control system, including a microcontroller, an NBIoT communication module, a Bluetooth module, a Hall sensor module, a key module, a power module and a relay module; the first end of the power module is connected to the first end of the NBIoT communication module and the relay module, and the second end of the power module is connected to the microcontroller, the Bluetooth module, the Hall sensor module, the second end of the NBIoT communication module and the key module;
[0029] The microcontroller is connected to the NBIoT communication module, Bluetooth module, Hall sensor module, power module and relay module respectively.
[0030] In the above technical solution, by setting up the NBIoT communication module, regardless of whether the station access is opened normally, the access switch information to be reported can be uploaded to the external cloud platform in time, so as to screen normal opening or illegal intrusion, thereby solving the security problems caused by non-professionals or illegal personnel breaking into the station environment in the prior art.
[0031] By setting up a Bluetooth module and communicating with the remote connection of the mobile phone APP, the access control can be opened by operating the APP. The platform can know that the access control was opened by the staff during normal inspection, which further enhances the safety of the site environment and solves the problem of insufficient inspection by professionals in the existing technology.
[0032] Preferably, in this solution, the microcontroller adopts a single-chip microcomputer U5 of model FM33LC025N and its peripheral circuit, and the peripheral circuit includes a resistor R9, a capacitor C11, a capacitor C12, a crystal oscillator X1, and a socket J1; wherein, pin 1 of the socket J1 is connected to the first end of the power module, the Bluetooth module, the Hall sensor module, the second end of the NBIoT communication module and the key module, pin 2 of the socket J1 is grounded, and pins 3, 4 and 5 of the socket J1 are respectively connected to pins 47, 46 and 45 of the single-chip microcomputer U5. Corresponding connections: Pin 36 of the microcontroller U5 is connected to one end of the crystal oscillator X1 and one end of the capacitor C12, pin 37 of the microcontroller U5 is connected to the second end of the crystal oscillator X1 and one end of the capacitor C11, the second end of the capacitor C11 is connected to the second end of the capacitor C12 and grounded; one end of the resistor R9 is connected to pin 48 of the microcontroller U5, the second end of the resistor R9 is connected to the base of the transistor Q2 in the NBIoT communication module and one end of the resistor R8, and the second end of the resistor R8 is connected to pin 20 of the module U3 and one end of the capacitor C9.
[0033] The microcontroller is used to receive the access control operation from the mobile phone APP and control the relay module to open and close the access control system.
[0034] Among them, pin 1 of the socket J1 is connected to pin 3 of the power chip U7 of the power module, one end of the resistor R3 of the Bluetooth module, pin 1 of the Hall element Q4 of the Hall sensor module, the second end of the resistor R7 of the NBIoT communication module, and one end of the resistor R11 of the key module.
[0035] Preferably, the model of the crystal oscillator X1 is 32.768KHz, and the model of the socket J1 is 1*5-2.54.
[0036] The value of resistor R9 is 1K, the value of capacitor C11 is 22pF, and the value of capacitor C12 is 22pF.
[0037] Specifically, the NBIoT communication module includes a module U3, a resistor R1, a resistor R2, a resistor R7, a resistor R8, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C9, a power chip U1, a SIM card U2, a transistor Q2 and an antenna ANT1; wherein, pin 3 of the power chip U1 is connected to the microcontroller, pin 4 of the power chip U1 is connected as the first end of the NBIoT communication module to one end of the capacitor C1, the first end of the power module and the relay module, and pin 5 of the power chip U1 is connected to the capacitor C 3, one end of capacitor C4, one end of capacitor C5, pin 31 of module U3 and pin 32 of module U3 are connected together, the second end of capacitor C3 is connected together with the second end of capacitor C4 and the second end of capacitor C5 and grounded; pin 1 of power chip U1 is suspended, and pin 2 of power chip U1 is grounded; pin 1 of SIM card U2 is connected to one end of capacitor C2 and grounded, the second end of capacitor C2 is connected together with pin 3 of SIM card U2 and pin 15 of module U3, pin 3 of SIM card U2 is connected to pin 14 of module U3, and pin 6 of SIM card U2 is connected to The 13th pin of the module U3 is connected, the 7th pin of the SIM card U2 is connected to the 12th pin of the module U3; the 2nd, 4th and 5th pins of the SIM card U2 are left floating; one end of the resistor R1 is connected to the microcontroller, the second end of the resistor R1 is connected to one end of the resistor R2 and the 10th pin of the module U3, and the second end of the resistor R2 is grounded; the base of the transistor Q2 is connected to one end of the resistor R8, the second end of the resistor R8 is connected to the 20th pin of the module U3, one end of the capacitor C9 and the microcontroller, and the second end of the capacitor C9 is grounded; the collector of the transistor Q2 is connected to one end of the resistor R7 And connected to the microcontroller, the second end of the resistor R7 serves as the second end of the NBIoT communication module and is connected to the power module, microcontroller, Bluetooth module, Hall sensor module and button module; the emitter of the transistor Q2 is connected to pin 9 of the module U3, pin 17 of the module U3 is connected to the microcontroller, pin 19 of the module U3 is connected to the microcontroller, pins 22, 23, 25, 26, 28, 29, and 30 of the module U3 are connected to pin 2 of ANT1 and grounded, and pin 1 of ANT1 is connected to pin 27 of the module U3.
[0038] In the above technical solution, the NBIoT communication module is used to upload the access switch information received by the microcontroller to the external cloud platform in order to screen normal opening or illegal intrusion. Among them, the power chip U1 is used to convert the 5V input voltage into 3.6V to power the module U3. The SIM card U2 is used to authenticate the product with the NB network when connecting to the network. The module U3 communicates with the microcontroller through the serial port.
[0039] Among them, pin 3 of the power chip U1 is connected to pin 16 of the microcontroller's single-chip computer U5, pin 4 of the power chip U1 is used as the first end of the NBIoT communication module and is connected to one end of the capacitor C1, pin 3 of the power chip U6 of the power module and the second end of the resistor R10 of the relay module, one end of the resistor R1 is connected to pin 15 of the microcontroller's single-chip computer U5, the second end of the resistor R8 is connected to pin 20 of the module U3, one end of the capacitor C9 and the second end of the resistor R9 of the microcontroller, and the collector of the transistor Q2 is connected to the resistor R One end of resistor R7 is connected to pin 14 of microcontroller microcontroller U5, and the second end of resistor R7 as the second end of the NBIoT communication module is connected to pin 3 of power chip U7 of the power module, pin 1 of socket J1 of the microcontroller, one end of resistor R3 of the Bluetooth module, pin 1 of Hall element Q4 of the Hall sensor module and one end of resistor R11 of the button module; pin 17 of module U3 is connected to pin 12 of microcontroller U5, and pin 19 of module U3 is connected to pin 11 of microcontroller microcontroller U5.
[0040] Preferably, the model of module U3 is UMN601, the model of power chip U1 is MD7218E33, the model of SIM card U2 is telecom NB card, the model of transistor Q2 is MMBT3904, the value of resistor R1 is 1K, the value of resistor R2 is 1K, the value of resistor R7 is 10K, the value of resistor R8 is 5.1K, the model of capacitor antenna ANT1 is FR-SF01, the value of capacitor C1 is 100uF, the value of capacitor C2 is 100nF, the value of capacitor C3 is 100uF, the value of capacitor C4 is 100nF, the value of capacitor C5 is 33pF, and the value of capacitor C9 is 100nF.
[0041] Specifically, the Bluetooth module includes a Bluetooth chip U4, a crystal oscillator Y1, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C10, a resistor R3, a resistor R4, a resistor R5, a resistor R6, an antenna BT_ANT1, a transistor Q1 and an inductor L1; wherein, one end of the resistor R3 is connected to the second end of the power module, the microcontroller, the Hall sensor module, the second end of the NBIoT communication module and the key module, the second end of the resistor R3 is connected to the emitter of the transistor Q1, the collector of the transistor Q1 is connected to the 7th and 4th pins of the Bluetooth chip U4 and one end of the capacitor C7, and the second end of the capacitor C7 is grounded; the base of the transistor Q1 is connected to one end of the resistor R5, and the second end of the resistor R5 is connected to the microcontroller; the 16th and 3rd pins of the Bluetooth chip U4 are connected to the 2nd pin of the antenna BT_ANT1 and are grounded, and the Bluetooth chip U Pin 15 of Bluetooth chip U4 is connected to pin 1 of antenna BT_ANT1; pin 10 of Bluetooth chip U4 is connected to one end of resistor R4, and the second end of resistor R4 is connected to the microcontroller; pin 9 of Bluetooth chip U4 is connected to one end of resistor R6, and the second end of resistor R6 is connected to the microcontroller; pin 5 of Bluetooth chip U4 is connected to one end of inductor L1, and the second end of inductor L1 is connected to pin 6 of Bluetooth chip U4 and one end of capacitor C6, and the second end of capacitor C6 is grounded; pin 2 of Bluetooth chip U4 is connected to pin 3 of crystal oscillator Y1 and one end of capacitor C10, and the second end of capacitor C10 is grounded; pin 1 of Bluetooth chip U4 is connected to pin 1 of crystal oscillator Y1 and one end of capacitor C8, and the second end of capacitor C8 is grounded, and pin 2 and pin 4 of crystal oscillator Y1 are both grounded; pin 8, pin 11, pin 12, pin 13 and pin 14 of Bluetooth chip U4 are all suspended.
[0042] In the above technical solution, the Bluetooth module is used to realize remote connection and communication with the mobile phone APP. The multiple serial ports of the Bluetooth module interact with the microcontroller for data communication. The mobile phone APP and Bluetooth communicate data through BT_ANT1 to monitor whether the inspection personnel are in place.
[0043] Among them, one end of the resistor R3 is connected to pin 3 of the power chip U7 of the power module, pin 1 of the socket J1 of the microcontroller, pin 1 of the Hall element Q4 of the Hall sensor module, the second end of the resistor R7 at the second end of the NBIoT communication module and one end of the resistor R11 of the key module; the second end of the resistor R5 is connected to pin 31 of the microcontroller microcontroller U5, the second end of the resistor R4 is connected to pin 27 of the microcontroller microcontroller U5, and the second end of the resistor R6 is connected to pin 28 of the microcontroller microcontroller U5.
[0044] Preferably, the model of Bluetooth chip U4 is FR8012HA, the model of crystal oscillator Y1 is 24MHz, the model of antenna BT_ANT1 is FR-SF11, the model of transistor Q1 is MMBTSB1197R, the model of inductor L1 is 4.7uH, the value of capacitor C6 is 10uF, the value of capacitor C7 is 2.2uF, the value of capacitor C8 is 9pF, the value of capacitor C10 is 9pF, the value of resistor R3 is 5.1R, the value of resistor R4 is 1K, the value of resistor R5 is 5.1K, and the value of resistor R6 is 1K.
[0045] Specifically, the Hall sensor module includes a Hall element Q4, wherein pin 1 of the Hall element Q4 is connected to the second end of the power module, the microcontroller, the Bluetooth module, the button module and the second end of the NBIoT communication module; pin 2 of the Hall element Q4 is connected to the microcontroller, and pin 3 of the Hall element Q4 is grounded.
[0046] In the above technical solution, the Hall sensor module is used to detect whether the access control system is open and transmit the access control switch information to the microcontroller. When the Hall element Q4 senses the change in the magnetic field, the output level of pin 2 of the Hall element Q4 will change. The microcontroller collects this signal to determine the switch status of the door.
[0047] Among them, the 1st pin of the Hall element Q4 is connected to the 3rd pin of the power module power chip U7, the 1st pin of the microcontroller socket J1, one end of the resistor R3 of the Bluetooth module, one end of the resistor R11 of the key module and the second end of the resistor R7 of the NBIoT communication module; the 2nd pin of the Hall element Q4 is connected to the 13th pin of the microcontroller microcontroller U5.
[0048] Preferably, the model of the Hall element Q4 is TMR1302S.
[0049] Specifically, the button module includes a button J3, a capacitor C15 and a resistor R11, wherein one end of the resistor R11 is connected to the second end of the power module, the microcontroller, the Bluetooth module, the Hall sensor module and the second end of the NBIoT communication module; the other end of the resistor R11 is connected to pin 2 of the button J3 and one end of the capacitor C15, and the other end of the capacitor C15 is connected to pin 1 of the button J3 and grounded.
[0050] In the above technical solution, the button module is used to confirm the alarm information after the device alarms, wherein pin 2 of button J3 is high level by default. When button J3 is pressed, pin 2 of button J3 becomes low level, and the microcontroller can collect this signal.
[0051] One end of the resistor R11 is connected to the 3rd pin of the power chip U7 of the power module, the 1st pin of the socket J1 of the microcontroller, one end of the resistor R3 of the Bluetooth module, the 1st pin of the Hall element Q4 of the Hall sensor module and the second end of the resistor R7 of the NBIoT communication module;
[0052] Preferably, the model of the button J3 is BH06-5; the value of the capacitor C15 is 100nF, and the value of the resistor R11 is 300K.
[0053] Specifically, the power supply circuit of the power module includes a socket J2, a diode D2, an electrolytic capacitor E2, a power chip U6, a capacitor C13, a power chip U7 and a capacitor C14; wherein, pin 1 of the socket J2 is connected to the negative electrode of the electrolytic capacitor E2, pin 2 of the power chip U6, one end of C13, pin 1 of the power chip U7 and one end of the capacitor C14 and is grounded; pin 2 of the socket J2 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the positive electrode of the electrolytic capacitor E2 and pin 1 of the power chip U6, pin 3 of the power chip U6 is connected as the first end of the power module to the second end of the capacitor C13, pin 2 of the power chip U7, the first end of the NBIoT communication module and the relay module, and pin 3 of the power chip U7 is connected as the second end of the power module to the second end of the capacitor C14, the microcontroller, the Bluetooth module, the Hall sensor module, the button module and the second end of the NBIoT communication module.
[0054] In the above technical solution, the power module is used to power each module of the gas station intelligent IoT access control system, wherein the power chip U6 is used to convert the 24V voltage into the 5V voltage, and the power chip U7 is used to convert the 5V voltage into the 3.6V voltage.
[0055] Among them, pin 3 of the power chip U6 is connected as the first end of the power module to the second end of the capacitor C13, pin 2 of the power chip U7, pin 4 of the power chip U1 of the NBIoT communication module and the second end of the resistor R10 of the relay module; pin 3 of the power chip U7 is connected as the second end of the power module to the second end of the capacitor C14, pin 1 of the microcontroller socket J1, one end of the resistor R3 of the Bluetooth module, pin 1 of the Hall element Q4 of the Hall sensor module, one end of the resistor R11 of the button module and the second end of the resistor R7 of the NBIoT communication module.
[0056] Preferably, the model of socket J2 is 5264-2A, the model of diode D2 is M7, the model of power chip U6 is CJ7805, the model of power chip U7 is ME6210A36 / UR5636, the value of electrolytic capacitor E2 is 50V / 330uF, the value of capacitor C13 is 100nF, and the value of capacitor C14 is 100nF.
[0057] Specifically, the relay module includes a socket P1, a relay K1, a diode D1, an electrolytic capacitor E1, a resistor R10, a resistor R13, a resistor R14 and a transistor Q3; wherein, pin 1 and pin 2 of the socket P1 are respectively connected to pin 4 and pin 5 of the relay K1; pin 2 of the relay K1 is commonly connected to the positive electrode of the electrolytic capacitor E1, one end of R10, and the negative electrode of the diode D1, the negative electrode of the electrolytic capacitor E1 is grounded, the second end of the resistor R10 is connected to the first end of the power module and the first end of the NBIoT communication module, the positive electrode of the diode D1 is connected to pin 1 of the relay K1 and the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R13, the second end of the resistor R13 is connected to the microcontroller, the emitter of the transistor Q3 is connected to one end of the resistor R14, and the other end of R14 is grounded.
[0058] In the above technical solution, the relay module is used to open or close the access control, wherein the relay K1 is used to control the power switch of the access control so that it can open or close the door normally.
[0059] Among them, the second end of the resistor R10 is connected to the 3rd pin of the power chip U6 of the power module and the 4th pin of the power chip U1 of the NBIoT communication module and one end of the capacitor C1, and the second end of the resistor R13 is connected to the 30th pin of the microcontroller U5.
[0060] Preferably, the model of the socket P1 is DA129-7.26-2P, the model of the relay K1 is HF165FD-G, the model of the diode D1 is M7, and the model of the transistor Q3 is MMBTSB1781R
[0061] The value of the electrolytic capacitor E1 is 25V / 1000uF, the value of the resistor R10 is 100R, the value of the resistor R13 is 5.1K, and the value of the resistor R14 is 5.1R.
Claims
1. A gas station intelligent Internet of Things access control system, including a microcontroller, an NBIoT communication module, a Bluetooth module, a Hall sensor module, a button module, a power module and a relay module; characterized in that: The first end of the power module is connected to the first end of the NBIoT communication module and the relay module, and the second end of the power module is connected to the microcontroller, the Bluetooth module, the Hall sensor module, the second end of the NBIoT communication module and the button module; The microcontroller is connected to the NBIoT communication module, Bluetooth module, Hall sensor module, power module and relay module respectively.
2. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The NBIoT communication module includes a module U3, a resistor R1, a resistor R2, a resistor R7, a resistor R8, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C9, a power chip U1, a SIM card U2, a transistor Q2 and an antenna ANT1; wherein, pin 3 of the power chip U1 is connected to the microcontroller, pin 4 of the power chip U1 is connected as the first end of the NBIoT communication module to one end of the capacitor C1, the first end of the power module and the relay module, and pin 5 of the power chip U1 is connected to the capacitor C 3, one end of capacitor C4, one end of capacitor C5, pin 31 of module U3 and pin 32 of module U3 are connected together, the second end of capacitor C3 is connected together with the second end of capacitor C4 and the second end of capacitor C5 and grounded; pin 1 of power chip U1 is suspended, and pin 2 of power chip U1 is grounded; pin 1 of SIM card U2 is connected to one end of capacitor C2 and grounded, the second end of capacitor C2 is connected together with pin 3 of SIM card U2 and pin 15 of module U3, pin 3 of SIM card U2 is connected to pin 14 of module U3, and pin 6 of SIM card U2 is connected to The 13th pin of the module U3 is connected, the 7th pin of the SIM card U2 is connected to the 12th pin of the module U3; the 2nd, 4th and 5th pins of the SIM card U2 are left floating; one end of the resistor R1 is connected to the microcontroller, the second end of the resistor R1 is connected to one end of the resistor R2 and the 10th pin of the module U3, and the second end of the resistor R2 is grounded; the base of the transistor Q2 is connected to one end of the resistor R8, the second end of the resistor R8 is connected to the 20th pin of the module U3, one end of the capacitor C9 and the microcontroller, and the second end of the capacitor C9 is grounded; the collector of the transistor Q2 is connected to one end of the resistor R7 And connected to the microcontroller, the second end of the resistor R7 serves as the second end of the NBIoT communication module and is connected to the power module, microcontroller, Bluetooth module, Hall sensor module and button module; the emitter of the transistor Q2 is connected to pin 9 of the module U3, pin 17 of the module U3 is connected to the microcontroller, pin 19 of the module U3 is connected to the microcontroller, pins 22, 23, 25, 26, 28, 29, and 30 of the module U3 are connected to pin 2 of ANT1 and grounded, and pin 1 of ANT1 is connected to pin 27 of the module U3.
3. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The Bluetooth module includes a Bluetooth chip U4, a crystal oscillator Y1, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C10, a resistor R3, a resistor R4, a resistor R5, a resistor R6, an antenna BT_ANT1, a transistor Q1 and an inductor L1; wherein, one end of the resistor R3 is connected to the second end of the power module, the microcontroller, the Hall sensor module, the second end of the NBIoT communication module and the key module, the second end of the resistor R3 is connected to the emitter of the transistor Q1, the collector of the transistor Q1 is connected to the 7th and 4th pins of the Bluetooth chip U4 and one end of the capacitor C7, and the second end of the capacitor C7 is grounded; the base of the transistor Q1 is connected to one end of the resistor R5, and the second end of the resistor R5 is connected to the microcontroller; the 16th and 3rd pins of the Bluetooth chip U4 are connected to the 2nd pin of the antenna BT_ANT1 and are grounded, the Bluetooth chip U4 Pin 15 of the Bluetooth chip U4 is connected to pin 1 of the antenna BT_ANT1; pin 10 of the Bluetooth chip U4 is connected to one end of the resistor R4, and the second end of the resistor R4 is connected to the microcontroller; pin 9 of the Bluetooth chip U4 is connected to one end of the resistor R6, and the second end of the resistor R6 is connected to the microcontroller; pin 5 of the Bluetooth chip U4 is connected to one end of the inductor L1, and the second end of the inductor L1 is connected to pin 6 of the Bluetooth chip U4 and one end of the capacitor C6, and the second end of the capacitor C6 is grounded; pin 2 of the Bluetooth chip U4 is connected to pin 3 of the crystal oscillator Y1 and one end of the capacitor C10, and the second end of the capacitor C10 is grounded; pin 1 of the Bluetooth chip U4 is connected to pin 1 of the crystal oscillator Y1 and one end of the capacitor C8, and the second end of the capacitor C8 is grounded, and pins 2 and 4 of the crystal oscillator Y1 are both grounded; pins 8, 11, 12, 13 and 14 of the Bluetooth chip U4 are all suspended.
4. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The Hall sensor module includes a Hall element Q4, wherein pin 1 of the Hall element Q4 is commonly connected to the second end of the power module, the microcontroller, the Bluetooth module, the button module and the second end of the NBIoT communication module; pin 2 of the Hall element Q4 is connected to the microcontroller, and pin 3 of the Hall element Q4 is grounded.
5. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The button module includes a button J3, a capacitor C15 and a resistor R11, wherein one end of the resistor R11 is connected to the second end of the power module, the microcontroller, the Bluetooth module, the Hall sensor module and the second end of the NBIoT communication module; the other end of the resistor R11 is connected to pin 2 of the button J3 and one end of the capacitor C15, and the other end of the capacitor C15 is connected to pin 1 of the button J3 and grounded.
6. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The power supply circuit of the power module includes a socket J2, a diode D2, an electrolytic capacitor E2, a power chip U6, a capacitor C13, a power chip U7 and a capacitor C14; wherein, pin 1 of the socket J2 is connected to the negative electrode of the electrolytic capacitor E2, pin 2 of the power chip U6, one end of C13, pin 1 of the power chip U7 and one end of the capacitor C14 and is grounded; pin 2 of the socket J2 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the positive electrode of the electrolytic capacitor E2 and pin 1 of the power chip U6, pin 3 of the power chip U6 is connected as the first end of the power module to the second end of the capacitor C13, pin 2 of the power chip U7, the first end of the NBIoT communication module and the relay module, and pin 3 of the power chip U7 is connected as the second end of the power module to the second end of the capacitor C14, the microcontroller, the Bluetooth module, the Hall sensor module, the button module and the second end of the NBIoT communication module.
7. The intelligent Internet of Things access control system for a gas station as claimed in claim 1, characterized in that: The relay module includes a socket P1, a relay K1, a diode D1, an electrolytic capacitor E1, a resistor R10, a resistor R13, a resistor R14 and a transistor Q3; wherein, pin 1 and pin 2 of the socket P1 are respectively connected to pin 4 and pin 5 of the relay K1; pin 2 of the relay K1 is commonly connected to the positive electrode of the electrolytic capacitor E1, one end of R10, and the negative electrode of the diode D1, the negative electrode of the electrolytic capacitor E1 is grounded, the second end of the resistor R10 is connected to the first end of the power module and the first end of the NBIoT communication module, the positive electrode of the diode D1 is connected to pin 1 of the relay K1 and the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R13, the second end of the resistor R13 is connected to the microcontroller, the emitter of the transistor Q3 is connected to one end of the resistor R14, and the other end of R14 is grounded.
