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 -





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

You can use L293B H-bridge for controlling 2 dc motors as shown below in the figure.

Circuit diagram of L293B with HT12D


How can I use this circuit to control 2 dc motors and the direction in which they rotate?