CN210225417U - Bluetooth serial port debugger - Google Patents

Bluetooth serial port debugger Download PDF

Info

Publication number
CN210225417U
CN210225417U CN201921521347.5U CN201921521347U CN210225417U CN 210225417 U CN210225417 U CN 210225417U CN 201921521347 U CN201921521347 U CN 201921521347U CN 210225417 U CN210225417 U CN 210225417U
Authority
CN
China
Prior art keywords
serial port
module
bluetooth
output module
serial ports
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
CN201921521347.5U
Other languages
Chinese (zh)
Inventor
Demin Qiu
邱德敏
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.)
Wuxi Haiying Engineering Equipment Co Ltd
Original Assignee
Wuxi Haiying Engineering Equipment 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 Wuxi Haiying Engineering Equipment Co Ltd filed Critical Wuxi Haiying Engineering Equipment Co Ltd
Priority to CN201921521347.5U priority Critical patent/CN210225417U/en
Application granted granted Critical
Publication of CN210225417U publication Critical patent/CN210225417U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The utility model discloses a bluetooth serial ports debugger, which comprises an outer shell, and set up the bluetooth serial ports primary module in the shell, bluetooth serial ports submodule, first serial ports output module, second serial ports output module, master switch K1-1, auxiliary switch K1-2, the module of charging, bluetooth serial ports primary module is used for the serial ports communication, bluetooth serial ports secondary module is used for the AT parameter of inquiry or modification bluetooth serial ports primary module, the module of charging is used for being bluetooth serial ports primary module, bluetooth serial ports secondary module, first serial ports output module, the power supply of second serial ports output module. The utility model discloses a precious technique of charging and the mode that bluetooth serial port module, serial ports output module combined together can be for two bluetooth serial ports module, two serial ports output module power supplies, and two tunnel USB interface outputs in addition simultaneously can be given cell-phone or other equipment power supplies, directly uses the cell-phone operation, saves notebook computer, has advantages such as with low costs, small, low power dissipation, receiving and dispatching sensitivity.

Description

Bluetooth serial port debugger
Technical Field
The utility model belongs to the technical field of the communication, concretely relates to bluetooth serial ports debugger.
Background
In the prior art, industrial control devices such as intelligent instruments, internet of things terminals, frequency converters, PLCs, sensors, transmitters, newton modules, and stepper motor drivers are generally configured with serial ports as main debugging, checking, diagnosing, and monitoring means. At present, the common equipment debugs the running equipment through a wired serial port and monitors the state of the equipment. In a general mode, a USB serial-to-serial port line is connected to a device and a notebook computer, and monitoring data of a device host is obtained and other operations are performed through serial port debugging assistant software installed on the notebook computer.
Therefore, a portable and portable bluetooth serial port debugger which dispenses with a notebook computer is urgently needed.
SUMMERY OF THE UTILITY MODEL
For solving the defect that prior art exists, the utility model provides a bluetooth serial ports debugger.
In order to solve the technical problem, the utility model provides a following technical scheme:
the utility model provides a bluetooth serial ports debugger, including the shell and set up bluetooth serial ports primary module, bluetooth serial ports secondary module, first serial ports output module, second serial ports output module, master switch K1-1, secondary switch K1-2, the module of charging in the shell, bluetooth serial ports primary module is used for serial ports communication and its and first serial ports output module, second serial ports output module communication to be connected, bluetooth serial ports secondary module is used for inquiring or revises the AT parameter of bluetooth serial ports primary module and its and bluetooth serial ports primary module communication connection, the module of charging is used for supplying power for bluetooth serial ports primary module, bluetooth serial ports secondary module, first serial ports output module, second serial ports output module.
As an optimized technical proposal of the utility model, the VCC end of the main module of the Bluetooth serial port is electrically connected with 1 pin and 3 pins of a main switch K1-1, the VCC end of a first serial port output module and the VCC end of a second serial port output module are electrically connected with 3 pins of a secondary switch K1-2, 2 pins of a main switch K1-1 and 2 pins of a secondary switch K1-2 are electrically connected with the +5V output end of a charging module, the GND end of the main module of the Bluetooth serial port, the GND end of the secondary module of the Bluetooth serial port, the GND end of the first serial port output module and the GND end of the second serial port output module are grounded, the VCC end of the secondary module of the Bluetooth serial port is electrically connected with 1 pin of the secondary switch K1-2, the RXD end of the main module of the Bluetooth serial port and the RXD end of the secondary module of the Bluetooth serial port are electrically connected with the RXD end of the first serial port output module and, the RXD end of the Bluetooth serial port main module and the TXD end of the Bluetooth serial port secondary module are electrically connected with the TXD end of the first serial port output module and the TXD end of the second serial port output module.
As an optimized technical scheme of the utility model, the inside communication parameter of the vice module of bluetooth serial ports is that baud rate 38400, and 8 bits of data bit stop 1 bit, no check bit, no flow control.
As a preferred technical scheme of the utility model, first serial ports output module is RS485 serial ports output module, and second serial ports output module is RS232 serial ports output module.
As an optimized technical solution of the present invention, the charging module adopts huazhimei HM5929 as a power management chip.
As a preferred technical scheme of the utility model, main switch K1-1, auxiliary switch K1-2 are double-pole triple-throw panel toggle switch, and main switch K1-1, auxiliary switch K1-2 are dialled and are AT position when 1 foot, and main switch K1-1, auxiliary switch K1-2 are dialled and are closed position when 2 feet, and main switch K1-1, auxiliary switch K1-2 are dialled and are communication position when 3 feet.
The utility model has the advantages that: the utility model discloses a precious technique and bluetooth serial port module charge, the mode that serial ports output module combined together, can be two bluetooth serial port modules, two serial ports output module power supplies, two tunnel USB interface outputs in addition simultaneously, can supply power for cell-phone or other equipment, bluetooth serial ports primary module is used for the serial ports communication, bluetooth serial ports secondary module is used for the AT parameter of inquiry or modification bluetooth serial ports primary module, directly use the cell-phone operation, save notebook computer, have with low costs, small, the low power consumption, advantages such as receiving and dispatching sensitivity.
Drawings
Fig. 1 is the utility model relates to a circuit schematic diagram of bluetooth serial ports debugger.
Fig. 2 is the utility model relates to an appearance structure schematic diagram of bluetooth serial ports debugger.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are presented herein only to illustrate and explain the present invention, and not to limit the present invention.
In order to achieve the purpose of the utility model, as shown in fig. 1 to fig. 2, the utility model discloses a one of them embodiment provides a bluetooth serial ports debugger, including the shell and set up bluetooth serial ports main module, bluetooth serial ports submodule, first serial ports output module, second serial ports output module, master switch K1-1, auxiliary switch K1-2, the module of charging in the shell, bluetooth serial ports main module is used for serial ports communication and its and first serial ports output module, second serial ports output module communication connection, bluetooth serial ports auxiliary module is used for inquiring or revises the AT parameter of bluetooth serial ports main module and its and bluetooth serial ports main module communication connection, the module of charging is used for supplying power for bluetooth serial ports main module, bluetooth serial ports auxiliary module, first serial ports output module, second serial ports output module.
Specifically, the Bluetooth serial port main module and the Bluetooth serial port secondary module adopt British CSR company BlueCore4-Ext chips and conform to V2.0+ EDR Bluetooth specifications. A PCB radio frequency antenna is arranged in the antenna, and an 8Mbit Flash ROM is arranged in the antenna. And the USB Bluetooth USB wireless phone supports an SPP Bluetooth serial port protocol, supports interfaces such as UART, USB, SPI and the like, and is powered by a UART interface and a 5V power supply.
Specifically, the VCC end of the bluetooth serial port main module is electrically connected with pins 1 and 3 of a main switch K1-1, the VCC end of the first serial port output module and the VCC end of the second serial port output module are electrically connected with pin 3 of a secondary switch K1-2, pin 2 of the main switch K1-1 and pin 2 of the secondary switch K1-2 are electrically connected with the +5V output end of the charging module, the GND end of the bluetooth serial port main module, the GND end of the bluetooth serial port secondary module, the GND end of the first serial port output module and the GND end of the second serial port output module are grounded, the VCC end of the bluetooth serial port secondary module is electrically connected with pin 1 of the secondary switch K1-2, the TXD end of the bluetooth serial port main module and the RXD end of the bluetooth serial port secondary module are electrically connected with the RXD end of the first serial port output module and the RXD end of the second serial port output module, the RXD end of the serial port main module, And the TXD end of the Bluetooth serial port auxiliary module is electrically connected with the TXD end of the first serial port output module and the TXD end of the second serial port output module.
Specifically, the internal communication parameters of the bluetooth serial port sub-module are a baud rate 38400, a data bit 8, a stop bit 1, no check bit, and no flow control.
Specifically, the first serial port output module is an RS485 serial port output module, and the second serial port output module is an RS232 serial port output module.
Specifically, the charging module adopts huazhimei HM5929 as a power management chip.
Specifically, the main switch K1-1 and the auxiliary switch K1-2 are double-pole triple-throw panel button switches, the main switch K1-1 and the auxiliary switch K1-2 are AT positions when being pulled to a foot 1, the main switch K1-1 and the auxiliary switch K1-2 are off positions when being pulled to a foot 2, and the main switch K1-1 and the auxiliary switch K1-2 are communication positions when being pulled to a foot 3.
This embodiment adopts the precious technique of charging and bluetooth serial port module, the mode that serial port output module combined together, can be for two bluetooth serial port modules, two serial port output module power supplies, two way USB interface outputs simultaneously, can supply power for cell-phone or other equipment, bluetooth serial port primary module is used for serial communication, bluetooth serial port secondary module is used for inquiring or revises the AT parameter of bluetooth serial port primary module, directly use the cell-phone operation, save notebook computer, have with low costs, small, the low power dissipation, receive and dispatch advantage such as sensitive.
Wherein, bluetooth serial port module's common AT instruction is as follows:
1. and (3) testing instructions:
instructions Response to Parameter(s)
AT OK Is free of
2. Module reset (restart) instruction:
instructions Response to Parameter(s)
AT+RESET OK Is free of
3. And acquiring a software version number instruction:
Figure BDA0002201096670000051
4. and (5) restoring a default state instruction:
instructions Response to Parameter(s)
AT+ORGL OK Is free of
Wherein, the default state of factory:
the device class is as follows: 0
And (3) inquiring codes: 0x009e8b3c
Module work role: slave Mode
Connection mode: connection mode of specified special Bluetooth device
Serial port parameters:
baud rate: 38400; stopping the position: 1 position; checking the bit: is free of
Matching codes: "1234"
The device name: "BLUE MASTER"
5. Obtaining a module Bluetooth address instruction:
Figure BDA0002201096670000061
6. set/query device name instruction:
Figure BDA0002201096670000062
Figure BDA0002201096670000071
7. set/query-pairing code instruction:
Figure BDA0002201096670000072
8. setting/inquiring-serial port parameter instruction:
Figure BDA0002201096670000073
baud rate: 4800, 9600, 19200, 23400, 38400, 57600, 115200, 460800, 921600, 1382400
Param 2: stop position
0-1 position
1-2 position
Param 3: check bit
0——None
1——Odd
2——Even
Default setting: 9600,0,0
The working principle of the present invention is further explained as follows:
(1) the AT parameter modification working process of the Bluetooth serial port main module comprises the following steps:
the AT command switch K2 is dialed to the ON position, then the mode switch is dialed to the AT position, the AT lamp flashes slowly (once in 2S), the Bluetooth serial port main module is in the AT state, the Bluetooth serial port secondary module is in the Bluetooth communication state, the main serial port output module and the secondary serial port output module do not work when power is lost, the AT parameters in the Bluetooth serial port main module can be inquired or modified, the communication parameters are modified commonly, and the communication parameter setting is consistent with the communication parameters of the debugged serial port equipment.
The method comprises the following steps of running mobile phone APP software (such as Bluetooth serial port assistant Pro), scanning Bluetooth equipment, finding a Bluetooth serial port secondary module (equipment name BLUE SLAVE), pairing a password: 1234, after the connection is successful, AT parameters inside the main module of the bluetooth serial port can be queried or modified by using a keyboard mode or a command line mode. The machine is characterized in that: the AT parameters of the Bluetooth serial port module are changed by a mobile phone without a communication cable. Different from the market products, the market products can be completed only by using a notebook computer or a desktop computer, a communication line and software (such as a serial port debugging assistant).
(2) The serial port communication working process of the main module of the Bluetooth serial port comprises the following steps:
dial AT command switch K2 to the OFF position, then dial mode switch to the communication position, AT lamp flash of light (1S twice), AT this moment the bluetooth serial ports primary module is in bluetooth communication state, and the bluetooth serial ports submodule does not work without electricity, and first serial ports output module or second serial ports output module get electric work. At this time, the RS232 serial port output module or the RS485 serial port output module can be selected to be connected with the debugged serial port equipment through a serial port line. When the RS232 serial port output module is used, a DB9 male-female head converter or a DB 92 and 3 pin cross converter can be selected according to actual conditions.
The method comprises the following steps of running mobile phone APP software (such as Bluetooth serial port assistant Pro), scanning Bluetooth equipment, finding a Bluetooth serial port main module (equipment name BLUE MASTER), pairing a password: 1234, after the connection is successful, the serial device command code (message) to be debugged may be input in a keyboard mode or a command line mode, which may be in a Hexadecimal (HEX) mode or an ASCII mode. After the command is sent, the return code of the debugged serial port equipment can be seen in the mobile phone screen data receiving area.
Through the operation, the intelligent instrument, the Internet of things terminal, the frequency converter, the PLC, the sensor, the transmitter, the Newton module, the stepping motor driver and other serial devices can be checked or debugged, and problems can be found, faults can be eliminated or internal parameters of the serial devices can be set in time.
(3) Precious working process charges, includes the following step:
and the mode switch is dialed to a closed position, and the Bluetooth serial port main module, the Bluetooth serial port secondary module, the main serial port output module and the secondary serial port output module are all dead and do not work. HM5929 external power supply button (SW1), the button duration is longer than 30ms, but less than 2s is the short press action, and the short press will turn on the power display lamp and USB port output. The key duration is longer than 2s, namely the long-time pressing action is realized, and the long-time pressing can turn on or turn off the lighting LED lamp. The short keys are continuously pressed twice within 1s, so that the USB port output, the electric quantity display and the lighting LED lamp can be turned off. The power supply of the two Bluetooth serial port modules and the two serial port output modules is controlled by a power supply key (SW1), and the power supply of each module can be turned off. The machine adopts a 5V power adapter to charge from a Micro USB port.
HM5929 is a multifunctional power management chip that integrates boost converter, lithium battery charge management, battery power instruction, provides complete power solution for portable power sources. Adopt 2.4A synchronous boost conversion output, 3A synchronous switch charges, and boost efficiency is up to 96%, and charge efficiency is up to 97%, supports the limit to fill and put, the charging voltage precision: plus or minus 0.5 percent. The power display of 5/4/3 LEDs (4 LEDs are adopted in the machine) is supported, and a driving circuit of an illuminating lamp is arranged in the machine. The mobile phone is automatically detected to be inserted and pulled out, the load is intelligently identified, the mobile phone automatically enters a dormant state when in no load, and the quiescent current is reduced to 50 uA. The power MOS tube is internally arranged, the charging and discharging are realized by a single inductor, and only few peripheral devices are needed. The HM5929 has output overcurrent, overvoltage, short circuit protection, input overvoltage, overcharge, and overdischarge protection. The portable power source is mainly applied to portable equipment such as a mobile power source, a charger baby, a mobile phone and a tablet personal computer. The HM5929 will automatically adjust the magnitude of the charging current to accommodate adapters of different load capabilities, ensuring that the adapter is not damaged.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing embodiments, or equivalents may be substituted for elements thereof. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. The Bluetooth serial port debugger is characterized by comprising a shell, a Bluetooth serial port main module, a Bluetooth serial port secondary module, a first serial port output module, a second serial port output module, a main switch K1-1, a secondary switch K1-2 and a charging module, wherein the Bluetooth serial port main module, the Bluetooth serial port secondary module, the first serial port output module and the second serial port output module are arranged in the shell, the Bluetooth serial port main module is used for serial port communication and is in communication connection with the first serial port output module and the second serial port output module, the Bluetooth serial port secondary module is used for inquiring or modifying AT parameters of the Bluetooth serial port main module and is in communication connection with the Bluetooth serial port main module, and the charging module is used for supplying power to the Bluetooth serial port main module, the Bluetooth serial port secondary module.
2. The Bluetooth serial port debugger according to claim 1, wherein the VCC end of the Bluetooth serial port main module is electrically connected to pins 1 and 3 of a main switch K1-1, the VCC end of the first serial port output module and the VCC end of the second serial port output module are electrically connected to pin 3 of a secondary switch K1-2, pin 2 of the main switch K1-1 and pin 2 of the secondary switch K1-2 are electrically connected to the +5V output terminal of the charging module, the GND end of the Bluetooth serial port main module, the GND end of the Bluetooth serial port secondary module, the GND end of the first serial port output module and the GND end of the second serial port output module are grounded, the VCC end of the Bluetooth serial port secondary module is electrically connected to pin 1 of the secondary switch K1-2, the TXD end of the Bluetooth serial port main module and the RXD end of the Bluetooth serial port secondary module are electrically connected to the RXD end of the first serial port output module and the RXD end of the second serial port output module, the RXD end of the Bluetooth serial port main module and the TXD end of the Bluetooth serial port secondary module are electrically connected with the TXD end of the first serial port output module and the TXD end of the second serial port output module.
3. The bluetooth serial port debugger of claim 2, wherein the internal communication parameters of the bluetooth serial port sub-module are a baud rate 38400, 8 bits of data, 1 bit of stop bit, no check bit, and no flow control.
4. The bluetooth serial port debugger of claim 2, wherein the first serial port output module is an RS485 serial port output module, and the second serial port output module is an RS232 serial port output module.
5. The bluetooth serial port debugger of claim 2, wherein the charging module employs wakemei HM5929 as a power management chip.
6. The Bluetooth serial port debugger according to claim 2, wherein the main switch K1-1 and the auxiliary switch K1-2 are double-pole triple-throw panel toggle switches, the main switch K1-1 and the auxiliary switch K1-2 are turned to AT position when 1 pin, the main switch K1-1 and the auxiliary switch K1-2 are turned to OFF position when 2 pins, and the main switch K1-1 and the auxiliary switch K1-2 are turned to communication position when 3 pins.
CN201921521347.5U 2019-09-12 2019-09-12 Bluetooth serial port debugger Active CN210225417U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921521347.5U CN210225417U (en) 2019-09-12 2019-09-12 Bluetooth serial port debugger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921521347.5U CN210225417U (en) 2019-09-12 2019-09-12 Bluetooth serial port debugger

