Servo Control Switching
MicroJD
Posts: 3
I have an application where·I am switching control of RC servos between the Parallax servo controller (with the BS2) and an RC receiver.· I'm doing it with a simple relay that switches the signal wire of the servo between the two control sources.· Often, the servo controller has to be reset by pressing the reset button for it to start moving the servos (but not always).· Any ideas why this might be happening?· Is there a better way to switch control of the servos?· Any help would be appreciated.
Comments
Is there a reverse biased diode on the relay coil to minimize any back EMF spikes that it could produce?
Instead of a relay you might be able to use a 4066 (Quad Analog Switch/Quad Multiplexer) in it's place.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Or control it with discrete logic and an amplifier circuit from the RC unit to convert to TTL levels.
generate your Micro controller signal on {ServoOut} pin or select the RC control with the {RC-Select} Pin.
[noparse][[/noparse]Note: Do Not select {RC_Select} and a signal on {ServoOut} at the same time]
[noparse][[/noparse]Sorry for naming pin on BS the same as the output of the circuit.]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Smile ... It increases your face value!
Not sure what I was thinking in my previous post... I believe you can do exactly what you want with a single 74HC00 (Quad 2-input NAND gate)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Beau, your diagram looks like you are switching one control source between two servos. I'm actually switching one servo between two control sources.
I'll update on my progress. I'm working on a relatively simple UAV project. I appreciate the help!
Not a problem... just a slightly different configuration.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Oh, the top left transistor is NPN, the lower right is PNP.
Any comments?
Much thanks!
Cool! I'm glad that you got it working.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.