RF-TX-315 & RF-RX-315
RF Modules are used wireless transfer data and low cost application . This makes them suitable for remote control applications, as in where you need to control some machines or robots without getting in touch with them (may be due to various reasons like safety, etc). Now depending upon the type of application, the RF module is chosen. For short range wireless control applications, an RF Transmitter-Receiver Module of frequency 315 MHz is the most suitable type. This RF modules are works with PT2262(encoder) and PT2272(decoder) as remote control.
- Frequency: 315Mhz
- Modulation: ASK
- Transmitter input voltage: 3-12V
- Transmitter(RF-TX-315) and Receiver(RF-RX-315)
- Range in open space(Standard Conditions) : 100 Meters
- CMOS Technology Low Power Consumption
- Very High Noise Immunity
- Up to 12 Tri-State Code Address Pins
- Up to 6 Data Pins
- Wide Range of Operating Voltage: 4v-15V
- Single Resistor Oscillator
Due to the usage of PT2262 and PT2272 ICs, the MCU was not need in this case as to work with the RF modules. The video on how the RF modules functioning was shared at the end of this tutorial.
Hardware and Accessories
1 x RF-TX-315 1 x RF-RX-315 1 x IC-PT-2262 1 x IC PT2272-M4 2 x IC 74HC107N 4 x Songle Relay SRD 05V 2 x Voltage Regulator +5V 4 x 25V,100uF E-cap 4 x C-cap 0.1uF 4 x Transistor 2N2222 6 x LED 5mm 8 x Diodes 1N4148 1 x 4.7M ohm 1 x 820k ohm 1 x 47k ohm 8 x 10K ohm 4 x 2K7 ohm 4 x 1K ohm 5 x 220 ohm 2 x IC Socket-18 pin 2 x IC Socket-14 pin 4 x 3 pins Terminal Block 4 x Push Button 4Pin 1 x Straight Female Header 1×10 Ways
2 x Donut Board Fluorescent lamps
2. Next, cut the 1×10 ways of female header into 1×3 ways and 1×4 ways respectively.
3. Soldered the components onto the donut board.4. The following are the schematics and the sample circuit connections provided a) Transmitter – RF-TX-315 with the IC PT 2262 i) Schematic (Click to Enlarge)
ii) Sample Circuit Connection (Click to Enlarge)Front View Back View
iii) Actual Circuit Connection
b) Receiver – RF-RX-315 with the IC PT 2272
i) Schematic(Click to Enlarge)
ii) Sample Circuit Connection (Click to Enlarge)Front View (Click to Enlarge) Back View (Click to Enlarge)
iii) Actual Circuit Connection**Note:Due to the IC PT-2272-M4 is momentary type, it will only received data when the address bits of the IC was matching with the PT2262. If the address bits was not match(the data will only be received by PT2272 if the button was being pressed and did not released at the transmitter board), this IC will remain in stand by mode. The IC operations was shown by the flow chart at the below.
PT2272-M4 data received flow char (Click to Enlarge)~ JK Flip Flop truth table ~ Some part of the circuit connection in between JK flip flop with PT-2272-M4
**Hence JK flip flops were introduced as to retain the output state of the data received even though the address bits of the PT2272 did not match with the PT2262’s address bits. The JK flip flops(IC 74HC107) were used in here as to test the previous state of the Led, where the Led used to represent the fluorescent lamp.
*Based on the schematic provided, the output Q was feedback to input,K while the data of the PT-2272-M4 was directly connected to the another input, J and the clock of the JK flip flop. As the button on RF-TX-315 board being pressed, the data pin of PT2272 will received 1. Hence it will activated the JK flip flop and set the output, Q as 1 (J = 1 & K = 0). The corresponding Led will light up and switch on the relay.
*If the same button was being pressed again, the input J and K will compared with each other and toggle the output(J = 1 & K =1). Now the output was becoming 0. The Led and the relay will be switch off.5. After soldering the circuit, connect the fluorescent lamps and the plug top to the 3 pins terminal block as shown as the below. CAUTION: PLEASE BE CAREFUL AS YOU ARE DUELING WITH AC VOLTAGE
i) Schematic (Click to Enlarge)
ii) Circuit connection (Click to Enlarge)
6. Plug in the 12V adaptor to the transmitter(RF-TX-315)board and the receiver(RF-RX-315)board respectively.7. Press the push button on the RF-TX-315 board and observed the result obtained. In this tutorial, only 2 fluorescent lamps were using. Basically the same steps for operating 4 lamps.
i) Only Button 1 was being pressed (Click to Enlarge)
ii) Only Button 2 was being pressed (Click to Enlarge)
iii) Button 1 and Button 2 were being pressed (Click to Enlarge)The demonstration is shown by a short video below:
The tutorial end here.