Controlling multiple switches with multiple relays from a distance

I am looking to control 20 relays with 20 switches. The switches will be approximately 50 feet from the relays. Is there a way to control the relays through a single pair of wires, similar to the way DMX works?

Thanks, Jim

you could use a couple of Arduino Megas

one to read the 20 switches the other to drive the relays communicating over RS485

Okay, thank you. That looks like it should work for me. I will get a pair of them and try them out. Thanks so much.