Abstract
ThispaperusesAT89C51MCUtosimulatetheintelligentcontrollerofthecar
lightssystem,using12LEDlightstosimulateallthelightinglightsofthecar,using
sixindependentkeysrespectivelytosimulatethecontrolofthecarlights,headlights,
brakelights,leftturnsignal,rightturnsignalandemergencylights.InProteus
simulationsoftware,aphotosensitivediodeisusedtodetectthedistancebetweenthe
twocars.Thedistancebetweenthetwocarswillchangethesizeofthevoltagethrough
thephotosensitivediode.Avoltagecomparatorisaddedtoreali
基于单片机的车灯控制-7290字.pdf