Basic question about servos and voltage
Chris Moore
Posts: 2
I've worked off and on with various processors since the days of the 8080, but I'm new to
the Propeller. There's something that puzzles me, and I'm sure there's an easy answer,
I just haven't found it.
I see lots of talk about controlling servos with the propeller. But doesn't a servo's control
signal have to be 5V? And doesn't the propeller run on 3.3V? I understand that you can
use a separate 5V supply voltage to run the power to the servos, but what about the
control signal?
I'm sure I'm missing something obvious, I just haven't been able to find it yet.
Thanks,
Chris
the Propeller. There's something that puzzles me, and I'm sure there's an easy answer,
I just haven't found it.
I see lots of talk about controlling servos with the propeller. But doesn't a servo's control
signal have to be 5V? And doesn't the propeller run on 3.3V? I understand that you can
use a separate 5V supply voltage to run the power to the servos, but what about the
control signal?
I'm sure I'm missing something obvious, I just haven't been able to find it yet.
Thanks,
Chris
Comments
that is all you need. it have TXB0108PWR 8-Bit Bidirectional Voltage-Level Translator for 3.3v to 5v transfer.
As an aside, and an addition to Mike Green's comment, I think it might be possible to build eight bi-directional 3V to 5V translators using 8 1k resistors going into a 74HCT245 chip with the 245 running off 5V. 3V=> 1k resistor => threshold of 2V so output high. And the other way, 5V=> 1k current limiting resistor = 3V=high.
For driving servos only a HCT245 would be needed, no resistors as the data is one way. Ideally run that off a regulated 5V supply as the reference supply is 4.5 to 5.5V for HCT and 4 nicads for instance could go from 4.4V to 6V.
So maybe that other chip mentioned above might be better?
Or maybe it just doesn't matter and all servos are ok with 3V signals?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
Post Edited (Dr_Acula) : 6/1/2010 11:08:07 AM GMT
working and sometimes it just stops again.
I was thinking it was the power supply but now I am wondering if I need to feed it a 5v signal through a transistor.
I don't need the bidirectional voltage translation. And the spec for the HCT245 says minimum
input voltage for a logic high is 2.0, so the 3.3 V output should work. I'll pick up a couple
and give it a try.
Jim
Did you get a chance to look at the link like Julian800 suggested?
http://www.parallax.com/tabid/768/txtSearch/28830/List/0/SortField/4/Default.aspx
I am using this board in a few aplications and works well after you read this thread:
http://forums.parallax.com/forums/default.aspx?f=25&p=1&m=407311
Jim
http://www.dinodirect.com/TowerPro-Servo-Double-Ball-Bearing-SG5010/AFFID-11.html?DinoDirect
On the voltage divider, should the 2k pullup resistor go to 3.3 or 5?
Chris, is you problem solved?
Thomas, could you start a new thread to keep things in order?
Jim
The servo that I blew up was a HiTec HS-525MG; this was four or five years ago and I was using it in a pretty demanding application (steering for a pretty large car robot) and while it worked fine from four NiCD AA's when I put an alkaline pack on it worked for a few minutes then smoked.
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
I toasted a GWS mini servo, it wasn't even under load but I was running it on 6 volts - it was being driven by a Propeller at the time via a 1k resistor. I'm not suggesting that the Propeller was the problem, it was the running it back and forth rapidly with a 6 volt supply, when it was rated for 4.8 volts.
Also, I have not done extensive testing but I have never had a problem controlling any of my servos using the Propeller and I commonly use a five cell pack (>6 volts), occasionally as high as 7.4 volts. My servos are JR, Futaba, HiTech and a few GWS.
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.