CN209982510U - General thing networking information acquisition platform hardware circuit - Google Patents

General thing networking information acquisition platform hardware circuit Download PDF

Info

Publication number
CN209982510U
CN209982510U CN201921299064.0U CN201921299064U CN209982510U CN 209982510 U CN209982510 U CN 209982510U CN 201921299064 U CN201921299064 U CN 201921299064U CN 209982510 U CN209982510 U CN 209982510U
Authority
CN
China
Prior art keywords
port
communication
circuit
interface
chip
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.)
Expired - Fee Related
Application number
CN201921299064.0U
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.)
Zhejiang Wanli University
Zhejiang Wanli College
Original Assignee
Zhejiang Wanli College
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 Zhejiang Wanli College filed Critical Zhejiang Wanli College
Priority to CN201921299064.0U priority Critical patent/CN209982510U/en
Application granted granted Critical
Publication of CN209982510U publication Critical patent/CN209982510U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model provides a general thing networking information acquisition platform hardware circuit, the utility model discloses use STM32 as the master control core, combine MAX485 and TJA1050CAN communication chip to realize sensor module's outer expanding, as long as follow RS485 agreement or CAN communication protocol, all CAN be connected with the main control board to reach the data acquisition and the communication of all kinds of sensors, and finally convey the server. The utility model discloses can gather all kinds of different producers, the sensor of different agreements through the extension.

Description

