i have connected a magstrip reader to my mega2650 i can get it to read most of the time
one of the inputs it use is card detected.
in my test proram i have led 13 lighting up when the input (using pin 4) detects the card in
when a card in inserted into reader it grounds that pin
the problem is if i move my hand close to the reader it will trigger that pin 4 input.
what can i do to the connection at pin 4 to keep the interference out and ensure it only detects when the switch is pushed
If the metal frame isn't already connected to the card reader ground inside the card reader (which you can check with a multimeter), then try grounding the metal frame.