I can't put a pull down resistor on there because grounding the contact I am trying to connect to will make it not function.

Is there any other way to make it accept .4v as low? Coding tricks or anything?