General thing networking information acquisition platform hardware circuit
Technical Field
The utility model belongs to the technical field of the thing networking information, especially, relate to a general thing networking information acquisition platform hardware circuit.
Background
Many devices on the market at present acquire independent sensor data and then send the data to a server through a network, cannot be externally connected with additional sensors, cannot well realize signal compatibility, and cannot realize arbitrary sensor data acquisition and network sending.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to solve the defect that above-mentioned prior art exists, provide a general thing networking information acquisition platform hardware circuit, CAN realize sensor data acquisition and realize the transmission of data through the network through RS485 and CAN communication.
The utility model adopts the following technical scheme:
a hardware circuit of a general Internet of things information acquisition platform comprises a USB (universal serial bus) to serial port, a power supply part, a downloading interface, a buzzer, an RS485 communication interface, a CAN (controller area network) communication circuit, a key circuit and a master control core.
The USB-to-serial port is connected with TXD and RXD of the USB-to-serial port (CH340G chip) through RX2 and TX2 pins of an STM32F103 singlechip. The USB-to-serial port circuit is mainly used for realizing data communication between a USB and the circuit, is realized by adopting a USB-to-serial port, can be used for controlling and feeding back data of a system, and can also be used for updating and upgrading the system.
The POWER supply part realizes external POWER supply through a POWER1 POWER interface, realizes DC-DC voltage reduction to VCC 5V output through a U2MP1584 chip, and realizes voltage stabilization to 3.3V to supply POWER for an STM32 POWER supply through a P1AMS1117-3.3 chip by 5 VVCC.
The power supply part mainly realizes the conversion of DC-DC power supply voltage through a U2(MP1584 chip), the input voltage can be 6-12V, 5V is output to supply power for peripheral circuits, and the power is stabilized to 3.3V through a P1(AMS1117) and supplied with power by a main control core.
The download interface is JTAG standard interface, and is connected to IDC20 interface through JTRST JTDI JTMS JTCK JTDORESET pin leading out STM32 chip. The download interface mainly realizes debugging and downloading of programs through JTAG, and is a standard download interface.
The buzzer is generated by outputting and controlling a buzzer circuit through a PC3 pin of an STM32 singlechip to realize the sound of the buzzer. The buzzer part circuit mainly realizes the generation of prompting sounds of operations such as key operation sound prompt, network connection and the like.
The RS485 communication interface is mainly realized by combining a U4(MAX485 chip) with a peripheral circuit, and the data communication is realized through a serial port of an STM32 main control core.
The CAN communication circuit mainly adopts a CAN communication protocol inside a U3(CAN communication chip) set STM32 singlechip to realize data communication with external CAN equipment.
The key circuit realizes the operation of some functions through keys which are connected to ports of a PC0, a PC1 and a PC2 of an STM32, and the identification and control of the keys are realized through program control.
The master control core is realized by adopting STM32F103RET6, and a minimum core system of the master control is realized by combining a plurality of peripheral circuits. The 8M external crystal oscillator is adopted to realize key reset through K4, and the LED1 and the LED2 are functions for realizing some indications.
The USB-to-serial port circuit is characterized in that in a USB-B (Min) terminal, a VCC port is connected with VUSB, a D-port is connected with UD-, a D + port is connected with UD +, a GND port is grounded, in a CH340G chip, a GND port is grounded, a TXD port is connected with RX2, an RXD port is connected with TX2, a V3 port is connected with 3V3, a UD + port is connected with UD +, a UD-, a XI crystal oscillator Y2 end, a capacitor C5 end, a capacitor C5 end is connected with one end of the capacitor C9 and grounded, a capacitor C9 end is connected with the other end of the crystal oscillator Y2 and an XO port, a VCC port is connected with 3V3, an RS232 port is connected with RS232, an RTS # port is connected with RTS, a DTR # port is connected with DTR, a DCD # port is connected with DCD, an RI # port is connected with DSR, a CTS port is connected with.
In a power supply part circuit, a VIN port in a P1 terminal is connected with VCC, one end of a capacitor C4, the other end of a capacitor C4 is connected with one end of a capacitor C6, one end of a capacitor C7, a GND port and the ground, a VOUT port is connected with the other end of a capacitor C6, the other end of a capacitor C7 and a diode PLED2, the other end of a diode PLED2 is connected with one end of a resistor R3, and the other end of a resistor R3 is grounded;
in a U2 terminal, a VIN port is connected with one end of a voltage stabilizing diode D2, one end of a resistor R1, one end of a capacitor C24, one end of a voltage stabilizing capacitor C2, the other end of a capacitor C24, the other end of a voltage stabilizing capacitor C2 are grounded, the other end of a voltage stabilizing diode D2 is connected with a port No. 1 of a DC24V and a terminal P2, a port No. 2 of a terminal P2 is grounded, the other end of a resistor R1 is connected with an EN port and one end of a resistor R6, the other end of a resistor R6 is grounded, a FREQ port is connected with one end of a resistor R7, the other end of a resistor R7 is grounded, a BST port is connected with one end of a capacitor C1, the other end of a capacitor C1 is connected with an SW port, one end of a voltage stabilizing diode D1, one end of a reactance L1, the other end of a voltage stabilizing;
the FB port is connected with one end of a resistor R4 and one end of a resistor R5, the other end of a resistor R4 is connected with the other ends of VCC and a capacitor C8, the other end of a resistor R5 is connected with the other end of a capacitor C8, the other end of the capacitor C8 is grounded, the other end of COMP is connected with one end of a capacitor C10, the other end of a capacitor C10 is connected with one end of a resistor R8, and the other end of a resistor;
in the download interface, VDD port in JTAG is connected with 3V3, TRST port is connected with JTRST, TDI port is connected with JTDI, TMS/SWDIO port is connected with JTMS, TCK/SWCLK port is connected with JTCK, TDO/SWO port is connected with JTDO, and RESET # port is connected with RESET.
In the buzzer circuit, the base of a triode Q1 is connected with one end of a resistor R29, the emitter of a triode Q1 is connected with one end of an SPK1, the other end of the SPK1 is connected with a resistor R27, the other end of a resistor R27 is connected with VCC, and the collector of the triode Q1 is grounded.
In the RS485 communication circuit, a U4 terminal RO port is connected with RX3, a DI port is connected with TX3, a RE port and DE are connected with PC6, a B port is connected with one end of a resistor R26, a P5 terminal No. 1 port, a P5 terminal No. 2 port is connected with the ground, and a 3 terminal is connected with the other end of a resistor R26 and an A port.
In a U3 terminal, a TXD port is connected with a CANTX, a VCC port is connected with a VCC, one end of a capacitor C13, the other end of a capacitor C13 is grounded, a RXD port is connected with a CAN RX, an RS port is connected with one end of a resistor JP1, the other end of the resistor JP1 is grounded, a CANH port is connected with one end of a resistor R9, the other end of the resistor R9 is connected with one end of a TVS1, one end of a resistor R10, one end of a capacitor C11, a port 1 of a P4 terminal, the other end of the capacitor C11 is grounded, a port 2 of the P4 terminal is connected with the other end of a resistor R12, the other end of a resistor R10, one end of a capacitor C14, the other end of a resistor R12 is connected with a CANL port, the other end of the capacitor C14 is grounded.
In the key circuit, the PCO is grounded through the key K1, the PC1 is grounded through the key K2, and the PC2 is grounded through the key K3.
The utility model has the advantages that:
the invention can be applied to different occasions, such as an intelligent home data acquisition system, a multi-channel data acquisition network transmission system, a fire-fighting water pressure detection system, a machine fault detection system and the like, which relate to sensor acquisition and network transmission.
The product has high circuit design integration density and small volume, realizes functions by using an optimized design and a chip with high cost performance, and has low cost.
The hardware reliability design of the system can ensure the stable and reliable performance of the whole system. The signal module of any open RS485 serial port and CAN interface communication protocol CAN be adapted to realize the acquisition and network transmission of different signals.
Drawings
FIG. 1 is a schematic diagram of a USB-to-serial port circuit structure of the present invention;
fig. 2(a) -2 (b) are circuit diagrams of the power supply portion;
FIG. 3 is a program download circuit;
FIG. 4 is a buzzer circuit;
FIG. 5 is an RS485 communication circuit;
FIG. 6 is a CAN communication circuit;
FIG. 7 is a key circuit;
fig. 8(a) -8 (b) are schematic diagrams of the master core circuit.
In the figure: 1-a main control core, 2-a USB (universal serial bus) to serial port, 3-a power supply part, 4-a download interface, 5-a buzzer, 6-an RS485 communication interface, a 7-CAN communication circuit and an 8-key circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention are clearly and completely described below, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
As shown in fig. 1, the utility model discloses a general thing networking collection platform hardware circuit, change serial ports 2, power part 3, download interface 4, bee calling organ 5, RS485 communication interface 6, CAN communication circuit 7, key circuit 8, master control core 1 including USB.
The USB-to-serial port 2 circuit mainly realizes data communication between the USB and the circuit, is realized by the USB-to-serial port 2, can control and feed back data of a system, and can also update and upgrade the system.
As shown in the POWER supply part 3 in the figures 2(a) and 2(b), external POWER supply is realized through a POWER1 POWER interface, DC-DC voltage reduction to VCC 5V output is realized through a U2MP1584 chip, and voltage stabilization to 3.3V is realized through a P1AMS1117-3.3 chip for supplying POWER to an STM32 POWER supply by 5 VVCC.
The power supply part 3 mainly realizes the conversion of DC-DC power supply voltage through a U2(MP1584 chip), the input voltage can be 6-12V, 5V is output to supply power for peripheral circuits, and the power is stabilized to 3.3V through a P1(AMS1117) and supplied with power by the main control core 1.
As shown in FIG. 3, the download interface 4 is JTAG standard interface, and is connected to IDC20 interface through JTRST JTDI JTMSJTCK JTDO RESET pin leading out STM32 chip. The download interface 4 mainly implements debugging and downloading of programs through JTAG, which is a standard download interface.
As shown in fig. 4, the buzzer 5 is a PC3 pin of an STM32 single chip microcomputer to output and control a circuit of the buzzer 5 to realize sound generation of the buzzer. The buzzer 5 part circuit mainly realizes the generation of prompting sounds of operations such as key operation sound prompt, network connection and the like.
As shown in fig. 5, the RS485 communication circuit 6 is mainly implemented by U4(MAX485 chip) in combination with peripheral circuits, and the data communication is implemented by a serial port of the STM32 master control core 1.
As shown in fig. 6, the CAN communication circuit 7 mainly uses a CAN communication protocol inside a U3(CAN communication chip) set STM32 single chip microcomputer to realize data communication with an external CAN device.
As shown in fig. 7, the key circuit 8 implements operations of some functions through keys connected to ports of the PC0, PC1, and PC2 of the STM32, and implements identification and control of the keys through control.
As shown in fig. 8(a) -8 (b), the master core 1 is implemented by using STM32F103RET6, and a minimum core system of the master is implemented by combining some peripheral circuits. The 8M external crystal oscillator is adopted to realize key reset through K4, and the LED1 and the LED2 are functions for realizing some indications.
Examples
According to the invention, STM32 is used as a main control core 1, and MAX485 and TJA1050CAN communication chips are combined to realize external expansion of the sensor module, and the sensor module CAN be connected with a main control board as long as the sensor module conforms to an RS485 protocol or a CAN communication protocol, so that data acquisition and communication transmission of various sensors to a server are achieved. The difference between the communication of the sensor and the general sensor is that the sensors of various different manufacturers and different protocols can be gathered together by expansion and can be used. The method has the advantages that if the control protocols of the sensor interfaces of different manufacturers are different, the read-write control and conversion of the original protocol CAN be realized as long as the MAX485 or CAN interface is provided, so that the compatibility of various types of sensors is realized
The USB-to-serial port 2 circuit is characterized in that in a USB-B (Min) terminal, a VCC port is connected with VUSB, a D-port is connected with UD-, a D + port is connected with UD +, a GND port is grounded, in a CH340G chip, a GND port is grounded, a TXD port is connected with RX2, an RXD port is connected with TX2, a V3 port is connected with 3V3, a UD + port is connected with +, a UD-DU port is connected with one end of a crystal oscillator Y UD 2, one end of a capacitor C5, the other end of a capacitor C5 is connected with one end of the capacitor C9 and grounded, the other end of a capacitor C9 is connected with the other end of the crystal oscillator Y2 and the XO port, the VCC port is connected with 3V3, an RS232 port is connected with RS232, a CTS # port is connected with RTS, a DTR # port is connected with DTR, a DCD # port is connected with DCD, a CTS # port.
In the circuit of the power supply part 3, a VIN port in a P1 terminal is connected with VCC, one end of a capacitor C4, the other end of a capacitor C4 is connected with one end of a capacitor C6, one end of a capacitor C7, a GND port and the ground, a VOUT port is connected with the other end of a capacitor C6, the other end of a capacitor C7 and a diode PLED2, the other end of a diode PLED2 is connected with one end of a resistor R3, and the other end of a resistor R3 is grounded;
in a U2 terminal, a VIN port is connected with one end of a voltage stabilizing diode D2, one end of a resistor R1, one end of a capacitor C24, one end of a voltage stabilizing capacitor C2, the other end of a capacitor C24, the other end of a voltage stabilizing capacitor C2 are grounded, the other end of a voltage stabilizing diode D2 is connected with a port No. 1 of a DC24V and a terminal P2, a port No. 2 of a terminal P2 is grounded, the other end of a resistor R1 is connected with an EN port and one end of a resistor R6, the other end of a resistor R6 is grounded, a FREQ port is connected with one end of a resistor R7, the other end of a resistor R7 is grounded, a BST port is connected with one end of a capacitor C1, the other end of a capacitor C1 is connected with an SW port, one end of a voltage stabilizing diode D1, one end of a reactance L1, the other end of a voltage stabilizing;
the FB port is connected with one end of a resistor R4 and one end of a resistor R5, the other end of a resistor R4 is connected with the other ends of VCC and a capacitor C8, the other end of a resistor R5 is connected with the other end of a capacitor C8, the other end of the capacitor C8 is grounded, the other end of COMP is connected with one end of a capacitor C10, the other end of a capacitor C10 is connected with one end of a resistor R8, and the other end of a resistor;
in the download interface 4, the VDD port in JTAG is connected to 3V3, the TRST port is connected to JTRST, the TDI port is connected to JTDI, the TMS/SWDIO port is connected to JTMS, the TCK/SWCLK port is connected to JTCK, the TDO/SWO port is connected to JTDO, and the RESET # port is connected to RESET.
In the circuit of the buzzer 5, the base of a triode Q1 is connected with one end of a resistor R29, the emitter of a triode Q1 is connected with one end of an SPK1, the other end of the SPK1 is connected with a resistor R27, the other end of a resistor R27 is connected with VCC, and the collector of the triode Q1 is grounded.
In the RS485 communication circuit 6, a U4 terminal RO port is connected with RX3, a DI port is connected with TX3, an RE port and DE are connected with PC6, a B port is connected with one end of a resistor R26, a P5 terminal No. 1 port, a P5 terminal No. 2 port is connected with ground, and a 3 terminal is connected with the other end of a resistor R26 and an A port.
In the CAN communication circuit 7, in the U3 terminal, a TXD port is connected with a CANTX, a VCC port is connected with a VCC, one end of a capacitor C13, the other end of a capacitor C13 is grounded, a RXD port is connected with a CAN RX, an RS port is connected with one end of a resistor JP1, the other end of a resistor JP1 is grounded, a CANH port is connected with one end of a resistor R9, the other end of the resistor R9 is connected with one end of a TVS1, one end of a resistor R10, one end of a capacitor C11, a No. 1 port of the P4 terminal, the other end of the capacitor C11 is grounded, a No. 2 port of the P4 terminal is connected with the other end of a resistor R12, the other end of a resistor R10, one end of a capacitor C14, the other end of a resistor R12 is connected with a CANL port, the other.
In the key circuit 8, the PCO is grounded through the key K1, the PC1 is grounded through the key K2, and the PC2 is grounded through the key K3.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention in its corresponding aspects.

Claims (1)

1. A hardware circuit of a universal Internet of things information acquisition platform comprises a USB (Universal Serial bus) to serial port, a power supply part, a downloading interface, a buzzer, an RS485 communication interface, a CAN (controller area network) communication circuit, a key circuit and a master control core;
the USB transfer serial port is connected with the TXD and the RXD of a USB transfer serial port CH340G chip through RX2 and TX2 pins of an STM32F103 singlechip;
the POWER supply part realizes external POWER supply through a POWER1 POWER interface, the DC-DC voltage reduction to VCC 5V output is realized through a U2MP1584 chip, and the VCC 5V output realizes voltage stabilization to 3.3V through a P1AMS1117-3.3 chip to supply POWER to an STM32 POWER supply;
the download interface is a JTAG standard interface and is connected to an IDC20 interface through a JTRST JTDI JTMS JTCK JTDO RESET pin leading out of an STM32 chip;
the buzzer is formed by outputting and controlling a buzzer circuit to realize the sound generation of the buzzer through a PC3 pin of an STM32 singlechip;
the RS485 communication interface is realized by combining a U4 MAX485 chip with a peripheral circuit, and the data communication is realized through a serial port of an STM32 main control core;
the CAN communication circuit adopts a CAN communication protocol inside a U3 CAN communication chip set STM32 singlechip to realize data communication with external CAN equipment;
the keys are connected to ports of PC0, PC1 and PC2 of the STM32, and identification and control of the keys are realized through control;
the main control core is realized by adopting STM32F103RET6, 8M external crystal oscillator is adopted, key reset is realized through K4, and the LED1 and the LED2 realize the indicating function.
CN201921299064.0U 2019-08-12 2019-08-12 General thing networking information acquisition platform hardware circuit Expired - Fee Related CN209982510U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921299064.0U CN209982510U (en) 2019-08-12 2019-08-12 General thing networking information acquisition platform hardware circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921299064.0U CN209982510U (en) 2019-08-12 2019-08-12 General thing networking information acquisition platform hardware circuit

