Thread: ignition toggle switch with spdt relay, micro controller, and 5 but transproter style

  1. #1
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302

    ignition toggle switch with spdt relay, micro controller, and 5 but transproter style

    I AM SO FREAKING EXCITED!! Just went to radio shack and bought a bunch of goodies! A spdt(Single Pole Double Throw) relay, 22g wire, a general purpose micro controller, and a 5 button keypad. I am going to hook up the 5 button keypad to the micro controller. the MC to the relay and the spdt relay to my ignition switch. So if i enter the correct code, the relay will close the circuit and enable the ignition. Without the code the car will not start. If you have a non-manual trans you could make it start your car if the code is correct. It should only take a few weeks...HOPEFULLY lol

    What do y'all think?

  2. #2
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    I don't think a micro controller will power a relay. You may need some transistors and stuff.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Sounds like a cool project.

    But you need to see a lawyer and check your insurance before trying it in a real car running on the public highway.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    nonoob, a micro controller will not power a relay. I have a work around for that.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    see a lawyer? that seems a bit extreme for just wiring in an extra ignition-disable switch. you're not installing anything that affects the public safety characteristics of the car, so I'd just say go ahead and do it. when the start position in the ignition switch of my jeep stopped working, I just installed a pushbutton. no lawyers, no insurance agents, just a pushbutton.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    There is a rather large difference between a passive switch and a bunch of programmable circuitry.

    > you're not installing anything that affects the public safety characteristics of the car
    Oh really?
    Preventing it from starting (when you want) might not be much of an issue.
    But suddenly deciding to disable the ignition while driving down the freeway would be a completely different issue altogether.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    one possible solution to your concern would be a latching relay - one that does not require continuous power to remain in the "on" position. then wire the controller so that it's impossible for it to energize the relay in such a way that it would disable the ignition once it's enabled (a lockout switch), as long as the key is on. regardless, I still don't think that it's especially necessary to get lawyers or insurance companies involved, particularly if you're only doing this to your own car.

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    the even better solution would be just to disable the starter, and not the ignition.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 8051 micro controller programming
    By vineeth v s in forum C Programming
    Replies: 4
    Last Post: 07-19-2011, 10:08 AM
  2. Micro-controller programming basics.
    By audiofish in forum C Programming
    Replies: 4
    Last Post: 03-26-2011, 09:38 AM
  3. c programming, MC68HC11 micro controller board simulator
    By fortune2k in forum C Programming
    Replies: 10
    Last Post: 03-11-2009, 07:04 AM
  4. SOS - Can a monolithic kernel be used in a micro-kernel style OS?
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 11-20-2008, 09:30 AM
  5. How do I create a DVD Player-style floating controller?
    By budoka in forum Windows Programming
    Replies: 4
    Last Post: 07-11-2005, 02:12 AM