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 / 20547
20546  |  20548
Subject: 
RE: Lego motor reverse with 2 switches
Newsgroups: 
lugnet.robotics
Date: 
Mon, 7 Apr 2003 13:40:56 GMT
Original-From: 
Rob Limbaugh <RLIMBAUGH@GREENFIELDGROUP.COMstopspam>
Viewed: 
813 times
  
Teoman,

Go to Google and search "h-bridge circuit" or "h-bridge schematic".

This one came up and looks pretty good:
http://www.robotroom.com/HBridge.html

It allows control of 9.6V to 18V DC motors using pulse width modulation.
Two circuits would use 4 lines from the computer.  Two bits would be
used for motor speed control and two bits for direction.

Hope that helps.

- Rob

-----Original Message-----
From: Teoman Naskali [mailto:tnaskali@gsu.edu.tr]
Sent: Saturday, April 05, 2003 5:30 AM
To: lego-robotics@crynwr.com
Subject: 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 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



1 Message 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