LowPowerLab Forum

Hardware support => Moteino => Topic started by: john k2ox on September 02, 2013, 02:53:30 PM

Title: RFM69HW Drive/Range Test
Post by: john k2ox on September 02, 2013, 02:53:30 PM
For the last week I've been measuring the characteristics of the rfm69's transmitter on an Agilent N9030A Vector Signal Analyzer. I've also synthesized the packets using an Agilent MXG Vector Sig Gen.

I originally planed on using Moteino's to simply activate some relays.  After reading the data sheet I got really excited about the radio's other possibilities.

Since I don't need high speed I decided on a middle of the road solution. 1200bps.

The results on my first drive test. 1.5 miles!!!

I'm quite sure it's even further, but the road ended at the lake!  Pretty much line of site.  Heading in another direction with thick woods abt a half mile.  900 MHz gets absorbed by foilage.

The setup allows reception down to -113dbm rssi. 

Test conditions are:  tx radio setting on my desk in the house. About 6 ft above ground.  Rx radio handheld in my car, abt 3 ft above ground.  Both radio's with 1/2 wave vertical dipoles. Tx power +20dbm.

This is preliminary and I still have work to do.  I think I can still squeeze some more distance out of it.

Stay tuned.  I'll be posting the details as I get things sorted out.

john
Title: Re: rfm69hw Drive Test
Post by: Felix on September 02, 2013, 06:36:29 PM
1.5 miles range ?!
Double wow, very exciting!  :D

Will definitely keep an eye on this one. Your research is very much appreciated.
Looking forward to more details - like how you setup the antenna, and how you tweaked the settings (assuming you used my lib at all).
Yes the datasheet does have a bunch of things that could be very useful in certain applications. I stopped short of implementing them at first but those features could be added later, or augmented in an inherited class.
Title: Re: RFM69HW Drive/Range Test
Post by: john k2ox on September 03, 2013, 07:10:44 PM
The simple dipoles are shown in the attachments.  The length of each side is 77.4mm.

BTW I have written some functions and included them into my copy of your lib:  readTemp, getFreq and setFreq.

I was thinking I would put my version on a GitHub page, but I like your idea of using an inherited class.

I don't spend much time with c/c++.  More time with c#.  Can you put together a class skeleton that inherits from your lib and e-mail it to me.  Just put a simple function in it, so that I can see how it works.  I don't want to spend a ton of time re-inventing the wheel. 

Enjoy,
john
Title: Re: RFM69HW Drive/Range Test
Post by: Felix on September 03, 2013, 09:38:46 PM
I can't find an attachment (in your 2 posts so far in this thread).
I did move the thread from the general category... maybe got lost in translation, or maybe I'm missing it altogether?
Title: Re: RFM69HW Drive/Range Test
Post by: Felix on September 03, 2013, 10:01:54 PM
Attaching 3 files.
Copy the RFM69NEW .h and .cpp files in the Arduino/libraries/RFM69 directory. This gives you a new RFM69NEW class which inherits from the RFM69 and has a dummy new function newFunction(byte argument).

The using_RFM69NEW.ino is just an Arduino sketch for a receiver making use of the RFM69NEW class.
Title: Re: RFM69HW Drive/Range Test
Post by: john k2ox on September 03, 2013, 11:20:38 PM
Thanks for the files Felix.

The pics I tried to send were way to large to add to the post.  I'll email them to you.  Feel free to change the resolution and post them if you wish.

john
Title: Re: RFM69HW Drive/Range Test
Post by: Felix on September 04, 2013, 10:12:39 AM
Here are the photos, thanks John!

(http://farm4.staticflickr.com/3720/9673375242_6fb794327a_o_d.jpg)
(http://farm3.staticflickr.com/2891/9673375188_e22efcb090_o.jpg)

Title: Re: RFM69HW Drive/Range Test
Post by: chalupien on March 03, 2014, 08:42:10 PM
Hi, What settings do I change to lower the bitrate / baud rate of the rfm69hw and the rfm12b?

Nick
Title: Re: RFM69HW Drive/Range Test
Post by: debuti on March 04, 2014, 09:48:40 AM
Yes please, i'm also very interested
Title: Re: RFM69HW Drive/Range Test
Post by: debuti on March 04, 2014, 10:01:36 AM
May be?

    /* 0x03 */ { REG_BITRATEMSB, RF_BITRATEMSB_1200}, //default:4.8 KBPS
    /* 0x04 */ { REG_BITRATELSB, RF_BITRATELSB_1200},
    /* 0x05 */ { REG_FDEVMSB, RF_FDEVMSB_2000}, //default:5khz, (FDEV + BitRate/2 <= 500Khz)
    /* 0x06 */ { REG_FDEVLSB, RF_FDEVLSB_2000},
    /* 0x19 */ { REG_RXBW, RF_RXBW_DCCFREQ_010 | RF_RXBW_MANT_24 | RF_RXBW_EXP_3 },
    /* 0x3d */ { REG_PACKETCONFIG2, RF_PACKET2_RXRESTARTDELAY_NONE | RF_PACKET2_AUTORXRESTART_ON | RF_PACKET2_AES_OFF }, //RXRESTARTDELAY must match transmitter PA ramp-down time (bitrate dependent)
Title: Re: RFM69HW Drive/Range Test
Post by: Felix on March 04, 2014, 11:12:27 AM
See this topic: http://lowpowerlab.com/forum/index.php/topic,361.msg1979.html#msg1979
Title: Re: RFM69HW Drive/Range Test
Post by: dhkriti on September 03, 2019, 09:44:13 AM
Can I know which antenna can be used for RFM69HCW 915 Mhz , for a range of up to 100-200 feet? Also can I know which antenna was used in your experiment?
Title: Re: RFM69HW Drive/Range Test
Post by: Felix on September 03, 2019, 12:07:35 PM
Can I know which antenna can be used for RFM69HCW 915 Mhz , for a range of up to 100-200 feet? Also can I know which antenna was used in your experiment?
Any antenna will yield that kind of range, even the basic monopole will yield hundreds of meters in most cases (keep it perpendicular to the board GND plane).
Title: Re: RFM69HW Drive/Range Test
Post by: dhkriti on September 04, 2019, 08:30:25 AM
Thanks!
Can you tell us what are the different options of antennas which we can use for a range of 400 metres?

Title: Re: RFM69HW Drive/Range Test
Post by: Felix on September 04, 2019, 09:29:13 AM
There isn't such a thing as type of antenna for a given range.
But I think most folks in most circumstances can get that range with even the most basic antennas on a Moteino, in open air.