So what do you think about using two debouncing circuits (like this), one for the button near the TX and one for the RX received signal?
Pretty much useless!
OK, you have caught my attention. I watched the video after I realised something obvious and I was (perhaps not surprisingly) right!
The video points out that - despite all his useless mucking about with his form of "de-bouncing" - the radio link is in itself, completely unreliable. If you simply use it to toggle a flip-flop, you will have your night light or room light randomly switching on - and off - all through the day and night!
And of course the reason is that as with my own experiments back in the 1960s, the oh-so-simple receiver here is a superregenerative circuit. In the absence of anything but a very strong signal, it produces a continuous stream of noise, and noise means that part of the time, the output will be HIGH, and part of the time it will be LOW. It is not possible to resolve this either by using delay ("de-bounce") or level sensing circuits because from time to time it will be HIGH for quite a long time, and part of the time it will be very HIGH even without a signal from the transmitter.
And in addition, the superregenerative receiver exhibits "capture" on any signal within a wide frequency range, not just the specific 433.92 MHz of the SAW resonator in the transmitter, but any other frequency in the 432 MHz ISM/ Amateur Radio band.
These communication pairs are (or were) commonly used in car and garage door remote controls such as on my own garage - so you may ask if they are so unreliable, how are they at all useful? :astonished:
Well guess what? By using microcontrollers (or ASICs) - the very thing you keep on fantasising that you do not want to use. :roll_eyes:
They are used by requiring a MCU-generated code to be sent repeatedly by the transmitter, and the MCU-based receiver responds only when it detects the code with complete accuracy and no error at least once.
And yes, there are remote control transmitter and receive pairs available on eBay (I have at least one such in a container here somewhere ...) which incorporate these functions - including the toggle. Lacking the necessary design skills, you are advised to get one for your project. :grinning:
(OK, so that one does not appear to have the toggle. This one does for a dollar extra! :sunglasses: And it controls two lights or whatever.)