Hi all,
Been ages since I posted, but I have not forgotten about you all even though i did cross over to the "dark side" for a while.
I am working on a new project (netduino 2 based this time) and need some info. In the project I am doing I need to control the AC phase (for dimming). Using some Arduino projects as templates I have the Zero Cross signal coming in as an interrupt (this was the easy part) but I have hit upon an issue. For each channel I want to dim I have to attach a separate interrupt, as the dimming level for each might be different and I need to pause for the time equal to the delay needed. I pause in my breadboarding cause I think I will run into a timing issue. so here are my questions:
- Has anyone tried to do AC phase control with a netduino? when I did my Track Timer I do remember a lag in interrupts but as i was using the interrupt timestamp and for my offset calculations it did not matter.
- In order for this to work I need to have 8+ Interrupts attached to the same pin, is that possible?
- Then I need each of those to process at the same time (multi-threaded) is that possible given that the interrupt will fire every 16.6ms (1000/60)?
Any other thoughts would be helpful.
Thanks!