Thanks Charles,
I do have several .1uF caps throuout th PCB and I am also using a temperature compensated Crystal Oscillator which is as close as physically possibe to the PIC.
The problem I am having seems to only be with the one sensor. If not connected then everything works as expected.
I was suspecting that the AC Invertor or the AC motor were creating some EMI that caused problems with the sensor.
I am using is a Geartooth Hall Effect sensor which is embeded in the gearbox on the output of the motor. It is very close to the motor itself. I don't know if this makes any differense or not.
Bookmarks