I'm doing some automotive wiring to add a light to a cargo area with the following requirements:
- The light turns on/off when the cargo door is opened/closed
- The cargo light can be turned off with a switch on the dash
- If the vehicle is off but the cargo light is on, an audible buzzer should sound
I don't know much about electronics, but from what I understand after some research I've developed two options. The first option uses a relay, and the second option uses diodes.
Can I use either of the two options below? My preference is the diode circuit because it saves space by not needing a second relay.