Patent ID: 8235158

Claim:
An electronic device, comprising: at least one axle; at least one pair of wheels fixed to two opposite end of the at least one axle, each wheel comprising: a main body; a tire sleeved on the main body, the tire defining a fixing hole therein, the tire being operable to rotate around the main body; a movable fixing pin operable to be inserted into the fixing hole to fix the tire to the main body; an electromagnet operable to attract the fixing pin to separate the fixing pin from the tire when the at least one electromagnet is powered on; and an elastic member disposed between the electromagnet and the fixing pin, the elastic member being operable to push the fixing pin into the fixing hole when the electromagnet is powered off; a driver connected to the at least one axle, the driver being operable to drive the at least one axle to rotate; a power supply module electrically connected to the electromagnets for supplying power to the electromagnets; and a processor for controlling the power supply module to supply power to the electromagnets, the processor being operable to control the power supply module to stop supplying power to the electromagnets in a first manner, and control the power supply module to supply power to one of the electromagnets in a second manner.