Low Voltage output?
Ulrich
Posts: 11
I'm using a BS2 chip and command PULSOUT for my program and my understanding of this command is that it is supposed to output a pulse of 5V to a certain pin for a certain amount of time. It seems to output about .66V to about .93V. Any ideas on what to do about getting the signal pulse to 5V? I demo the circuit on Thurs. so I would like to get it working as soon as possible. Thanks, Brice
Comments
How are you measuring the pulse? If you’re using a multi-meter that won’t work. It cannot respond fast enough to the changing voltages. If you have a scope you should be getting what you expect. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
What is the "certain amount of time"?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
The smallest pulse you're likely to 'see' is about 10 mSec, though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
That said, it's easy to test a servo. Write a little program that produces a pulse starting at 1ms in width and increases slowly to 2ms, then back again. If the servo is working, it should move from approximately one end of its range to the other. Servos vary in terms of what pulse width will produce a particular movement. There is no absolute standard. You will have to experiment to see what pulse width you need.
Brief summary:
Don't exceed the servos max input voltage.··This rule is a little flexible,·for example,·you can run a six-volt servo from a 7.2 volt battery pack, but you will shorten the servo's life-span.··Better choices are four AA batteries or a lantern battery.
Connect the two power supply negatives together,·but do this only once, in one place.
I hope this helps!
Your servo should only have three wires:· typically, red, black, and white or yellow.· Red and Black will go directly to your power source.· The white or yellow wire will connect to a stamp pin.··Also, most servos will twitch or move when you apply or remove power, does yours?
Try this, connect the servo directly to the power supply, not through the resistor.· Add a capacitor across the power supply, and add another as close to the servo as you can get.· Try your code, any better?
Double check your connections and your code.· You are putting the PULSOUT on the correct pin, right?· Remember, the stamp pins start at·zero, not one!· (Been there, done that.)· Check your PULSOUT durations, do they match the stamp module you have?· Different stamps will have different values for the duration, check the PBASIC reference manual on pages 351-353, especially page 353, with the programming template.
If still no joy,·try another power supply or battery, or battery pack.· For six volts, you can try a lantern battery.
Hope this helps!
One other thing to consider is that with a separate voltage supply for the servos, you MUST connect the (-) or ground side of the power supply to the GRD (ground) connection of the Stamp. Otherwise the servo will not operate properly.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You can connect capacitors in parallel. The capacitance adds in parallel.