Long distance communication
RS485 over unshielded twisted pair, e.g. cat5, should deliver what you're looking for.  Drivers, receivers and cable are cheap and readily available, and 1km is well inside the working distance for RS485.