To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 20531
20530  |  20532
Subject: 
Re: Lego motor reverse with 2 switches
Newsgroups: 
lugnet.robotics
Date: 
Sat, 5 Apr 2003 17:28:09 GMT
Viewed: 
797 times
  
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 each switch to drive 2 fets:

Battery Pos ---------------------------------------
                |                                 |
               /  A                              /   B
                |                                 |
                ------------- Motor----------------
                |                                 |
               /  B                              /   A
                |                                 |
Battery Neg ---------------------------------------

Again, you need to have dead time between the switches to prevent a short.


Teoman Naskali wrote:

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 is in Reply To:
  Lego motor reverse with 2 switches
 
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 (...) (21 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR