See my 'converter circuits' for a circuit diagram of a relay - based digital display to decimal converter, and a couple of other ways of making circuits talk to each other