rf module interfacing
TRANSCRIPT
RF MODULE INTERFACING
SERIAL/PARALLEL COMMUNICATION
Serial Communication
Parallel Communication
1. One data bit is transceived at a time
1. Multiple data bits are transceived at a time
2. Slower 2. Faster
3. Less number of cables required to transmit data
3. Higher number of cables required
RF MODULE PIN CONFIGURATION(TRANSMITTER)
Pin No. Name Function
1 GND Ground (0V)
2 DATA Serial Data Input
3 VCC Supply Voltage (5V)
4 ANT Antenna Output
RF MODULE PIN CONFIGURATION(RECEIVER)
Pin No. Name Function
1 GND Ground (0V)
2 Data Serial Data Output
3 Data (NC) Serial Data Output (No Connection)
4 Vcc Supply Voltage (5V)
5 Vcc Supply Voltage (5V)
6 GND Ground (0V)
7 GND Ground (0V)
8 ANT Antenna Input
HT12E (PIN DESCRIPTION)
Pin No.
Pin Name Description
1-8 A0 ~A7 Input pins for Address settings
9 VSS Negative power supply, ground
10-13 AD8~AD11
Input pins for data D8~D11 setting and transmission enable, active low (These pins should be externally set to VSS or left open)
14 TE Transmission enable, active low
16 OSC1 Oscillator input pin
15 OSC2 Oscillator output pin
17 DOUT Encoder data serial transmission output
18 VDD Positive power supply
HT12D (PIN CONFIGURATION)
Pin No.
Pin Name Description
1-8 A0 ~A7 Input pins for Address settings
9 VSS Negative power supply, ground
10-13 D8~D11 Output data pins, power-on state is low.
14 DIN Serial data input pin
16 OSC1 Oscillator input pin
15 OSC2 Oscillator output pin
17 VT Valid transmission, active high
18 VDD Positive power supply
+9 Volts
Ground
Microcontroller
Encoder
RF Transmitter
Input
RF Receiver
Decoder
Microcontroller
Output
RF CAR
Input
Encoder
RF Transmitter RF Receiver
Decoder
Motor Driver
Output (To Motors)