Posted: Thu Nov 10, 2011 5:47 pm Post subject: 8 channel interrupt driven dimmer
Hello,
Several year now I use an 8 channel light dimmer, written entirely in assembler (http://www.pcdimmer.de but also published in elektor). I modified it heavily with RS232, LCD, 1-wire, DCF77, IR-control and AD-conversion routines but the resulting spaghetty code is comming out of my ears now I would like to add some fussy-like logic related to the dimmer. So it is complicated enough NOT to continue in assembler and therefore I would like to use a quicker to implement highlevel language such as BASCOM.
Completely rewriting the asembler code or re-inventing the wheel takes up a lot of dangerous experimenting with 230V triac's, etc so I was searching for a BASCOM example. I have seen several single channels, some main-loop solutions (and several C codes but i like the bascom way better) but none where robust enough. The biggest challence is the single directional zero-cross detection whilst triggering both on up and down fase points. I don't mind that to be written in assembler as long as it stays transparent enough to add more (also interrupt driven) code.
The dimmer part would have to operate entirely in Interrupt time and supply at least 8 channels and allow main-loop dimmerlevel updates without causing clitches etc.
Is there anyone who has a good dimmer circuit, wants to share it or knows where to find one. I'd be gratefull!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum