Auto >> AutoSPT >  >> Electric car

How 2 build automatic headlights circuits switch on at night. ignition off lock the door wait 5 sec lights to suit Toyota corolla 1989 model?

To build an automatic headlight circuit that switches on at night, ignition off, and locks the door after 5 seconds, for a Toyota Corolla 1989 model, you will need the following components:

1. A light-dependent resistor (LDR)

2. A relay

3. A transistor

4. A capacitor

5. A resistor

6. A diode

7. Some wires

You can follow these steps to build the circuit:

1. Connect the LDR to the base of the transistor.

2. Connect the collector of the transistor to the relay coil.

3. Connect the emitter of the transistor to ground.

4. Connect the capacitor in parallel with the relay coil.

5. Connect the resistor in series with the base of the transistor.

6. Connect the diode in parallel with the relay coil.

7. Connect the positive terminal of the battery to the LDR.

8. Connect the negative terminal of the battery to ground.

The circuit will work as follows:

When it is dark, the LDR will have a low resistance, which will allow current to flow through the transistor and turn on the relay. This will turn on the headlights.

When it is light, the LDR will have a high resistance, which will prevent current from flowing through the transistor and turn off the relay. This will turn off the headlights.

When the ignition is turned off, the relay will be de-energized and the headlights will turn off.

When the door is locked, the circuit will be activated and the headlights will turn on for 5 seconds. After 5 seconds, the relay will be de-energized and the headlights will turn off.

Note: This circuit is just a basic example, and you may need to make some adjustments to get it to work properly with your specific vehicle. If you are not comfortable working with electrical circuits, I recommend that you consult with a qualified auto electrician.