|
> In lugnet.robotics, Ralph Hempel writes:
> > Well, after a few hours of crunching away at the problem, I
> > now have pbForth code to allow you to control and hold a servo
> > in up to 100 positions.
>
> If you're using a custom motor driver in pbForth, why use the inverter circuit
> at all? Why not just generate the desired waveform directly? Is there not
> enough current to drive the servo that way?
No, the servo needs power to the + and ground terminals to drive
the motor to the setpoint indicated by the signal wire. If I don't
invert the signal there is no power for about 30msec and only
1 or 2 msec ov voltage on the motor port.
By using the inverter, I can simply power the servo all the
time, and use the cap to hold things up while I'm sending the
(inverted) 0V signal to the servo.
The motor driver itself is in H8 assembler and compiled into
the new (unreleased) pbForth kernel. It still allows you to use
the regular motors on any ports you are not using servos on.
Cheers,
Ralph Hempel - P.Eng
--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to: rhempel at bmts dot com
--------------------------------------------------------
|
|
Message has 1 Reply:
Message is in Reply To:
14 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|