The invention discloses a trolley capable of automatically following a mobile terminal to walk. The trolley comprises a master control
chip, an electronic
compass module used for measuring
azimuth information of the trolley, a
bluetooth module used for transmitting
azimuth information of the mobile terminal to the master control
chip, an ultrasonic
ranging sensor used for measuring distance difference between the trolley and the mobile terminal, a DC deceleration motor used for controlling the trolley to move forward or backward according to the distance difference and a steering engine used for controlling the
steering angle of the trolley, wherein the electronic
compass module, the
bluetooth module, the ultrasonic
ranging sensor, the DC deceleration motor and the steering engine are respectively connected with the master control
chip. The
steering angle of the trolley is calculated by the master control chip according to the difference value of the
azimuth information of the trolley and the mobile terminal, and the calculation result is outputted to the
driving circuit of the steering engine. Speed of the trolley is controlled by the DC deceleration motor after ultrasonic
ranging, the azimuth information difference between the trolley and the mobile terminal is calculated after the electronic
compass module acquires the azimuth information and finally the
steering angle of the trolley is controlled by the steering engine so that the trolley has advantages of being high in real-time performance, easy to realize and low in cost.