Hi everyone, I'm building a device which controls temperature. Currently I'm using an 18b20 to pick up the temperature and I also have to detect zero crossing on a 50hz ac waveform on portb.0 so I can fire a triac on cirtain 0-10ms periods. I'm using a 16f628 at 4meg. it is critical that the phase controling is not interupted while gathering the temp from the 18b20 however I'm having trouble due to the time being needed to access the temperature. Does anybody know if it is at all possible to do this using the interupt on portb.0 or am I just barking up the wrong tree using this 18b20 or should I use something like a 16f88 and an lm35 with some kind of voltage ref? thanks in advanced
Bookmarks