Remote Control RF Modules.

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Remote Control RF Modules.

Post by JohnCrow »

Introduction:

While browsing one of my regular component supplier websites the other day, I spotted these lovely little RF receiver modules.

They have 4 separate outputs, which can be (depending on the version of the board) latching or momentary.
They operate at 315 MHz, and a matching remote keypad is also available.

The Modules are under £5 each and the remote is £5.40

They use the PT2272-M4 (Latching) and SC2272-T4 (Momentary) devices.

The first thing I noticed when I received the modules, was that one side of the main IC was unsoldered.
The supplier confirmed all their stock was like this, and they were tested and working.

On closer examination, it was seen that the pads did not actually have any tracks to them.

The board was connected to a 5V supply, and 4 LEDs and resistors connected to the output pins and down to ground.

Pressing the corresponding key on the remote pad, caused the LED to light.
The range was found to be very good. I could get it to work with the module in the upstairs front and the remote outside at the back of the house.

One downside is the modules as they are supplied are not addressable so if you have more than one board, when you activate the remote, that pin will go high on all powered modules in range.
Though after looking at the data sheet, I believe the IC’s used are capable of being addressed, by means of the unconnected pins on the IC.

They can be obtained in the UK from
http://www.hobbytronics.co.uk

In the States, I believe they can be obtained from Adafruit.

Datasheets for the control devices can be found in various sites, including here.

Latching Board
http://www.adafruit.com/datasheets/PT2272.pdf

Momentary Board
http://www.sc-tech.cn/en/SC2272.pdf

Using With Microcontrollers:

Hardware

Custom 4 x 20 LCD Board.
EB006 Programming Board.
EB016 Prototype Board.
Jumper wires.
LEDs.
Resistor.

The module was connected to the microcontroller PORTA

Out 0 – A3
Out 1 – A2
Out 2 – A1
Out 3 – A0

5V and ground being taken from the EB006

The LCD display was connected to PORT B.
I used my custom board to enable more data to be shown.

A simple Flowcode program was produced to show the binary state of each pin on the display.

A fifth output pin (VT) is also available; this goes high when the received data is valid.
The line is only held high for as long as the RF signal is being received.


Conclusions:

This is not meant to be an in depth project, but just to share the concepts of a usable and inexpensive RF module.

A couple of example flowcharts have been attached using both FC5 and FC6.

Could be a future idea for a FC6 component. :D
Module.jpg
Module.jpg (41.44 KiB) Viewed 17363 times
Protoboard.jpg
Protoboard.jpg (39.27 KiB) Viewed 17363 times
The LED is connected to the VT and lights when a valid data pulse is received.
Control.jpg
Control.jpg (25.19 KiB) Viewed 17363 times
RF Module.zip
(5.81 KiB) Downloaded 945 times
1 in 10 people understand binary, the other one doesn't !

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Remote Control RF Modules.

Post by medelec35 »

Thanks John.

I have been looking for a reasonable priced RF transmitter and receiver.
You have posted a link to one for which I'm grateful.

Just ordered a set :)

As always, thank you for sharing.

Martin
Martin

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times
Contact:

Re: Remote Control RF Modules.

Post by brandonb »

for guys in the states they have those at adafruit http://www.adafruit.com/products/1096

DevinAbbott
Posts: 1
Joined: Fri Oct 11, 2013 10:51 am
Contact:

Re: Remote Control RF Modules.

Post by DevinAbbott »

Thanks for sharing detailed information John.. I am looking to get new transmitter and receiver and the information will help me..
Last edited by EtsDriver on Sun Aug 06, 2017 8:48 am, edited 1 time in total.
Reason: Removed unneeded quote

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Remote Control RF Modules.

Post by Steve001 »

Hi John,

Thought of using these little devices and a possible future project after testing a onload tap changer this morning, It would make the job a lot easier and safer .

How did you find the range on them ? the ok for 3 - 4 meters away ? what they like if metal objects in way of 'line of sight' ?

Regards

Steve
Success always occurs in private and failure in full view.

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Remote Control RF Modules.

Post by JohnCrow »

The main problem with these modules (which I only realised after buying them and chatting with Martin, are they are not licensed for the UK :x.)

I have just found another source of the RX board which is on 433 MHz, and that is usable in the UK. They only have the non latching version, but it is identical the one I used above apart from the frequency.
Sadly they don't have that nice key fob, but they have this TX board that can soon be wired up on a protoboard with some switches and resistors.

http://hobbycomponents.com/index.php/mo ... s.html?p=2
Full.jpg
Full.jpg (76.49 KiB) Viewed 16174 times
Closeup.jpg
Closeup.jpg (75.25 KiB) Viewed 16174 times
1 in 10 people understand binary, the other one doesn't !

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Remote Control RF Modules.

Post by JohnCrow »

I have just sourced a remote control for these type of modules that works on 433 MHz

This means it is totally legal to us in the UK.
DSC01062b.JPG
DSC01062b.JPG (52.86 KiB) Viewed 10384 times
Remote-Test-Switch.fcfx
(10.6 KiB) Downloaded 393 times
Using the above simple test program, the output stays high while the keypad is pressed.

The remote and a 4 channel receiver costs £3.99 inc VAT.
http://www.hobbycomponents.com

For users in the UK they are based in Chesterfield, Derbyshire.

A nice touch on the remote is:
DSC01065a.JPG
DSC01065a.JPG (52.45 KiB) Viewed 10383 times
1 in 10 people understand binary, the other one doesn't !

Post Reply