驾驶员在夜间行驶会车时不规范使用远近光灯所引发的交通事故逐年上升,为了降低交通事故的发生。本系统采用STC89C52单片机为处理器核心,光敏电阻为光照检测器,蜂鸣器为报警系统,LCD1602为显示器,单片机可以自动控制调节远近灯光,避免了危险的发生。本系统设计灵活简单,运行稳定,具有很高的实用价值。
The traffic accidents caused by the use of far and near-light lights by drivers when driving at night are increasing year by year;the paper designs a system to reduce the occurrence of traffic accidents.The system uses the STC89C52 microcontroller as the processor core,the photosensitive resistor as the light detector,the buzzer as the alarm system,and the LCD1602 as the display.The microcontroller can automatically control the light near and far to avoid danger.This design is flexible and simple,running stably,and has high practical value.