Author |
Message |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Tue Oct 16, 2012 11:56 am Subject: signal phase dimmer code |
Now the firing angle doesn't work. I think I have a problem in the interruption of TIMER1. PLZ help
Here is the code
#include<16F877A.h>
#define adc=10
#use delay (clock =20000000) ... |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Mon Oct 15, 2012 5:35 pm Subject: signal phase dimmer code |
Here is the last version of my code
#include<16F877A.h>
#define adc 0x04;
#use delay (clock =20000000)
#fuses HS,NOWDT, NOPROTECT, PUT, NOLVP
unsigned int alpha=1180;
byte x;
... |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Sat Oct 13, 2012 12:56 pm Subject: signal phase dimmer code |
I haven't test it yet but I just wanted to know your opinion about the changes I made to the code.
Thank you all. |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Fri Oct 12, 2012 4:19 pm Subject: signal phase dimmer code |
Hello
I ameliorated my code and here is it
wish that everything will be fixed
#include<16F877A.h>
#use delay (clock =20000000)
#fuses HS,NOWDT, NOPROTECT, PUT, NOLVP
byt ... |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 5:13 pm Subject: signal phase dimmer code |
My code works well in ISIS simulation but in reality-show it's not same. I want to control dimming light with a triac.
Three things.
1) Forget ISIS. It's so full of bugs you're wasting your time ... |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 4:27 pm Subject: signal phase dimmer code |
I don't understand what you mean by that, not use RB int is that i did wrong (int_ext). |
Topic: signal phase dimmer code |
lindoudaM2
Replies: 23
Views: 29350
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 3:56 pm Subject: signal phase dimmer code |
My code works well in ISIS simulation but in reality-show it's not same. I want to control dimming light with a triac.
Someone help me please to correct my code.
#include <16F877A.h>
#u ... |
Topic: zero crossing detect code |
lindoudaM2
Replies: 4
Views: 9870
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2012 6:09 am Subject: zero crossing detect code |
My code doesn't work well. I have a problem in synchronisation. Help me please.
here is my code
#include <16F877a.h>
#use delay(clock=1000000)
#fuses XT, NOWDT, NOPROTECT, PUT, NOLVP
# ... |
|