PIC16F84A dc motor program.

Discussion in 'Programmer's Corner' started by haru31773, Oct 1, 2011.

  1. haru31773

    Thread Starter New Member

    Oct 1, 2011
    4
    0
    if anyone could give me an example code of controlling a dc motor .. pls :D
     
  2. R!f@@

    AAC Fanatic!

    Apr 2, 2009
    8,754
    760
    Welcome.

    Try harder....
    But lemme check my database. Might take a little time
     
  3. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Why not brush up your Google skills. Your Google is as good as my Google. Also Microchip have a lot of microcontrllers that is by far better for such tasks. Do you have to use that chip, or can you use some other chip.
    Here is a my Google tip ->16f84 motor control
     
  4. haru31773

    Thread Starter New Member

    Oct 1, 2011
    4
    0
    im only allowed to use 16f84a or 16f87 or 88 , and problem with 16f84 its obselete,

    and yes im really trying to do it on my own but its really hard when youve only learned this language for 42hours.
     
  5. haru31773

    Thread Starter New Member

    Oct 1, 2011
    4
    0
    TY, be w8ting while learning :)
     
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    What kind of DC motor do you want to controll? Is it a stepper, or a a non stepper. If it is a non stepper Use a 16f88 that has a PWM unit onboard.
     
  7. haru31773

    Thread Starter New Member

    Oct 1, 2011
    4
    0
    HOW ABOUT SERVO motors, what should i use
     
  8. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    It depends what your looking for, a simple PWM controller or a full PID.
    PID is quite a bit more involved.
     
  9. simo_x

    Member

    Dec 23, 2010
    200
    6
    You don't know what you have to do and you ask for code.. Good.
     
Loading...