Automatic addressing method and system of single-chip microcomputers

A technology of automatic addressing and single-chip microcomputer, which is applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of increasing hardware and construction costs, and achieve the effects of reducing hardware and construction costs, facilitating maintenance, and reducing the possibility of errors
CN105260337AActive Publication Date: 2016-01-20SHENZHEN XBROTHER TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN XBROTHER TECH
Publication Date
2016-01-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides an automatic addressing method and system of single-chip microcomputers. The automatic addressing system comprises a host and a plurality of to-be-addressed double serial port single-chip microcomputers sequentially connected in series. The automatic addressing method comprises the following steps: the host communicates with the first single-chip microcomputer through RS232, and performs addressing; the first single-chip microcomputer sends the addressed sequence to the host; the host sends the addressed sequence to the second single-chip microcomputer through the first single-chip microcomputer; the addressed sequence is sent to the host through the first single-chip microcomputer after the second single-chip microcomputer is addressed till all the single-chip microcomputers are addressed. According to the automatic addressing method and system of single-chip microcomputers, the resource of a universal serial bus is fully used, and all the single-chip microcomputers connected in series are addressed by the host under the condition that hardware is not added; the addresses of the single-chip microcomputers are automatically distributed during initialization after the single-chip microcomputers are mounted for the first time, the host automatically divides the data acquired on the bus only according to the addresses of the single-chip microcomputers, the data can be more intuitively output to the user for use, and manual arrangement is avoided, so that error probability of manual operation is reduced, and maintenance of the equipment is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of single-chip microcomputers, in particular to an automatic addressing method and system for single-chip microcomputers. Background technique

[0002] IDC is Internet Data Center, which is based on the INTERNET network and provides a facility base for operation and maintenance of equipment for centralized collection, storage, processing and sending of data and provides related services. There are two methods for addressing multi-single-chip microcomputer equipment in the existing IDC computer room, which are setting the address by dialing the switch and writing the address by sending a specific protocol through a handheld terminal such as a computer. However, the above two methods have the following disadvantages: 1. Low efficiency and high construction cost; 2. Too many bus devices are easy to confuse and cause address overlap.

[0003] In response to the above problems, our company applied for a serial a...

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