Publications (1)

Publication Number Publication Date
CN209982510U true CN209982510U (en) 2020-01-21

Family

ID=69251562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921299064.0U Expired - Fee Related CN209982510U (en) 2019-08-12 2019-08-12 General thing networking information acquisition platform hardware circuit

Country Status (1)

Country Link
CN (1) CN209982510U (en)

Similar Documents

Publication Publication Date Title
CN101276488B (en) Vehicular recording instrument capable of implementing intelligent CAN bus communication
CN106453383A (en) UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN103136138A (en) Chip, chip debugging method and communication method for chip and external devices
CN102801818B (en) Universal sensor interface acquisition system based on ZigBee technology
CN108647180B (en) Operation system and corresponding electronic equipment
CN108111382A (en) Communicator and its communication means based on I3C buses
CN209982510U (en) General thing networking information acquisition platform hardware circuit
CN103246223A (en) Zigbee-based sensing measurement and control system
CN106584862B (en) A kind of the 3D printing WIFI control system and its control method of built-in Web service
CN203250340U (en) Remote driving data recorder
CN208094574U (en) A kind of interface convertor of usb bus and high-speed CAN bus
CN101847041B (en) Computer system
CN212875831U (en) Vehicle-mounted intelligent gateway
CN210781377U (en) LoRaWAN thing networking gateway based on LBT
CN210428129U (en) Management device for external equipment of department mark
CN111405383B (en) KR920-923MHz LoRaWAN Internet of things gateway based on LBT
CN209170408U (en) Transparent transmission telecommunication circuit applied to intelligent transparent transmission communication equipment
CN207835500U (en) A kind of detecting system monitoring communication module based on cloud
CN213365040U (en) Position data acquisition and transmission device
CN220041216U (en) Water meter data acquisition device based on Bluetooth SOC
CN201749552U (en) Wireless electric power data transmission terminal device
CN206480870U (en) Connector
CN220108003U (en) Power supply circuit, main station circuit and communication system of BUS BUS
CN210605403U (en) Intelligent host supporting multiple communication modes
CN110047550A (en) data storage device, memory control circuit and monitoring method thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200121

Termination date: 20200812