Greetings.
Recently I've been thinking about making an IR remote controlled wall plug for AC appliances.
One of the ultimate goals would be to try make something that is as cheap and compact as possible, and microcontrollers take money and space.
The algorithm: When the infrared sensor (TSOP34838 38khz) sends its 32bit serial data, the circuit then reads, stores this data, and checks wether it is the correct signal. If the signal is right, the circuit flicks a toggle switch, which powers a relay to power the appliance. If the signal comes in again, the circuit flicks a toggle switch again to power off the relay.
My question:
What would be the best approach to creating a circuit like this without microcontrollers? I have been thinking about shift registers, but instantly I run into the problem of how would I run the clock at same frequency as serial data. How would I create hard-memory for what the right input signal is? How would I be able to adjust this hard memory to learn a different signal?
Of course I don't expect a full answer, but something's better than nothing ![]()