need a pic basic program


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,689


    Did you find this post helpful? Yes | No

    Default Re: need a pic basic program

    simple pwm is not what you want for a triac regulator , search this forum for light dimmer projects , one of them should give you some ideas

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: need a pic basic program

    Phase control with feedback has several hardware/software functions that must work together.
    I break down each function to its own operation and write the program so each function can be tested separately.... then the main program brings the functions together.
    For Phase control you may need.....
    -zero cross detector circuit and software (requires interrupts by microprocessor)
    -Triac drive function ckt/routine , pulsed or timed pulse for inductive loads (inductive loads can 'bounce triac off at wrong time if gate not held on)
    - voltage feedback ckt/routines.....takes some smoothing hardware to get reasonable DC level from the AC voltage.
    - a main program loop to combine all the functions, control/on/off, adjust parameters, check and handle errors etc.
    Breaking projects down to testable individual parts has been the easiest method to make working stuff for me.
    don

Similar Threads

  1. serial interface pic 18f452 using pic basic pro
    By syed ahmed in forum Serial
    Replies: 0
    Last Post: - 16th May 2010, 06:46
  2. Transfer Program PIC to PIC
    By kelip2 in forum USB
    Replies: 0
    Last Post: - 14th April 2010, 15:12
  3. PIC BASIC or PIC BASIC PRO
    By kirkmans in forum USB
    Replies: 3
    Last Post: - 20th April 2007, 01:52
  4. HEX to Basic or any workage program
    By assouad in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd April 2007, 15:38
  5. Replies: 5
    Last Post: - 17th January 2006, 20:26

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