Re: Driving servos from a PC



Pete Verdon (news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) writes:
As part of a construction project for a charitable event, I need to
build a number of big analogue dials (like an old-fashioned voltmeter)
controlled by a series of PCs (each computer drives two dials). Accuracy
isn't critical, but I do have a fairly strict budget restriction.

Why not pull some stepping motors out of junked inkjet printers (or dot
matrix printers for that matter, though nowadays I find the former more
likely to be found as junk), and use those? They would obviously be
cheap and avaialble (you aren't likely to find RC servos lying in the
garbage), and the driving is easy. Use a parallel port. Or, if
this is from a dedicated computer, find an older one with an ISA bus,
and put two parallel ports in there for more control lines. Some counter
ICs would shift the needed control to hardware, and then it would only
need a direction line and step line from the parallel port for each stepping
motor. (They work by sending pulses to the windings of the motor, and each
pulse makes the motor step one step; the direction is determined by which
of the two windings you send the pulse to first.)


Michael

One possibility seems to be to use an RC servo to move a big cardboard
needle. I've not used servos before, but a little research suggests that
the required position is commanded by altering the pulse width of a ~5v
50Hz square-wave signal a little either side of 2ms.

As I said, I don't have much of a budget. I also have limited
electronics knowledge. But is it totally unrealistic to consider
controlling these servos via a soundcard output? I envisage putting one
dial on each of the left and right channels, and getting the card to
spit out an appropriate wave-form to each of them. I realise this won't
be a proper square-wave, but am I likely to get close enough?

What else have I missed? Do you have another (cheap) suggestion, whether
involving servos or not?

Thanks,

Pete


.



Relevant Pages

  • Re: Odd crash, any ideas what happened?
    ... the servos flutter like crazy and effectively provide no ... usually there is still control over the servos. ... Launched, plane climbed to altitude. ... Before I even got to lining up for approach the engine ...
    (rec.models.rc.air)
  • Re: Odd crash, any ideas what happened?
    ... There is a component on the RX that is regulating the power to the motor (and perhaps to the servos) that tends to break down, this results in the motor running at full power no matter what you do with your TX, but usually there is still control over the servos. ... Brought it around for a big circle when I noticed the first oddity: The plane climbed rather steeply. ... Before I even got to lining up for approach the engine revved up, the nose dropped into a straight down dive, from about 50-75 feet up. ...
    (rec.models.rc.air)
  • Re: CNC question
    ... servos, control systems, or machine design. ... undergrad and graduate courses in control systems and linear systems ... of experience with design and construction of various instrumentation. ...
    (rec.woodworking)
  • Re: Odd crash, any ideas what happened?
    ... There is a component on the RX that is regulating the power to the motor (and perhaps to the servos) that tends to break down, this results in the motor running at full power no matter what you do with your TX, but usually there is still control over the servos. ... Brought it around for a big circle when I noticed the first oddity: The plane climbed rather steeply. ... Before I even got to lining up for approach the engine revved up, the nose dropped into a straight down dive, from about 50-75 feet up. ...
    (rec.models.rc.air)
  • Re: help on sf_electrohydraulic.mdl
    ... change this 50 hz pulse signal. ... The length of time the solenoid valve is on is equal to ... is still within 3ms is there a way to control that because ...
    (comp.soft-sys.matlab)