Hello Guyz!
First of all I am new here and I found this section to be appropriated for submitting my question.
Well, I was Investigating on Car headlight Alarm and how it should sound a buzzer when the headlights are on?
I have attached the circuit diagram as well you might wanna have a look...