John Waters wrote: > I need to turn ON or OFF a small 12V d.c. motor using a micro-switch, > but > the requirement is, the micro-switch must be operating like a toggle > switch, > > I know a micro-switch alone will not be able to do this, I may need > some > relays or other components working together to achieve this, but I > don't > want complicated circuits that require a stable power supply, The alternative with relays is a lot more clunky and complicated, especially when considering debounce issues. > I just want to > use some simple passive components (and relays) to do this. You are being silly. You've got 12V, so a 7805 5V regulator and a couple of caps will make a nice stable 5V power supply. A PIC 10F200 can sense the microswitch, perform the debouncing and toggle logic, and turn on the motor accordingly. The PIC can directly drive a IRFU3706 N channel FET low side switch to control the motor. The only other part you need is a reverse diode accross the motor. All this will be smaller, cheaper, more reliable, and take less power than some relay logic. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist