2KM Long Range RF link kits w/ encoder and decoder

wireless communication and related Bees.

2KM Long Range RF link kits w/ encoder and decoder

by ldupuy » Fri Jun 12, 2009 6:05 am

Hello,

I am a bit lost with this kit, Do you have some link or sample program to simply interface the seeduino with this kit ?

thanks a lots,

Laurent
Newbie
Newbie
 
Posts: 3
Joined: Fri Jun 12, 2009 5:58 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by Miles » Fri Jun 12, 2009 6:48 am

ldupuy wrote:Hello,

I am a bit lost with this kit, Do you have some link or sample program to simply interface the seeduino with this kit ?

thanks a lots,

Laurent

Hi Laurent,

Have you had a chance to read through SparkFuns guide

http://www.sparkfun.com/datasheets/RF/K ... hrough.pdf

It is (or should be) very easy to communicate over the Seeed radios.

Let me know how you get on.
Miles
Many Thanks,
Miles
---------------
Software Engineering meets Physical Computing. Fantastic, I wish we had this good 20 years ago.
Soldier
Soldier
 
Posts: 91
Joined: Thu Apr 23, 2009 7:41 pm
Location: UK London

Re: 2KM Long Range RF link kits w/ encoder and decoder

by ldupuy » Fri Jun 12, 2009 4:05 pm

Hello,

Thanks for your answer, i have already read this doc.
but the 2KM Long Range RF link kits isn't the same device for exemple this device has 4 data D1,D2,D3,D4 and one VT.

Laurent
Newbie
Newbie
 
Posts: 3
Joined: Fri Jun 12, 2009 5:58 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by Miles » Sat Jun 13, 2009 4:18 am

ldupuy wrote:Hello,

Thanks for your answer, i have already read this doc.
but the 2KM Long Range RF link kits isn't the same device for exemple this device has 4 data D1,D2,D3,D4 and one VT.

Laurent

Hmm, I'm sorry i cant be of any more help then.

Hopefully the SeeedStudio guys can drop a reply and clear up any issues.

Miles
Many Thanks,
Miles
---------------
Software Engineering meets Physical Computing. Fantastic, I wish we had this good 20 years ago.
Soldier
Soldier
 
Posts: 91
Joined: Thu Apr 23, 2009 7:41 pm
Location: UK London

Re: 2KM Long Range RF link kits w/ encoder and decoder

by Albert.Miao » Thu Jun 18, 2009 12:51 pm

Hello,
Here is the demo application.
Please download the attached file.
NOTE:
The TX_module and RX_module must have 1m apart.
Thanks
Albert
2KM_RF.rar
(902.07 KiB) Downloaded 843 times
User avatar
Sergeant
Sergeant
 
Posts: 251
Joined: Sun Nov 23, 2008 9:23 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by ldupuy » Thu Jun 18, 2009 3:11 pm

Hello,

Thanks a lot for your answer, because i start in electronic it was a impossible to find a functional solution with this rf link and the arduino. So i have made the big jump with the Arduino XBee Shield and the XBee Pro 900 XSC.

I hope than this solution can help me, to have a full functionnal rf link with the arduino.

Thanks again,

Laurent
Newbie
Newbie
 
Posts: 3
Joined: Fri Jun 12, 2009 5:58 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by mikepo » Fri Jun 19, 2009 3:35 am

Yes, I spent some time yesterday as well trying to get the 2KM RF kit to work.
As Albert said, it does not work when they are very close to each other, probably the receiver circuit does into saturation and is overwhelmed by the RF signal. I basically used a similar test application as Albert has posted, just attach 5 LEDs to the receiver and wire up the transmitter and receiver to use the same address code bits and then set the transmitter data Pins (D0 - D3) to HIGH using a wire or switch.

These modules are using the PT2262/2272 Encoder/Decoder ICs and it seems to me that these ICs are set to an oscillator frequency of about 500Hz. And since each data word consists of 12 bits (8 for address and 4 for data), the theoretical communication rate is very low.
I was hoping I could use these to transmit up to 4 bits of data simultaneously from a Microcontroller at a decent speed (> 1000 bits/sec).

Anyway, I don't think these modules can be used for any useful data transmission from a Microcontroller, since I think the speed is too low. They probably work well as a remote control where you have 4 switches and turn one switch on at a time.
The way the encoder/decoder works it's waiting for at least 2 frames with the correct address bits before the VT pin is turned on, so you can't even use this module to send anything more than maybe 1 or 2 bits/second ..

Albert, can this module be used from a Seeduino? What is the max data transfer rate?
In my testing if I turn one pin on on the transmitter (e.g. D0), the receiver light's up one LED, when I and then turn another one on (e.g. D1) the receiver still only sees one LED. Only if I turn the first switch off and then both switches on will the receiver see 2 LEDs. So it seems to me that VT has to go to LOW before a different LED can be turned on, is that correct?

If they can't be used effectively with a Microcontroller, then it may be a good idea to list that in the product description, unless I am using it wrong.

Mike
Newbie
Newbie
 
Posts: 2
Joined: Thu Jun 04, 2009 9:45 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by Albert.Miao » Mon Jun 22, 2009 9:37 am

Hello,
The module is too slow to transmit a large quantity of data.
One data transmit will cost about 500ms.
When data received the VT goes high.
Thanks
Albert
User avatar
Sergeant
Sergeant
 
Posts: 251
Joined: Sun Nov 23, 2008 9:23 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by Albert.Miao » Wed Jul 01, 2009 10:42 am

Hi guys,
Here is another application of the 2KM_RF module.
Work with Arduino/Seeeduino.
connection as:
RX:
RF-->arduino/seeeduino
VT-->pin3;
D0-->pin4;
D1-->pin5;
D2-->pin6;
D3-->pin7;
GND-->GND;
VDD-->5v.

Code: Select all
int data=0;

void setup()
{
  pinMode(3,INPUT);
  pinMode(4,INPUT);
  pinMode(5,INPUT);
  pinMode(6,INPUT);
  pinMode(7,INPUT);
  attachInterrupt(1,RF_VT,RISING);
  Serial.begin(9600);
}
void loop()
{
}
//=======================================
void RF_VT() // interrupt service function
{
  data=(digitalRead(4)<<3)+(digitalRead(5)<<2)+(digitalRead(6)<<1)+(digitalRead(7)<<0);
  Serial.print("data=");
  Serial.println(data,DEC);
}

RX.JPG
RX.JPG (101.9 KiB) Viewed 8405 times

TX:
RF-->arduino/seeeduino
D0-->pin4;
D1-->pin5;
D2-->pin6;
D3-->pin7;
GND-->GND;
VDD-->5v.

Code: Select all
void setup()
{
  pinMode(4,OUTPUT);
  pinMode(5,OUTPUT);
  pinMode(6,OUTPUT);
  pinMode(7,OUTPUT);
  Serial.begin(9600);
}
void loop()
{
  unsigned char i=0;
  for(i=0;i<16;i++)
  {
    send_data(i);
    Serial.print("i=");
    Serial.println(i,DEC);
    delay(500);
    send_data(0);
    delay(500);
  }
}
//====================================
void send_data(unsigned char data)
{
  digitalWrite(4,(data&0x01));
  digitalWrite(5,(data&0x02));
  digitalWrite(6,(data&0x04));
  digitalWrite(7,(data&0x08));
}

TX.JPG
TX.JPG (85.36 KiB) Viewed 8405 times
User avatar
Sergeant
Sergeant
 
Posts: 251
Joined: Sun Nov 23, 2008 9:23 am

Re: 2KM Long Range RF link kits w/ encoder and decoder

by ivangeorge » Sat Jul 04, 2009 12:23 pm

Hello,

I am a newbie in wireless electronics. I really really want to discuss about some construction.

First, I want to make motion detector system with Arduino and PIR sensor, but they can send their warning light wirelessly. If I am attach this RF kits connected to arduino as a transmitter, but only use this RF kit as a receiver without arduino but with some LED connected, is it possible? So the combination is: sensor + arduino + RF transmitter ---? RF receiver + some LED.

Second, I want to make many RF transmitter in separate location, which every one transmitter connected to one arduino, but they are all transmit their signal to one central RF receiver which connected to Arduino. Is it possible?

Although this system is very slow, compare to XBee, but the price is much much lower than XBee, and the coverage range is very good, so I will choose this to design our platform.

Thanks, for the answer.

Iwansuryo (Ivan George)
Newbie
Newbie
 
Posts: 2
Joined: Sat Jul 04, 2009 12:02 pm

Next

Who is online
Users browsing this forum: No registered users and 2 guests
cron