101Views4Replies

Author Options:

Forward/Reverse engine using 2 micro pins - How? Answered

I've been wanting to get into more advance projects after i've down lights, tunes, and other things. So first to mind, knex and motors. have tones of it. The only problem, How can i get a forward/backward on the engine, with just 2 micro pins? This is a normle + - motor.

4 Replies

user
gmoon (author)2008-04-27

Try an h-bridge. Here's a good example. It's minimalist--you'd short the drive current if both inputs are enabled simultaneously. Note that other more robust, non-shorting examples are on that same site...

See the bottom of that page for BEAM type wiring (small sized) of that circuit...

Otherwise, there are lots of h-bridge ICs, for different current requirements. Here's a 1 amp version at sparkfun. Easier than making your own--but I understand why you'd want to build from scratch....

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)2008-04-26

. Use the output to drive a relay that swaps polarity to the motor.

Select as Best AnswerUndo Best Answer

user
Killa-X (author)NachoMahma2008-04-26

Anyway i can do it with NPN transistors? sence that's the closest thing i have to relays atm

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)Killa-X2008-04-26

. I dunno. Been too many years since I worked with transistors. Someone who knows should chime in before too long.

Select as Best AnswerUndo Best Answer