Another trick worth mentioning is to use a 595 with two sufficiently different tau RC integrators at the inputs. With the built-in Schmitt triggers these form monostable multivibrators and allow piggy-backing of the strobe signals on the data line. One can further steal the idea from the Dallas 1-wire chips and by adding a diode merge the VDD and the data line. By PWMing the VDD it becomes a truly one-way 1-wire digital link. Now, if the current consumption of the receiver is known, the receiver can connect (or not) a digitally controlled load, say 3x the current consumption for easy discrimination. The transmitter now sees I_load or
3xI-load and a receiver -> transmitter channel is formed with the same VDD line. You end up with a bidirectional 1-wire link using jellybean parts at the receiver end. The complexity is in the transmitter.Best regards, Piotr