Seeedstudio Forum

Electronics can be art.
It is currently Tue Sep 23, 2014 12:13 am




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Fri Jun 12, 2009 6:05 am 
Offline
Newbie
Newbie

Joined: Fri Jun 12, 2009 5:58 am
Posts: 3
Honor: 0.00
Points: 3.00 Points
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


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Fri Jun 12, 2009 6:48 am 
Offline
Soldier
Soldier

Joined: Thu Apr 23, 2009 7:41 pm
Posts: 91
Location: UK London
Honor: 0.00
Points: 91.00 Points
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.


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Fri Jun 12, 2009 4:05 pm 
Offline
Newbie
Newbie

Joined: Fri Jun 12, 2009 5:58 am
Posts: 3
Honor: 0.00
Points: 3.00 Points
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


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Sat Jun 13, 2009 4:18 am 
Offline
Soldier
Soldier

Joined: Thu Apr 23, 2009 7:41 pm
Posts: 91
Location: UK London
Honor: 0.00
Points: 91.00 Points
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.


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Thu Jun 18, 2009 12:51 pm 
Offline
Sergeant
Sergeant
User avatar

Joined: Sun Nov 23, 2008 9:23 am
Posts: 250
Honor: 0.00
Points: 250.00 Points
Hello,
Here is the demo application.
Please download the attached file.
NOTE:
The TX_module and RX_module must have 1m apart.
Thanks
Albert
Attachment:
2KM_RF.rar [902.07 KiB]
Downloaded 800 times


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Thu Jun 18, 2009 3:11 pm 
Offline
Newbie
Newbie

Joined: Fri Jun 12, 2009 5:58 am
Posts: 3
Honor: 0.00
Points: 3.00 Points
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


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Fri Jun 19, 2009 3:35 am 
Offline
Newbie
Newbie

Joined: Thu Jun 04, 2009 9:45 am
Posts: 2
Honor: 0.00
Points: 2.00 Points
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


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Mon Jun 22, 2009 9:37 am 
Offline
Sergeant
Sergeant
User avatar

Joined: Sun Nov 23, 2008 9:23 am
Posts: 250
Honor: 0.00
Points: 250.00 Points
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


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Wed Jul 01, 2009 10:42 am 
Offline
Sergeant
Sergeant
User avatar

Joined: Sun Nov 23, 2008 9:23 am
Posts: 250
Honor: 0.00
Points: 250.00 Points
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:
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);
}

Attachment:
RX.JPG
RX.JPG [ 101.9 KiB | Viewed 7822 times ]

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

Code:
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));
}

Attachment:
TX.JPG
TX.JPG [ 85.36 KiB | Viewed 7822 times ]


Top
 Profile  
 
 Post subject: Re: 2KM Long Range RF link kits w/ encoder and decoder
PostPosted: Sat Jul 04, 2009 12:23 pm 
Offline
Newbie
Newbie

Joined: Sat Jul 04, 2009 12:02 pm
Posts: 2
Honor: 0.00
Points: 2.00 Points
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits