Author
Topic: SERVO HELP (Read 7511 times)

Iím Building an autonomous mobile robot using differential drive and have a few questions. Iím using two continous rotation modified Hitec 422 servo motors, a Basic Stamp II (education board), two Dubro 2.75 in. wheels, and a NARP 4cm omni direction wheel.

1) If Iím using two HS 422 servo motors and a Basic Stamp II do I need an H-bridge. I was planning on connecting my servo motors to an L293 chip then connecting the L293 to a Basic Stamp, but a classmate told me I didnít need one, I could connect the servos straight to the Basic Stamp. Please Help!

2) If I need to connect my servos to an H-bridge do I actually open my modified servos and connect the two pins of the motor to the H-bridge.

3) I read a regular caster is a very great ideal for the third wheel, does anyone know a good way to mount an omni directional wheel to an aluminum chassis.

Your friend is right; an H-Bridge is only needed to power a motor directly, one of the advantages of servos is that they contain their own internal circuitry eliminating the need for an h-bridge.

As for how to attach the omnidirectional wheel, all I'll say is don't be afraid to improvise. Robotics really isn't brain surgery; if it doesn't work, try something else. With circuitry and motors you might blow one if you do something wrong, but when it comes to the mechanics, don't sweat it too much. If the wheel falls off, the front of the bot falls 2.75", otherwise nothing happens except you have to try again.

So I would connect the servos to the spot on the board of education for connecting servo's(I saw an exampe in the What's a Microcontroller? book ). Also do I use an external 5 volts for the servos. I read somewhere its not recommended to use the regulated 5 volts from the board.

yup, you want to use a separate voltage regulator for your servos.everything would probably work ok with the one on your microcontroller board but servos (as with any motor) can create power ripples so it's better to use a separate regulator.you can try it without but if you find the microcontroller doesn't seem to operate as it should then power problems are the likely cause.

Yeah, 4x1.4v batteries in serial will give you 6v, though I recomend not using standard alkalines, as they drain so quickly; a more expensive set of rechargable batteries will pay for itself pretty quickly. You'll want to use a voltage regulator to throttle the 6v down to 5v, and you still shouldn't power the servos from the board directly, just connect their control line to the board. Servos and motors can have spikes in their power consumption and also can create noise in the power signal. This can cause the microcontroller to misbehave or, in the worst-case scenario, possibly even damage it.

So I could use a 3 pin male/male header and connect my servo to it. Then connect my power pin to a 7805 5 volt supply, connect my ground pin to the vss terminal and connect my last pin to a pin on the basic stamp. Also connect my 7805 supply ground to vss on board of education.

And repeat this for the other servo with a different 7805 5 volt supply.

but you can use a regulator like the 7805 to get a nice even 5 volts from a 6 volt supply (as ltmhall is suggesting).

ltmhall, your have it right in your previous post.basically you can use lots of different DC supplies as long as you connect all the ground terminals.

in practice, i usually use one for all the on board microcontrollers (and other electronics) and a separate source for all the servos.when i say "separate source", usually using a separate voltage regulator but still sharing the same battery is sufficient.

Will I have to add a resistor to one of the basic stamp out puts or reverse one of the servos leads to make both rotate in the same direction when I add wheels to them? I heard from a Friend I will have to do something like this.

Gopher is an old pre-web, text-based internet protocol; it served the same purpose as www, and online companies and universities would provide gophers as a way to access their different departments and features. I think Admin meant me, though, and I'm a who, not a what. My current 'bot doesn't have a microcontroller, but I'm certainly not an expert on not using microcontrollers; I'm actually a programmer professionally. I'm not using a MC because I want to challenge myself and get more experience on the hardware side of things.