Keeping it simple would someone show me how to wire the AVR Mega8 chips to except 40 to 50 high or low inputs, transmit these inputs via a single RS232 cable to a simular chip set that will give a high or low output corrosponding to the same position inputs. The programing can come later.
Need MUX circuits to handel 40 to 50 inputs.Carried over RS232 wiring. To be DEMUXed with the same number outputs.
Inputs not data string only two states (0) or (1).End results to control LED's and relays corresponding to input positions.