Searching \ for '[PIC] Compare Mode' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Compare Mode'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Compare Mode'
2020\09\07@222739 by Harold Hallikainen

flavicon
face
This sounds like a phase control light dimmer! I did a four channel one
with a single CCP register, figuring out which triac I needed to turn on
first, loading the CCP register with that value, then when I got the
interrupt, turned on the triac and loaded the CCP register with the next
value I needed. I have not looked at that in a long time (more than 10
years). I think I started with a 17C42 and ended up using an 18F452. If
indeed you're doing a light dimmer, I'd load the CCP registers and clear
the timer, and turn off the outputs on a zero cross. Then each CCP
interrupt would turn on an output and clear the interrupt flag.

This is probably not much help since it's been more than 10 years since I
worked on it.

Good luck!

Harold


{Quote hidden}

-- FCC Rules Updated Daily at http://www.hallikainen.com
Not sent from an iPhone.
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist
.

2020\09\07@232314 by Harold Hallikainen

flavicon
face
Glad you found the problem!

Harold

{Quote hidden}

-- FCC Rules Updated Daily at http://www.hallikainen.com
Not sent from an iPhone.
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
mailman.mit.edu/mailman/listinfo/piclist
.

More... (looser matching)
- Last day of these posts
- In 2020 , 2021 only
- Today
- New search...