PIC16F84 and SERVO S3003


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2009
    Posts
    3

    Question PIC16F84 and SERVO S3003

    Hello. I am new to PIC Basic. Many people say it is easy to program the PIC to control servo motor, but nobody gives a simple program to show how it looks like. It is not enough to write: PULSOUT pin,100.... I don't understand it principles. If someone would give me an egsample of a program (eg., when I push button RA1, the motor is turning to right, when RA2, to left) I would very approciate that... Thank you!!! P.S. I use 4Mhz crystal and PicBasic Pro...

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Nov 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default but...

    But there are explayned how to control servo with SERIAL controller, I just need to control servo without pc, just a button and servo... Not SERIAL.

  4. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by vitulis View Post
    But there are explayned how to control servo with SERIAL controller, I just need to control servo without pc, just a button and servo... Not SERIAL.
    So instead of checking the serial port in the main loop, check a button.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Wink

    Hi,;

    Try this one ... was written for Elektor Project 040172 Circuit enhancement ...

    http://www.elektor.fr/magazines/2006...de.68716.lynkx

    here, in French ...

    http://www.elektor.com/magazines/200...er.58302.lynkx

    Here in English

    Note attached file is a Highly enhanced file of the one you can FREELY download from Elektor ...
    Also available on Elektor French Forum ...

    You also can download Freely PCB and " paper " project for 1€20 ...

    Alain
    Attached Files Attached Files
    Last edited by Acetronics2; - 19th November 2009 at 17:56.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Nov 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    Well it is getting better, but my servo isn't turning. There are just a noise like: "BZZZZZ....." But nothing happens. I tried few impulse frequences : 100,200 ms. Maby my battery amperage is too low.....

Similar Threads

  1. How to interface servo motors using PIC16F84
    By mazmoiz in forum Off Topic
    Replies: 0
    Last Post: - 16th December 2005, 21:02
  2. Please help me about this pic16f84
    By lukeskywalker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd April 2004, 23:30

Members who have read this thread : 1

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