Pid Algorithm with Picbasic


Closed Thread
Results 1 to 4 of 4
  1. #1
    Desperate's Avatar
    Desperate Guest

    Post Pid Algorithm with Picbasic

    Hi Everyone..
    I want to control an ac motor driver with PID algorithm. The driver needs 0-10V contol voltage. I get the control voltage by an 8bit DAC that is conneted to one of the ports of 16f877. I use a takogenerator for feedback. The problem is that : I couldn't succeed writing the codes in PBP. Can anyone help me about that or send me the picbasic codes of a similar PID project? Thanks...

  2. #2
    jurie's Avatar
    jurie Guest


    Did you find this post helpful? Yes | No

    Default

    You can find PID example code in the Industrial Controls Tutorial from Parallax

    Regards

    Jurie

  3. #3
    vsingh's Avatar
    vsingh Guest


    Did you find this post helpful? Yes | No

    Default

    Really useful code examples for PID on www.jashaw.com. Buy his book too.

    - V

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Update:

    I sit in the Who's Online page a lot, and I keep seeing people reading this thread ...

    So I just wanted to say that about 3 years later HenrikOlsson posted a nice implementation of the Parallax PID routines for PicBasic Pro.

    PID-filter routine (2nd try).
    http://www.picbasic.co.uk/forum/showthread.php?t=5874

    hth,
    DT

Similar Threads

  1. PID controller in 16F737
    By joeri in forum mel PIC BASIC
    Replies: 8
    Last Post: - 24th June 2006, 11:39
  2. Picbasic VS C Compiler
    By koossa in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 11th October 2005, 21:44
  3. Replies: 22
    Last Post: - 12th July 2005, 17:39
  4. PicBasic Fundamentals
    By Billyc in forum General
    Replies: 9
    Last Post: - 4th May 2004, 10:04
  5. PicBasic Pro & PicBasic syntax different
    By Billyc in forum General
    Replies: 5
    Last Post: - 16th April 2004, 21:19

Members who have read this thread : 2

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