I am using an Axe110 datalogger with a 18M2.
I have a simple normally open reed switch connected between power and input 2, the reed switch is connected via 300mm of insulated wire (not shielded cable). The Picaxe registers a changed input when I touch the reed switch wires, initially it was setup to use an interrupt, but the same applies even when using a simple “if pin2 = 1 then flash a led”.
When I replace the 18M2 with an 18X the problem disappears, I am guessing this has to do with the ‘touch’ capabilities of the 18M2.
Any suggestions to reduce the interference?
thanks
Martin
I have a simple normally open reed switch connected between power and input 2, the reed switch is connected via 300mm of insulated wire (not shielded cable). The Picaxe registers a changed input when I touch the reed switch wires, initially it was setup to use an interrupt, but the same applies even when using a simple “if pin2 = 1 then flash a led”.
When I replace the 18M2 with an 18X the problem disappears, I am guessing this has to do with the ‘touch’ capabilities of the 18M2.
Any suggestions to reduce the interference?
thanks
Martin