Greg it sounds to me like your getting some interference from something. When i was experimenting with using megasquirt for data logging and other functions i found i was getting alot of noise and interference. After countless hours of Internet research I tired using sheilded wire on all my logging components and also isolated grounds for said components. That cleaned up most all the noise.
This is what worked for me.....Good luck


Check out my build on Facebook Ttoad Hurley its updated regularly