12V automotive project

When the engine is not running, the battery voltage will be lower than when the engine is running and the alternator is charging the battery. If I can monitor this voltage, I can set a mid-point voltage which the Arduino will switch on the lights when the engine starts, and off when the engine stops.

Isn't that the same as simply detecting the engine running?

As for the side lights, an opto coupler could be used.

  • Scotty