Design of automotive anti-rear-end alarm system basedon microcontrollerAbstractUltrasonic ranging is widely used in life,such as car reversing,measurement andso on.Because of its simple structure and low cost,it is not affected by other externalconditions.Easy to detect and calculate.This design is an automobile anti rear collision alarm system based on singlechip microcomputer.The core original is STC89C51 single chip microcomputer.Thecombination of software and hardware is used to combine ultrasonic ranging withsingle chip microcomputer.The hardware is mainly composed of ultrasonic rangingmodule,display module,alarm circuit and key module.The software part is mainlycomposed of main program,ultrasonic transmitting and receiving interrupt program,distance calculation subroutine and display alarm subroutine.The driver only needs tosit in the car cab to know the distance from the obstacle,which greatly improves thesafety and efficiency and prevents the occurrence of accidents.Key words:STC89C51 microcomputer;HC-RS04 Ultrasonic ranging module;automatic alarm
暂无评论内容