Greetings,
I am completely new to Arduino, I did some small stuff with Picaxe a long time ago as part of a class. I really want to learn how to do some of this and understand it fully. For my first big project, I'd like to design a car alarm (I know I can buy one cheap, but where's the fun in that?). So, I'm just looking at some simple inputs and outputs. If the car door opens and after so long a period of time someone doesn't turn on the ignition then a light blinks or a relays closes, something along those lines.
I'm wondering if anyone has some example circuits combined with some lines of code that I could look at to serve as a guide? I've looked at some of the tutorials and see some simple switches. Here's one question I have right off the bat. Most of the simple switches I see, the switching is done at the 5 volt level. If I isolate the 12 volts from the car away from the 5 volts at the Arduino, but have them share a common ground, can I do the switching at ground instead of the 5 volts? My example being that most car door switches go to ground when the car door is opened, so I would want the Arduino to sense that switch is going to ground. Anyone already have a circuit drawn that would show how to do this? I've done some forum searching and haven't came up with anything.
I appreciate any help you can send my way!
Thanks for such a great forum.
Kel