Hi all,
I'm using these cheapy RF transmitter and receivers:
I've hooked them up to HT12E and HT12D serial encoder/decoders and hooked the decoder outputs to a motor driver IC.
I'm having the following issue:
The circuit all works perfectly when I have the transmitter antenna almost touching the receiver antenna, I.E. I press a button on the transmitter side and the motor spins the correct direction. I release the button and the motor stops spinning.
However, if I move any distance away and press a button the motor will start to spin but will continue to spin once I release the button SO, the receiver gets the signal to start spinning the motor but doesn't seem to realise the signal has stopped being transmitted by the transmitter. I have an LED hooked up to the HT12D which shows when the IC is receiving a signal. It goes out when a signal is being received and come on again when nothing is being received. In the above situation where the motor continues to spin the LED remains off so it seems the IC thinks it is continuing to receive a signal when it isn't!
It's an odd problem since the transmitter and receiver are obviously making a connection in order to start the motor spinning in the first place but something is going wrong when the signal ceases from the transmitter and the receiver doesn't realise that. Once I move the transmitter closer to the receiver the motor will then stop spinning.
SO in summary I guess I'm asking why does the receiver pick up when the signal starts but not when it stops? (you're answer might be stop being a cheapskate and using cheap RF components.
The circuits I'm using are below. Thanks in advance.
Note in the below schematic the D0-3 pins are actually connected t the motor driver inputs.
I'm using these cheapy RF transmitter and receivers:
I've hooked them up to HT12E and HT12D serial encoder/decoders and hooked the decoder outputs to a motor driver IC.
I'm having the following issue:
The circuit all works perfectly when I have the transmitter antenna almost touching the receiver antenna, I.E. I press a button on the transmitter side and the motor spins the correct direction. I release the button and the motor stops spinning.
However, if I move any distance away and press a button the motor will start to spin but will continue to spin once I release the button SO, the receiver gets the signal to start spinning the motor but doesn't seem to realise the signal has stopped being transmitted by the transmitter. I have an LED hooked up to the HT12D which shows when the IC is receiving a signal. It goes out when a signal is being received and come on again when nothing is being received. In the above situation where the motor continues to spin the LED remains off so it seems the IC thinks it is continuing to receive a signal when it isn't!
It's an odd problem since the transmitter and receiver are obviously making a connection in order to start the motor spinning in the first place but something is going wrong when the signal ceases from the transmitter and the receiver doesn't realise that. Once I move the transmitter closer to the receiver the motor will then stop spinning.
SO in summary I guess I'm asking why does the receiver pick up when the signal starts but not when it stops? (you're answer might be stop being a cheapskate and using cheap RF components.
The circuits I'm using are below. Thanks in advance.
Note in the below schematic the D0-3 pins are actually connected t the motor driver inputs.
Last edited by a moderator: