Author |
Message |
Topic: need help with PWM |
aliaj00
Replies: 5
Views: 9895
|
Forum: General CCS C Discussion Posted: Thu Jun 20, 2013 11:29 am Subject: thanks |
hi the issue that i got on compiling is the following:
error 167 test-struct.c line26 assignment invalid: lValue is READ ONLY
i made a test program as the following to check but it has the same ... |
Topic: need help with PWM |
aliaj00
Replies: 5
Views: 9895
|
Forum: General CCS C Discussion Posted: Thu Jun 20, 2013 9:37 am Subject: need help with PWM |
hi guys
I have put up a small frequency generator using the pwm of the pic16f887. I have tested small code to check the generation of different PWM from serial input. But i want to input the frequen ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Fri May 20, 2011 5:15 am Subject: pic16F887 Half Bridge problem |
In my code it is working but when I connect the 2n3417 to the IRFP31N50L both IRFP-s start I noticed a spike from one output to the other one that is triggering the transistors. Have anyone the idea h ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Tue May 17, 2011 10:31 am Subject: pic16F887 Half Bridge problem |
thanks a lot
i will do it.
i tested with the bc557 and irfp31n50l and it seems to work not much measuring but at least it still not burned. i got an 2n3440 and will try it with the irfp31n50l ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Tue May 17, 2011 5:56 am Subject: pic16F887 Half Bridge problem |
i will try to put a bc557 and an irfp31n50l as the driver as it have 30AMP and use the bc557 as phase corrector. |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 7:43 am Subject: pic16F887 Half Bridge problem |
thanks a lot,
i am just new with the pics after PC programming, networking and electronic stuff.
PS. by the way do you have a code snippet for this. |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 6:59 am Subject: pic16F887 Half Bridge problem |
can i put a push button on it and generate a interrupt so when i want to update the timing i can trigger the rs232 code and than to have it running without the rs232 routine.
BR's
Shpetim Aliaj |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 6:56 am Subject: pic16F887 Half Bridge problem |
i have tested in the 5.06Khz to 32 khz |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 6:55 am Subject: pic16F887 Half Bridge problem |
the darlington are 2SD2390 each with 10 AMP of load or more. i attached the metallic radiator to them and also a cooler on each one of them as the heat generated was burning them "with only metal ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 2:58 am Subject: pic16F887 Half Bridge problem |
Hi PCM programmer,
how can i insert a rs232 into the code to change the parameters but not to loop through it in the while statement, as i will be forced to enter an answer each time. ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Mon May 16, 2011 1:33 am Subject: pic16F887 Half Bridge problem |
It is just the pic debugger with the 16F887 on it. and on RB1 RB3 there are the darlington with 500 Ohm resistance on the base. I didn't made a schematic for it as it has fewer than 10 Elements. |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Sun May 15, 2011 11:21 am Subject: pic16F887 Half Bridge problem |
Yes I just uploaded it now.
http://imageshack.us/photo/my-images/823/506khzsofthalfbridgefix.jpg/ |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Sat May 14, 2011 7:00 pm Subject: pic16F887 Half Bridge problem |
dont know how to attach screenshot here |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Sat May 14, 2011 6:56 pm Subject: pic16F887 Half Bridge problem |
also cleaned the code now it looks now:
#include "D:\documents and settings\Administrator\Application Data\PICC\Projects\soft-pwm.h"
//#include <pic.h>
void main(& ... |
Topic: pic16F887 Half Bridge problem |
aliaj00
Replies: 34
Views: 70033
|
Forum: General CCS C Discussion Posted: Sat May 14, 2011 6:52 pm Subject: pic16F887 Half Bridge problem |
:P found it was the reverse diode at the 7805. :P. i should have seen it. |
|