Say you have 2 copies of some 1kHz wave, a sine or square wave if that's easier, but they are at some random phase, how do you make a circuit with BJT's and/or some basic logic IC's and/or comparators, that would give you both waves now in phase.
Then for example, if I sent a 1kHz squarewave as 5MHz AM signal to an RC car, I could have a reference 1kHz osc onboard, and it would compare any the incoming signal with the ref 1kHz signal. Then I could also do the same with say 17kHz signal to be another command like turn right.
Even if this is not a good way to send commands, how do you make low frequency phase lock circuits ?
Ok for squarewaves anyways, I can do it with 1 inverter, 2 AND gates, and an OR gate, and make a new 3rd signal in phase with the 1st.