Results 1 to 5 of 5

Thread: control rc servo with fb

  1. #1
    Newbie
    Join Date
    Jan 2012
    Posts
    3

    control rc servo with fb

    hi im a newbie and im trying to control a standard servo with fb. im not having any luck i have read in post where this is doable but no explanation how to hook it up. the servo has 3 wires but fb out only has 2. i tried hooking servo + and - to 5v then servo yellow to fb out + then fb - to 5v ground thats hooked to servo. but nothing happens. will this hook up work is there something in software i need to change ie remap output. im using visual basic i have input /outputs working for other things like activatig relay and reading sensors.

    thanks for any help

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    It all depends on what sort of servo it is.

    + needs to go to whatever the servo can take. Since you hooked it to 5v, I am guessing it is a 5v servo.
    - needs to go to ground if it is a standard servo, again it depends.

    So you can get these from the analogue input pins if it is just one servo. But if you do, try to have it powered externally as USB will not like to power a servo...

    If the yellow is the servo control that takes a PWM signal and 50% finds middle, and deviations from that turn it left and right, then it is simple. But when you have it hooked up with just power and no input, it should be completely swiveled one direction and if you move it, it moves back. If it doesn't do this, then it is wrong.

    Once connected you have to determine what kind of pulse it needs. Probably a square wave from - to + at some frequency and duty cycle. Hook the + pin to the servo feedback pin via a pullup resistor like a 10K, or 2K or something. Again, depends on the servo. Then hook that node into the - side of the digital output. Send the inverse of the pulse you want, and it should work.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  3. #3
    Newbie
    Join Date
    Jan 2012
    Posts
    3
    thanks for response sorry took so long to get back i fried the stepper motor and have not replaced it yet. i did have a question on last sentence when you say "Then hook that node" what do you mean? the end of resistor? also what did you mean by inverse pulse.

    thanks

  4. #4
    Newbie
    Join Date
    Jan 2012
    Posts
    3
    btw it was a hitec the new one is parallax from radioshack

  5. #5
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    When you connect Device A to Device B, the connection it makes can be called a node. So if you want to connect Device C to that "node" then A, B, and C all "share" 1 connection.

    Inverse of the pulse. So if it you want a 20% duty cycle, send the inverse of that meaning 80% because "on" means pulling the circuit low. So if you want 20% "on time" you want the circuit low 80% of the time, which means the output of the FB needs to be "on" to 80%. It is active low.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Similar Threads

  1. Replies: 17
    Last Post: 01-16-2009, 09:48 AM
  2. Servo control?
    By inh in forum FB Outputs
    Replies: 20
    Last Post: 09-17-2008, 06:54 AM
  3. servo control help
    By scott_fx in forum Hardware Development
    Replies: 3
    Last Post: 09-16-2005, 07:18 PM
  4. stepper or servo control
    By more mods in forum General Hardware Discussion
    Replies: 8
    Last Post: 06-16-2004, 03:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •