The invention relates to the field of electric bicycles, in particular to a multi-functional anti-theft alarm battery and an
electric bicycle using the battery. Each battery unit has a unique identification code; the battery unit, a
vibration sensor module A, a voice speaker module, a
charge and discharge control module, a power switch and a
bus instrument
system control module are all connected to a state
information acquisition and
processing module; and positive electrodes of serially connected battery units are connected to a positive
electrode of a power interface to provide power externally through the
charge and discharge control module and the power switch in sequence. According to the
electric bicycle provided by the invention, the position variation of the anti-theft battery can be detected; a warning can also be sent out continuously even though the power is
cut off in case of theft; each battery unit has the unique identification code, can be self-locked to stop power supply of the battery when the identification code is inconsistent, and cannot be used on other electric vehicles even though the battery is stolen successfully; the problem of easiness in stealing of the battery is solved; a wiring harness is simplified; and the production efficiency is increased.