How much current can the reed switch sink (datasheet link?) and what value do you have on the pullup resistor?
It might suffice to simply put in a stronger pullup.
Another thing to think thru is to what the various signals are referenced and how the signal currents flow, do the signal current share paths with any high current signals etc.
A cheap, easy and good way to interface stuff to the "real world" is to use opto-isolators. That way the controller is isolated from the "real world" and the reed-switch (in this case) would be driving a LED which takes quite a bit of current, not likely that noise is going to turn it on.
I'd try with a stiff pullup to begin with.
/Henrik.
Bookmarks