basic servo schematic with 16F684

Discussion in 'Embedded Systems and Microcontrollers' started by thisisweak, Jun 30, 2009.

  1. thisisweak

    Thread Starter New Member

    Jan 1, 2009
    4
    0
    hello everyone.

    I am designing a submarine, and I need to add a servo. I wish to use the pic 16F684 because it is cheap. If successfull I will be making several of these boards for an education project for students and I want them to be cheap as possible. I have designed a basic circuit...will this work? any suggestions?? P.S. the fat traces are ground.
     
  2. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Usually a servo is driven by an output pin with an inline 100ohm resistor.
     
  3. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,687
    900
    It is also standard practice for the vast majority of hobby servos to have the power (V+) as the center lead.

    John
     
  4. kammenos

    Active Member

    Aug 3, 2008
    127
    0
    I would not drive the servo directly from the IO. A transistor would fit better for me. For security reasons basically.
     
  5. thisisweak

    Thread Starter New Member

    Jan 1, 2009
    4
    0
    thank you all for your help!!
     
  6. kammenos

    Active Member

    Aug 3, 2008
    127
    0
    I could suggest a cheaper solution. I did not used any PIC thought. If your study is on PIC, then do not bother. If your study is for servos themselves, take a look here:

    http://pcbheaven.com/wikipages/How_RC_Servos_Works/

    It uses just a 555 and a couple of resistors. The 2N2222 could be taken out. If so, change the 470 with an 100 ohm.
     
Loading...