The invention relates to an automatic address allocation
serial port ammeter acquiring method. The method comprises the following steps that a host monitors signals input by a plurality of I / O (Input / Output) ports after being started; an
ammeter is connected to one of the plurality of I / O ports through an address line after being started, transmits a connection
signal, and intercepts an address
signal transmitted by the host; the host acquires an allocated address after detecting the connection
signal, returns the address to the
ammeter, delays for predetermined time and transmits a
handshake signal to the allocated address through a communication
bus; the ammeter initializes the communication
bus after receiving the address returned by the host, starts to intercept the
handshake signal transmitted by the host, and returns to identity
verification information of the ammeter after receiving the
handshake signal transmitted by the host; the host verifies the identity of the ammeter according to the identity
verification information, and finishes the allocation of a communication address if the identity
verification succeeds. By adopting the method, automatic allocation of a
serial communication bus address can be realized. Moreover, the invention further provides a smart ammeter acquiring
system based on a
serial communication bus.