Hello everyone.
I am considering starting a project and would like some input.
This would basically be a simple security system on my car. The basic idea is you would activate a momentary switch before starting the car. the car would run indefinitely until the door is opened. after the door is opened the vehicle runs for a set time then shuts down. Most of this I have seen is easy except the PI seeing the door open.
What I need is a way to see the voltage from the door ajar switch as a "on or off". It doesn't need to know there is 12 volts, just that voltage is there and start the timer to interrupt power through a relay.
I love my cars and love the idea of a DIY security system on it which is why I've always wanted to do this. Before considering the pi the only way I could do this would involve a bunch of regular relays, latching relay, and a timed relay. I've only been considering a PI for a few days so i'm still not 100% sure it can be done. If I can figure this entire project out it will really jump start my whole carputer project as well.
Thanks for any input everyone.
Also if anyone thinks this type of security system is familiar please chime in with some info on it. My old jeep gave me the idea. I always assumed it was a little box under the dash that said "awgbu watchdog". I've only ever found one other person in America who ever heard of this type. That means theres only 2 people I know that could start my car if I do this.
If that isn't safe I don't know what is!