How do i get pwm oscillator with pic16c56a


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    5

    Question How do i get pwm oscillator with pic16c56a

    ANYONE can help me to generate the program of a pwm 50 HZ oscillator for an inverter.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    May 2007
    Posts
    5


    Did you find this post helpful? Yes | No

    Smile Re:

    Hi
    I tried on ur suggestions but i donot found any thing.


    Best regards


    mubashir

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    You have to put a bit of effort into things yourself bud. Try generating some code to do what you want, submit it here if you still have problems and there's a good chance that someone will help.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mubashir View Post
    Hi
    I tried on ur suggestions but i donot found any thing.


    Best regards


    mubashir
    DEFINE OSC 4
    output portb.0

    main:
    low portb.0
    pause 10
    high portb.0
    pause 10
    goto main

    there's your 50Hz output, 10ms low, 10ms high, 20ms total period...
    1 seconds / 20ms = 50Hz...
    Was it really that difficult?

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM 'channels ...what's that all about then!
    By HankMcSpank in forum General
    Replies: 5
    Last Post: - 23rd April 2009, 16:49
  4. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

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