servo motor resets 16f877a


Closed Thread
Results 1 to 40 of 86

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    43

    Default servo motor resets 16f877a

    Hi.After a little time,Servo resets 16f877a when I make power on .I know i need to use opto-isolator and i have 4n35 but i dont know what connections are required.Somebody can tell me?Thanks everybody who answers my question...
    Last edited by burak450; - 30th September 2008 at 00:49.

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


    Did you find this post helpful? Yes | No

    Default

    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.

  3. #3
    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?

  4. #4
    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.

  5. #5
    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?

  6. #6
    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

Similar Threads

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