 | | Re: r/c servos
|
|
I love the idea of controlling an R/C servo with the RCX, but I don't think it is possible with only software. On the other hand, a relatively simple circuit could be made to convert a duty cycle to a R/C servo signal. Is anyone out there interested (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
If the pwm is really being controlled by an 8 bit counter, that might be fine for the servos. The current rcx output has a cycle time of 8mS and uses 1mS increments. If those are the top 3 bits, then the resolution is 5 bits worth or 0.03mS. This (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) It is a software-based PWM. The topic of controlling a servo with the RCX has been discussed before. Generating the pulse stream for a servo would not be too difficult with the RCX, assuming you program the H8 directly using e.g. LegOS or (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) To get rid of the speculation here, the PWM is controlled by a programmable timer that the code in ROM configures to generate an interrupt every 1 ms. Output for each of 8 power levels is stored in a small table of waveforms, with the 1 ms (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | RE: Droid Dev. Kit, reprise
|
|
Or could it be that new 2 in 2 out screen programmable (blue RCX) RIS? JT -----Original Message----- From: Ray Sanders [mailto:rsanders@gate.net] Sent: Friday, August 20, 1999 6:03 AM To: lego-robotics@crynwr.com Subject: Re: Droid Dev. Kit, reprise (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | RE: X10 X-Cam
|
|
Don't buy the X-10 system expecting to use it for robotics. Those 2.4Ghz transmitters are directional and therefore are not well suited for the robotics application. Go to Best Buy or shopping.com etc. and buy a 900Mhz transmitter/receiver (actually (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | I/R Strobe/Omnidirectional sender/receiver
|
|
Greetings all, Looking at some of the new posts like the conductor/piano player has got me to thinking about the multiple RCX interacting scenario. The biggest inefficiency to start with is having to direct the entire RCX toward the other one, have (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: Droid Dev. Kit, reprise
|
|
(...) They'll probably do what LEGO wants them to do. LEGO appears to be fairly inflexible and uncreative and will probably stick to their normal policy. LEGO's normal policy seems to be to tell the store it has been discontinued and allow the store (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) If all you need to do is generate a pulse of a certain length, why can't you do something like this? Sleep(1); // synchronize with the centisecond timer Fwd(OUT_A, 7); Sleep(1); // 1/100 of a second Off(OUT_A); Sleep(2); // 2/100 of a second (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) I can't understand this. Can you correct your grammar so it is clear what you're saying the average servo needs? - Robert Munafo (URL) LEGO: TC+++(8480) SW++ #+ S-- LS++ Hsp M+ A@ LM++ YB64m IC13 (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) The answer is pretty simple, actually. In order to control a servo, you need to use pulses whose lengths are on the order of 1-2 ms. The more steps you get in that range, the more servo positions you can use. NQC can't produce pulses as short (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | a correction! to r/c servo
|
|
Sorry about that! The resulting 0.03 mS pulse width increments would result in 5 degree increments in the position of the servo shaft. How about that? JB -- Did you check the web site first?: (URL) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) I think what John was trying to say was that pulse widths between 0.7 ms and 2.0 ms give servo rotations between 0 and 180 degrees. With 45 steps in that range, you can control the servo in 5 degree increments. Seems to me he was approximating (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
okay.. how about this.. avg servo needs.. 60hz pulses.. 1.0ms pulse width = end point 1.5ms pulse width = middle of rotation 2.0ms pulse width = other end point that is the form of the data to the servo. so you need to out put pulses 60 times a (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos
|
|
(...) That doesn't make sense either. If a single step of 2.0 ms causes 180 degrees of rotation, then how does 45 steps allow you to control it 5 degrees at a time? (...) Are you saying that the servo actually operates in steps of one degree each? (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | RE: r/c servos and firmware
|
|
Ok, Here's my 2 cents on servos...read to the bottom if you are interested in helping to develop the code for this. The servo takes a 60Hz (approx) pulse width signal between 1 and 2 msec The pulses are fed into a little circuit that generates an (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | RE: r/c servos and firmware
|
|
(...) OhOh, I've piqued my own interest. I've looked at the H8 hardware manual and the RCX internals. The OC1A triggers every msec, except the stupid routine clears the Free Running Timer every time!!!! So much for using the OC1B, maybe. The minimal (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Re: r/c servos and firmware
|
|
(...) Okay! Finally I got it! (-: It sounds to me like servos can't rotate continuously in the same direction. In other words, they're good for steering but not for turning the wheels that make the car go. Is that right? Anyway, having heard that (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | RE: r/c servos and firmware
|
|
(...) There are multiturn servos for winches in RC sailboats, but they are REALLY expensive. (...) Well don't give up too fast. They ARE useful for steering, or lifting, or grabbing because we can set the limits of motion. This makes things like (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|
| |
 | | Using RCX with Lego Trains
|
|
I just picked up the Lego "Railway Express" set (#4561) last night. It comes with a "Toy Transformer" electrical plug (adaptor). The label on the plug says (North American version): Input: 120 VAC 60 Hz 0.12 A Output: 12 VAC 7 VA Would this work as (...) (27 years ago, 20-Aug-99, to lugnet.robotics)
|