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 / 11790
11789  |  11791
Subject: 
Re: Building a Postscript printer?
Newsgroups: 
lugnet.robotics
Date: 
Tue, 27 Jun 2000 17:49:57 GMT
Viewed: 
980 times
  
Looking around the newsgroup, I found some posts talking about stepper
motors (including that cool LEGO-only motor). So what is the consensus
then? Can we control a stepper motor using LegOS+hacking or can we
do it with the standard firmware? I'm also clueless about the difference • between
a servo and a stepper.


Let's try a little "metaphor". Not technically correct, maybe, but we'll see
:

1. servo motor
--------------

A servo motor is esentially an "analogic" device : you have to provide him
with a pulse width modulated signal. The signal must be logical 1 (5 volts)
for 2-5 msec, and logical 0 (gound) for 20 msec (20msec not critical). The
variable 2-5 msec length of the signal gives the position of the axis. You
cannot make more than +- 250° (less than one turn) with a servo motor
without tweaking it. Because the internal circuitry uses a potentiometer to
control the position. You also need to provide external power. (3 wires for
most servos)

You could eventually tweak the servo and connect  directly the pot to the
rcx inputs and control the motor directly while watching with the rcx where
is the axis).

If you remove the plot which lock the axis, you can have a servo which can
make multiple rotations.

2. Stepper motors.
------------------

When interfaced with proper interface, stepper motors are essentially
"digital" devices (or at least "look like"). In fact, using a specialised
IC, you can control most of them (those found in floppy drives for example)
with only three wires :

- One which means one step left
- One which means one step right
- One which means half-step (double precision but less torque I guess)

Conclusion :
------------

Interfacing a stepper motor would require to build an interface using a
specialized ic. (A stepper motor driver). This is the easiest solution
providing the rcx has only 3 outputs. Those outputs should be multiplexed.

Connecting a servo motor is difficult : the 2-5 msec timing is too short for
the standard hardware. With some replacement firmwares such as legos or
pbForth you could control servo motors directly (expectations here). I think
it has already been made.

In your case, you'd better use stepper motors altough you'll need some more
electronics. because you need a motor which is able to make more than one
turn.


But maybe it's an overuse of those hi resolution motors : using lego gears
with a stepper motor is quite "strange". Maybe with standard lego motors and
rotation sensors you would get the same resolution using only genuine pats.

Just my 0.02

Philippe



Message is in Reply To:
  Re: Building a Postscript printer?
 
Thanks! I grabbed the HPGL info from wotsit.org. Looking around for Postscript->HPGL converters, I found the following: <ul> <li> <a href="(URL)Pstoedit</a>: converts Postscript and PDF into lots of other vector formats (including HPGL). Source (...) (24 years ago, 24-Jun-00, to lugnet.robotics)

10 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
21 hours ago
Custom Search

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