Building an RF remote control

The easiest solution would be to take a cheap wireless toy car take out its receiver module along with its remote and use them in your robot. The other way round is this to make your own RF remote .

We will be using ASK (Amplitude Shift Keying) based Tx/Rx (transmitter/receiver) pair operating at 433 MHz. The transmitter module accepts serial data at a maximum of XX baud rate. It can be directly interfaced with a microcontroller or can be used in remote control applications with the help of encoder/decoder ICs.

RF Receiver Transmitter Module

The encoder IC takes in parallel data which is to be transmitted, packages it into serial format and then transmits it with the help of the RF transmitter module. At the receiver end the decoder IC receives the signal via the RF receiver module, decodes the serial data and reproduces the original data in the parallel format.

 

RF communication flowchart

 

Now in order to control say a dc motor, we require 2 bits of information (switching it on/off) while we need 4 bits of information to control 2 motors. HT12E and HT12D are 4 channel encoder/decoder ICs directly compatible with the specified RF module. The schematic is as shown below.

 

RF transmitter

RF receiver

 

In order to drive motors, we would need to connect a suitable motor driver at the output of the decoder IC. The motor driver circuit can consist of a relay, transistorized H-Bridge or motor driver ICs like the L293D, L298 etc. 

The example above shows the receiver section using the HT-12D decoder IC for a 4-bit RF remote control system.  Similarly the transmitter and receiver module can also use the Holtek 8-bit HT-640/HT-648L remote control encoder/decoder combination for an 8-bit RF remote control system.

 

Driving a motor through NPN

Driving a motor using PNP

 

Here we have used a flyback protection diode to prevent the damage of the diode. The data output of the decoder ICs should be connected to base of transistor (as shown in the figure).

Tip: Also note that we can also use a Darlington pair ULN2803, as it will provide higher voltage and eliminate the need of flyback diode (as it has an internal diode for protection.

 

Download the datasheets of encoder/decoder -

 

 

  

Comments

Member since:
21 February 2009
Last activity:
7 years 9 weeks

Thank you for your valuable suggestions. The circuit will be revised soon.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

If we use the TX and RX circuitry given above, it will surely not work, Address pins of TX are grounded whereas the address pins of RX are kept open, These pins should be in same state in both the circuits for the TX, RX to function. These circuit will not work at all in the given condition.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

The +12V is supplied at Pin-8 of driver IC not at Pin-16, Pin-16 is Vcc ,i.e,+5V. Please correct the circuit.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

Also instead of directly connecting enable pins of L293B IC to Vcc, we can connect the Pin-17 of decoder HT12D to these enable pins. It reduses power consumption... and workingremains same.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

The pin-17 in receiver circuit is not connectrd, but you can add LED with 1K resistor, this LED will glow only if the address of TX and RX matches, it's very useful while troubleshooting, so i suggest to include this indicator LED.

Member since:
21 February 2009
Last activity:
7 years 9 weeks

The IC being used here is L293B. One can definately use L293D also for the same.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

You can operate them at 5V. But make sure that the supply for motors,i.e., the Vcc at PIN-8 of driver IC L293D is as per the motor rating, othrwise your motors will not rotate.

Member since:
15 March 2009
Last activity:
7 years 41 weeks

There is a error in the IC no. on the figure, it's L293D motor driver IC

Member since:
21 February 2009
Last activity:
7 years 9 weeks

Yes since both encoder as well as decoder ICs operate on 5 volt dc you can use 'duracell voltage of 5 volt dc'.

can you operathis this circuit with a duracell voltage of 5 volt dc.
that each battery has 1.5 volt?