POT command


Closed Thread
Results 1 to 4 of 4

Thread: POT command

  1. #1
    Join Date
    Apr 2007
    Posts
    2

    Default POT command

    hi there

    i am a mechatronics engineering student and about to make a dc motor servo control, and i don't want to be involved into (Analog to digital) stuff.

    i want to use the POT to take the feedback signal from the tachogenerator (small dc motor with 6 volt rated) and change the control signal according too it, so as the speed changes the PIC start the compensation for the error.

    waiting for your help

    thanks in advance.

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Helios, The POT command executes a charge and discharge of a capacitor connected to a resistor (pot) connected to 1 pin of the processor. The time is then measured and a value is made available. For the input you have available you will need an A/D channel to evaluate the speed. Sorry.....

    Dave Purola,
    N8NTA

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


    Did you find this post helpful? Yes | No

    Wink A/D Without A/D chip ... possible !!!

    Hi, Helios ( The sun ... wow !!! )

    Try to use RCTime instead of POT, to measure a voltage ... there are applications on the Web.

    BUT you'll have to use a Lookup table ... as response to voltage give an exponential law.
    also ... no measure below 1.5v !!!

    See µChip DS 40040B

    See Nuts and Volts Vol1 p 133 ( Parallax site ) : The real way of POT working !!!

    see also : http://www.emesystems.com/BS2rct.htm

    MY Thought ... if you see how simple it is to use an ADC ( PIC or outside ) ... the soft programming work with POT orRCTime looks like using a hammer and chisel to program the Chip !!!

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

  4. #4
    Join Date
    Apr 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    thanks guys for help, i really appreciate this

    and i 'll use the A/D instead of POT after i saw the site which acetronics sent ... it is a hilti issue :d

    thanks again.

Similar Threads

  1. Using the Pot command.
    By timseven in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th August 2009, 20:23
  2. PBP2.50b and POT command problem ?
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th October 2008, 17:14
  3. Replies: 4
    Last Post: - 24th January 2007, 22:20
  4. pot command
    By lerameur in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 25th November 2006, 04:12
  5. Can I do this???
    By noobie in forum mel PIC BASIC
    Replies: 2
    Last Post: - 10th June 2006, 18:57

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