servo motor resets 16f877a


Closed Thread
Results 1 to 40 of 86

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    thanks for your response but I mean what connections are required between 16f877a and 4n35 and servo motor?

  2. #2
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Connect the output pin of the pic to pin 1 of 4n35 via a resistor of 330 ohms connect pin 2 to digital ground. you can also place a led diode in series (between pic and opto to detect the state)

    Pin 4 and 5 (4nn35) will be used to drive your servo (max current 150mA) if you need more current you must use a power transistor or a mosfet. Connect to analog ground pin 4 and pin 5 to your servo ground side. Connect the positive analog voltage directly to the servo.

    When your pic pin will go high the opto will conduct switching on your servo.

  3. #3
    Join Date
    Sep 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    I am sorry but i dont get exactly.Can you send any proteus file to here?
    my servo is this http://www.rcuniverse.com/market/item.cfm?itemId=230128
    what kind of circuit should I use?

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Find enclose the schematic. You should separate the supply of the pic from the supply of the servo to avoid the electrical noise generated by the servo will disturb the functionality of your pic. Remember that 4N35 can supply a maximum current of 50 mA so if you want to use the schematic as it is, you must check that your servo does not need higher current. Naturally you do not need to change the software, because the wiring will give you a direct interfacing.

    Hope this will solve your problem.
    Attached Images Attached Images

  5. #5
    Join Date
    Sep 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Forgive me i asked too many questions but i am a rookie about pic.my servo motor has three cable.+5 volt,ground and i have another cable as signal cable.Where do I connect signal cable??? Thank for your patience...

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by burak450 View Post
    Forgive me i asked too many questions but i am a rookie about pic.my servo motor has three cable.+5 volt,ground and i have another cable as signal cable.Where do I connect signal cable??? Thank for your patience...
    . . . . . If using the opto . . then to that . . . otherwise to the pic . . . . Why use the optoisolator . . .are you using some dangerous voltage, somewhere ? Or just trying to keep servo isolated from pic?
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  7. #7
    Join Date
    Sep 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    I am just trying to keep servo isolated from pic.my question is that where should I connect orange cable?


Similar Threads

  1. More Servo Woes
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 13th May 2009, 09:40
  2. Problem with 12F629, servo and EEPROM
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 1st March 2008, 10:53
  3. Servo does not move
    By ruijc in forum General
    Replies: 12
    Last Post: - 12th November 2007, 20:14
  4. Beginner + Servo
    By james in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st July 2007, 22:31
  5. Help with Servo Control Please!
    By wireman22 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th June 2007, 19:15

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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