3 channel PWM with customize duty cycle


Results 1 to 40 of 57

Threaded View

  1. #30


    Did you find this post helpful? Yes | No

    Default Re: 3 channel PWM with customize duty cycle

    Hi,
    Thanks again for the example. This is my 1st time using PIC Basic pro languange and im trying very hard to learn it. hope you can assist me more in the future.

    i test it and it works fine for all three phases.(according to my value of lookup)
    Phase 1 launch for 17.6ms
    Phase 2 launch at 7ms of the phase 1
    Phase 3 launch at 13.2ms of the phase 1

    now, im trying to add six signal from six port pin connected to the external AND gate so that i can control the the 3 phases.
    Attached is the schematic diagram.

    what should i adjust in the codes so that
    when
    RA1 is high and RA2 is low pwm from ccp1 is launch other word is Q1 is launch and then after 1 complete cycle,
    RA1 is low , RA2 is high Q4 is launch.

    and so on.

    thanks,
    photoelectric
    Attached Images Attached Images  

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