Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for converting serial data of electronic scale into computer universal serial bus (USB) data

A technology of serial port data and electronic scales, applied in the direction of electronic digital data processing, instruments, etc., to achieve the effect of easy connection and use, and reduce difficulty

Inactive Publication Date: 2012-01-04
福州科迪电子技术有限公司
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

"This invention can be used for the interconnection between multiple different networks or to control multiple networks through a PC and realize network expansion by accessing third-party devices with different interfaces, which has certain versatility; but it only realizes data forwarding. Function

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for converting serial data of electronic scale into computer universal serial bus (USB) data
  • Method and device for converting serial data of electronic scale into computer universal serial bus (USB) data
  • Method and device for converting serial data of electronic scale into computer universal serial bus (USB) data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] see figure 1 Shown, the serial port data of a kind of electronic scale of the present invention is converted into the method for computer USB data, described method provides serial port interface, serial port chip, single-chip microcomputer, flash chip and USB interface; Described method comprises the steps:

[0019] Step 10, the USB interface is connected with the computer USB interface, and the parameters to be converted are set by the computer, and the parameters include: serial communication protocols of various electronic scales, electronic scale elements and serial port data to be converted into USB The format of the data; the electronic scale element includes the item name or code of the weighing object, the name or code of the operator; the format is the order in which the serial port data received and the electronic scale element are combined; and the The parameters are stored in the flash chip;

[0020] Step 20, connect the serial port interface with the seri...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for converting serial data of an electronic scale into computer universal serial bus (USB) data, which comprises the following steps that: a computer sets a serial communication protocol of various electronic scales and a parameter for converting the elements and serial data of the electronic scale into a USB data format, and stores the protocol and the parameter in a flash chip; and a serial interface receives the serial data of the electronic scale, performs level conversion on the serial data through a serial chip, and sends the serial data subjected to level conversion to a singlechip, and the singlechip converts the serial data subjected to level conversion into a character string according to the parameter prestored in the flash chip, and sends the character string to the computer through a USB interface. The invention also provides a device for converting the serial data of the electronic scale into the computer USB data. By the method and the device, the difficulty of data transmission between a serial port of the electronic scale and a USB port is reduced, and the serial data of the electronic scale is converted, can be directly sent to software such as notepad, excel, word and the like of the computer and is stored.

Description

【Technical field】 [0001] The invention relates to the field of electronic weighing instruments, in particular to a method and a device for converting serial port data of an electronic scale into computer USB data. 【Background technique】 [0002] The external output interfaces of existing electronic scales are basically serial ports, that is, RS232 or RS485, and the development trend of computers is to support USB settings very well, and cancel the support for serial ports; new computers basically do not have RS232 ports. And Microsoft's new systems have canceled support for serial devices. The electronic scale still uses RS232 / RS485 communication, which makes it very troublesome to connect the electronic scale to the computer. If you use the current serial USB device on the market, the computer device needs to be installed with a driver, and you also need to know the serial USB device. Which COM port is simulated, and the USB interface is virtualized as a serial port. Howev...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
Inventor 温泳荣郑崇苏徐平
Owner 福州科迪电子技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products