CN203250164U - BCD code conversion device - Google Patents
BCD code conversion device Download PDFInfo
- Publication number
- CN203250164U CN203250164U CN 201220708866 CN201220708866U CN203250164U CN 203250164 U CN203250164 U CN 203250164U CN 201220708866 CN201220708866 CN 201220708866 CN 201220708866 U CN201220708866 U CN 201220708866U CN 203250164 U CN203250164 U CN 203250164U
- Authority
- CN
- China
- Prior art keywords
- module
- chip microcomputer
- data
- bcd
- control module
- 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
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model discloses a BCD code conversion device. The BCD code conversion device comprises a BCD interface module connected to a BCD interface of a detection instrument, a data gating module connected to the BCD interface module, a one-chip microcomputer master control module connected to the data gating module, a RS232 output module connected to the one-chip microcomputer master control module, a USB output module and a power supply module. The BCD interface module is used for receiving detection data of the detection instrument, the data gating module is used for gating a corresponding BCD interface and carrying out data transmission, the one-chip microcomputer master control module is used for receiving, converting and outputting data transmitted by the data gating module, the RS232 output module and the USB output module are connected to an upper computer and send acquired BCD code information to the upper computer, and the power supply module is used for supplying a +5V constant voltage to the one-chip microcomputer master control module. The BCD code conversion device is advantaged in that the device is convenient to design and operate, and is reliable in performance, low in cost and the like.
Description
Technical field
The utility model relates to a kind of conversion equipment of data, particularly a kind of binary-coded decimal conversion equipment.
Background technology
In realizing process of the present utility model, the inventor finds that there are the following problems at least in the prior art: industrial automatic control has become industrial development trend at present, the detection information of all kinds of detecting instrument instrument need to be in time obtained in robotization control (generally adopting industrial computer is main frame), in order in time adjust production procedure.Existing host computer does not possess the BCD interface, with the main communication modes of measuring instrument be Ethernet and serial ports; Usually in this case, adopt the PLC communication module to realize the communication of instrument and industrial computer, but this can increase volume and the cost of system greatly.
The utility model content
The purpose of this utility model is to provide a kind of design operation convenience, dependable performance, binary-coded decimal conversion equipment with low cost.
For achieving the above object, the technical scheme that the utility model provides is:
A kind of binary-coded decimal conversion equipment comprises BCD interface module, the data strobe module that connects described BCD interface module that is connected with the BCD interface of measuring instrument, single-chip microcomputer main control module, the RS232 output module that is connected with described single-chip microcomputer main control module and USB output module, the power module that connects described data strobe module;
Wherein:
The BCD interface module is the accurate interfaces of 25 pin marks, is used for receiving the detection data of measuring instrument;
The data strobe module is used for the corresponding BCD interface of gating and carries out data transmission;
The single-chip microcomputer main control module is used for the reception to the data of described data strobe module transmission, the conversion of data and the output of data;
RS232 output module and USB output module are used for receiving the data that described single-chip microcomputer main control module is exported, and connect with host computer, send the binary-coded decimal information of obtaining to host computer;
Power module by three end integrated stable voltage circuits, is used for described single-chip microcomputer main control module is provided+constant voltage of 5V.
Preferably, described BCD interface module also comprises for reducing the divider resistance of the signal voltage of measuring instrument output and whether the signal that is used for showing the BCD interface receives normal status indicator lamp.
Preferably, described data strobe module adopts 74LS373 as the chip of the corresponding BCD interface of gating.
Preferably, described single-chip microcomputer main control module adopts STC89C52RC as central processing unit, and utilizes the minimum system of STC89C52RC expansion single-chip microcomputer; The minimum system of described single-chip microcomputer comprises clock circuit, reset circuit and memory circuit.
A technical scheme in the technique scheme has following advantage or beneficial effect: the binary-coded decimal transmission mode has long transmission distance, antijamming capability is strong and degree of accuracy is high advantage, and the BCD interface also is the main output interface of all types of industries detecting instrument instrument, is complementary with the binary-coded decimal conversion equipment of this technical scheme; This device also has design operation convenience, dependable performance, the advantage such as with low cost.
Description of drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, the below will do simple introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Accompanying drawing 1 is the structured flowchart of the utility model embodiment.
Embodiment
Below by specific embodiment the utility model is further described.
As shown in Figure 1, the binary-coded decimal conversion equipment of present embodiment comprises 4 road BCD interface modules 1, data strobe module 2, single-chip microcomputer main control module 3, RS232 output module 4 and USB output module 5, power module 6; BCD interface module 1 is the accurate interfaces of 25 pin marks, is connected with the BCD interface of measuring instrument, is used for receiving the detection data of measuring instrument; BCD interface module 1 also comprises for reducing the divider resistance of the signal voltage of measuring instrument output and whether the signal that is used for showing the BCD interface receives normal status indicator lamp.Data strobe module 2 is connected with BCD interface module 1, adopts 74LS373 as the chip of gating that data are deposited, and is used for the corresponding BCD interface of gating and carries out data transmission.Single-chip microcomputer main control module 3 connection data gating modules 2 are used for the reception to the data of data gating module 2 transmission, the conversion of data and the output of data; Single-chip microcomputer main control module 3 adopts STC89C52RC as central processing unit, and utilizes the minimum system of STC89C52RC expansion single-chip microcomputer; The minimum system of single-chip microcomputer comprises clock circuit, reset circuit and memory circuit.RS232 output module 4 and USB output module 5 receive the data of single-chip microcomputer main control module 3 outputs, and connect with host computer, send the binary-coded decimal information of obtaining to host computer.Power module 6 by three end integrated stable voltage circuits, is used for single-chip microcomputer main control module 3 is provided+constant voltage of 5V.
This device kernel program is the Micro Controller Unit (MCU) driving program, mainly contains data strobe reception, data-switching and data output.Come gating to read the BCD interface message by the scan round to 4 road BCD interfaces, then by single-chip microcomputer finish data conversion and control data outputting module transmit signal to host computer.Wherein, the data strobe program mainly by the high-low level of single-chip microcomputer P1 mouth interface signal judge should gating the signal of any road BCD interface, reach the effect of data strobe; If 4 road BCD interfaces all have high level signal to return, then 4 the road connect simultaneously.
Used specific embodiment herein principle of the present utility model and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present utility model and core concept thereof.The above only is preferred implementation of the present utility model, should be understood that, because the finiteness of literal expression, and objectively there is unlimited concrete structure, for those skilled in the art, under the prerequisite that does not break away from the utility model principle, can also make some improvement, retouching or variation, also above-mentioned technical characterictic can be made up by rights; These improve retouching, change or combination, or without improving the design of utility model and technical scheme are directly applied to other occasion, all should be considered as protection domain of the present utility model.
Claims (4)
1. a binary-coded decimal conversion equipment is characterized in that: comprise BCD interface module, the data strobe module that connects described BCD interface module that is connected with the BCD interface of measuring instrument, single-chip microcomputer main control module, the RS232 output module that is connected with described single-chip microcomputer main control module and USB output module, the power module that connects described data strobe module;
Wherein:
The BCD interface module is the accurate interfaces of 25 pin marks, is used for receiving the detection data of measuring instrument;
The data strobe module is used for the corresponding BCD interface of gating and carries out data transmission;
The single-chip microcomputer main control module is used for the reception to the data of described data strobe module transmission, the conversion of data and the output of data;
RS232 output module and USB output module are used for receiving the data that described single-chip microcomputer main control module is exported, and connect with host computer, send the binary-coded decimal information of obtaining to host computer;
Power module by three end integrated stable voltage circuits, is used for described single-chip microcomputer main control module is provided+constant voltage of 5V.
2. binary-coded decimal conversion equipment according to claim 1 is characterized in that: described BCD interface module also comprises for reducing the divider resistance of the signal voltage of measuring instrument output and whether the signal that is used for showing the BCD interface receives normal status indicator lamp.
3. binary-coded decimal conversion equipment according to claim 1 is characterized in that: described data strobe module adopts 74LS373 as the chip of the corresponding BCD interface of gating.
4. binary-coded decimal conversion equipment according to claim 1 is characterized in that: described single-chip microcomputer main control module adopts STC89C52RC as central processing unit, and utilizes the minimum system of STC89C52RC expansion single-chip microcomputer; The minimum system of described single-chip microcomputer comprises clock circuit, reset circuit and memory circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220708866 CN203250164U (en) | 2012-12-20 | 2012-12-20 | BCD code conversion device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220708866 CN203250164U (en) | 2012-12-20 | 2012-12-20 | BCD code conversion device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203250164U true CN203250164U (en) | 2013-10-23 |
Family
ID=49376594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220708866 Expired - Fee Related CN203250164U (en) | 2012-12-20 | 2012-12-20 | BCD code conversion device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203250164U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681185A (en) * | 2016-11-24 | 2017-05-17 | 河钢股份有限公司承德分公司 | Data acquisition and access device |
-
2012
- 2012-12-20 CN CN 201220708866 patent/CN203250164U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681185A (en) * | 2016-11-24 | 2017-05-17 | 河钢股份有限公司承德分公司 | Data acquisition and access device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204287315U (en) | Based on the power monitoring system of STM32F103 microcontroller | |
CN201307236Y (en) | Multi-channel serial communication converter and distributed control system employing same | |
CN203250164U (en) | BCD code conversion device | |
CN103440754A (en) | Wireless distribution type network data monitoring system | |
CN104155891B (en) | I<2>C-based networked transmitter and communication implementation method thereof | |
CN205210878U (en) | USB interface converting equipment based on STM32 singlechip | |
CN203250213U (en) | Gas vehicle ECU comprehensive intelligent detection system | |
CN105739384A (en) | Distributed data acquisition device based on microprocessor | |
CN101694995A (en) | Passive RS232-485 signal converter | |
CN204422016U (en) | A kind of intelligent water-level meter | |
CN203196297U (en) | Intelligent control sensor for amusement equipment | |
CN204242168U (en) | A computing blade management module based on RS485 bus | |
CN203025700U (en) | Intelligent HART (Highway Addressable Remote Transducer) converter | |
CN203257471U (en) | Mine environment monitoring system based on single-chip microcomputer | |
CN203672963U (en) | Digital voltmeter based on singlechip | |
CN203502842U (en) | GLCC multiphase flow metering device controller | |
CN202421267U (en) | Digital multimeter based on wifi wireless transmission | |
CN201435072Y (en) | Universal data acquisition unit based on USB interface | |
CN205317398U (en) | Pressure transmitter based on CMC treater | |
CN208187447U (en) | A kind of pipeline gas parameter measuring instrument | |
CN203070023U (en) | 8421BCD code signal transmission module | |
CN203825400U (en) | Multifunction interface module for sensor and communication | |
CN217821304U (en) | CPU taking, placing and heat dissipation controller for mainboard test | |
CN216121108U (en) | Device for converting USB serial port into CAN | |
CN105243829B (en) | Portable analog meter module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131023 Termination date: 20191220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |