Author |
Message |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Wed Apr 02, 2014 11:14 am Subject: PWM generation using PIC 16F877A MCU |
This schematic is actually on hardware now :( Anyway i use Proteus only to measure the duty cycle of the PWM from PIC. The separate circuits showing the transformer, rectifier share a common ground w ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2014 7:34 pm Subject: PWM generation using PIC 16F877A MCU |
Use http://www.postimage.com or http://www.imageshack.com
or some other free image hosting service.
Upload your schematic to that website. Preferably a .JPG file or some
other commonly used im ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2014 10:27 am Subject: PWM generation using PIC 16F877A MCU |
Hey,
I have actually build (that is almost !!) a multiple input multiple output DC-DC converter. What it does is it basically takes the two voltage sources and converts them to a different level su ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2014 9:17 am Subject: PWM generation using PIC 16F877A MCU |
Yes.
However I'd have to say since you are turning half the MOSFETs all on at once, why not just drive them all from the CCP pins.
Remember that if this is a power switching circuit, logic outpu ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2014 8:10 am Subject: PWM generation using PIC 16F877A MCU |
I'll give you one example:
output_d(0x55);
delay_us(10);
//Will take 10.8uSec (since the output takes 4 machine cycles)
//Each machine cycle is 4 clock cycles = 0. ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Tue Apr 01, 2014 8:05 am Subject: PWM generation using PIC 16F877A MCU |
Hi,
I am not sure about the PWM module built in ............
The CCS example EX_PWM.C even shows how to use the module for an '877!!!!
Mike
I did look into that example code. However, my circu ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Mon Mar 31, 2014 9:55 pm Subject: PWM generation using PIC 16F877A MCU |
Hi,
I am not sure about the PWM module built in or how to use the delay_cycle() to reach the desired freq,since this is my first attempt at PIC programming and i am really running short of time .Cou ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Mon Mar 31, 2014 1:03 pm Subject: PWM generation using PIC 16F877A MCU |
You have to understand that everything takes time.
The output instructions themselves take several instructions (4). The jump back to the start of the loop takes a couple of instruction times(3). Res ... |
Topic: PWM generation using PIC 16F877A MCU |
thebenman
Replies: 21
Views: 29134
|
Forum: General CCS C Discussion Posted: Mon Mar 31, 2014 11:21 am Subject: PWM generation using PIC 16F877A MCU |
Hey,
I wanted to trigger four mosfet to create a DC-DC converter circuit. The pulses must be 10 micro seconds apart and the frequency must be 50Khz. However, when i tried it showed only around 42Khz ... |
|