Publications (1)

Publication Number Publication Date
CN210225417U true CN210225417U (en) 2020-03-31

Family

ID=69920365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921521347.5U Active CN210225417U (en) 2019-09-12 2019-09-12 Bluetooth serial port debugger

Country Status (1)

Country Link
CN (1) CN210225417U (en)

Similar Documents

Publication Publication Date Title
US20060035621A1 (en) Measurement device with modular communication interface
CN112764293A (en) Color correction detection device and color correction system of external flash lamp
CN111756086B (en) Power bridging device and bridging method using mobile robot battery
EP2397924A1 (en) Bidirectional wireless electrical energy monitoring system
CN210225417U (en) Bluetooth serial port debugger
CN112002113A (en) Intelligent remote control system and method based on NB-IoT network
CN106255052A (en) A kind of low-power consumption modularization intelligent sensor-based system and method
CN105526967A (en) Measuring equipment and system based on intelligent terminal
CN205826719U (en) Bluetooth power communication photometer head
CN112650708A (en) All-in-one intelligent chip
CN211930312U (en) Sharing charger based on bluetooth
CN213814668U (en) All-in-one intelligent chip
CN213179683U (en) Electronic detonator initiator
CN210904661U (en) Ear acupoint stimulation device and system
CN114552740A (en) Plug-and-play intelligent switching system and control method thereof
CN108682595B (en) Relay setting system and communication device for relay
CN109754586B (en) Unloading setting device
CN108933062B (en) Relay setting system and intelligent relay
CN206154317U (en) Open -ended modularization education robot control system
CN211016451U (en) Wireless control rechargeable O L ED display device
CN212339568U (en) WiFi controller and air conditioner
CN217241005U (en) Intelligent lighting system debugging device integrating wireless and wired communication
CN219019079U (en) Desk lamp circuit
CN211792052U (en) Handheld wireless device number distributor
CN210744828U (en) Communication device and remote operation and maintenance system of power distribution terminal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant