Abstract:In order to solve the problems of electrocar alarms which are simple function,wrong working,omission and lack of flexibility,a electrocar and battery alarm is developed.The alarm takes Sunplus 61 singlechip as the core and is based on the sensors of vibration,infrared,ball switch,and Hall effect sensor.It can achieve two-level function on the basis of comprehensive study. Besides,a circuit sabotage alarm is also designed to protect the battery. It has two working modes of revoking and not revoking.The experiment shows that the alarm can be a very good solution to solve the problem.The rate of wrong working is 1.4%,the rate of missing report is 0.8%. The experiment results indicate that, the alarm has higher reliability precision and be worth of popularization.