Subject:
|
Lego motor reverse with 2 switches
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 5 Apr 2003 10:30:11 GMT
|
Viewed:
|
803 times
|
| |
| |
I built a lego robot, I am using linux as operating system. I also have a
simple circuit connected to the printer port that has 4 switches. (I can
activate or deactivate 4 circuits) .
My robot has 2 motors, and i need to forward or reverse each of them.
Thsi leaves me wit 2 switches per motor. Now how can I do forward and
reverse? One way is easy wiht a one switch, but when i try to add reverse i
get a short circuit
----| i------
| |
| |
| / switch
| |
| |
+ -
\ motor /
Hope i could explain my problem
Thanks in advance
Teoman Naskali
|
|
Message has 1 Reply: | | Re: Lego motor reverse with 2 switches
|
| You could make a half H-bridge: --------| i---...---| i---...--- | | | | | | / Motor / | | | ---...--- Remember that you have to program a dead time between the switches so as not to short the batteries. You could also make a full H-Bridge, using (...) (22 years ago, 5-Apr-03, to lugnet.robotics)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|