??? 12/29/06 12:17 Read: times |
#130225 - Dimmers Responding to: ???'s previous message |
The phase delay is about 2.5mS. The hardware filter I use consists of a 15k resistor in series from the transformer secondary with a 10nF and 39k resistor in parallel to 0V. This drives a npn transistor the collector of which has a pullup resistor to 5V and drives the interrupt. I add/subtract a constant time value to correct for the phase shift. Most of the filtering is done in the software by a frequency and phase locked loop. In Australia some cities have a mains signalling technique called Zellweger. This is a large amplitude signal of a few khz injected onto the mains for off-peak power control. It is not synchronous with the mains and gives you bad zero crossing signals when it occurs in zero crossing time. This upsets most phase controlled dimmers. Thus the need for phase and frequency locking. also when people turn appliances on and off causes flashing of phase controlled lamps on many dimmers - the phase and frequency locking fixes this also. For the technique of decoding manchester encoded signals see this: http://clearwater.com.au/?action=code As for sample code in assembler - you're out of luck. I wrote mine in 'c', but not the same way the writer of the above site used. Once you understand the technique the code is quite simple. I also used these techniques for receiving DALI encoded messages. |
Topic | Author | Date |
Multiple Interrupts with Infrared RC5 | 01/01/70 00:00 | |
Must be the technique you are using | 01/01/70 00:00 | |
Test Zero Cross | 01/01/70 00:00 | |
Couple of questions | 01/01/70 00:00 | |
Do you disable interrputs when you are in ISR? | 01/01/70 00:00 | |
use priority | 01/01/70 00:00 | |
Peter,Please clarify | 01/01/70 00:00 | |
RC5 within interrupt | 01/01/70 00:00 | |
RC5 polling | 01/01/70 00:00 | |
Quality workmanship... | 01/01/70 00:00 | |
workmanship | 01/01/70 00:00 | |
Dimmers | 01/01/70 00:00 | |
Russel Please | 01/01/70 00:00 | |
Some more points | 01/01/70 00:00 | |
Dimmers | 01/01/70 00:00 | |
that does not make sense | 01/01/70 00:00 | |
Divide and Rule | 01/01/70 00:00 | |
instead of using your first choice, you state:![]() | 01/01/70 00:00 | |
C sample code | 01/01/70 00:00 | |
Let me assimilate your code first | 01/01/70 00:00 | |
.LST? | 01/01/70 00:00 | |
About the 4n35 | 01/01/70 00:00 | |
Thanks Jerson ,I corrected the picture | 01/01/70 00:00 | |
Here | 01/01/70 00:00 | |
F629FAN Schematic | 01/01/70 00:00 |