Easiest place to start programming.

Discussion in 'General Electronics Chat' started by stanman11, Oct 6, 2013.

  1. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    I still havent been able to program my hobby servo correctly or get the right components to finish my servo switch.
    I'm using a 10f200 chip to try and control a servo but I cant figure out how to write the code from the program sheets.
    Should I start some where else?
     
  2. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    Please share some details on your circuit.
    What are you trying to accomplish, what is your level of experience with programming?
     
  3. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    My experience is NOOB in all caps.
    I'm trying to create this circuit servo controller that will open up an air bleed valve for (around) 50ms. The circuit will contain servo control center always.
    power applied will open up the left air bleed valve and return to center.
    Then again with power applied will open the right bleed valve and return to center.
    And repeat.
    center left center right center.
     
  4. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    Your schematic has a fault, it appears you are connecting the GND power wire to the servo through a 10uF capacitor?

    Both +PWR and GND wires need to be connected to the servo power wires. Maybe your cap should be in PARALLEL on the two power wires?
     
  5. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    So remove the cap from gnd and hook the cap to the positive side?
     
  6. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    If you put a cap on the servo power pins, the cap + lead goes to servo +pwr lead (red), and the cap - lead goes to the servo gnd lead (black).

    So the cap is in parallel with the servo power wires. :)
     
  7. gootee

    Senior Member

    Apr 24, 2007
    447
    50
    Are you sure? It says it's a PWMSERVO motor - pulse-width modulation. So maybe the cap is there to block plain DC.
     
  8. BobTPH

    Active Member

    Jun 5, 2013
    782
    114
Loading...