Difference between revisions of "Lora Shield"

From Geeetech Wiki
Jump to: navigation, search
Line 1: Line 1:
<ul>href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="The place to find out">Help</a></li>
+
 
 +
<ul>
 +
<li class="toclevel-1 tocsection-1"><a href="#INTRODUCTION"><span class="tocnumber">1</span> <span class="toctext">INTRODUCTION</span></a>
 +
<ul>
 +
<li class="toclevel-2 tocsection-2"><a href="#What_is_the_Dragino_Lora_Shield"><span class="tocnumber">1.1</span> <span class="toctext">What is the Dragino Lora Shield</span></a></li>
 +
<li class="toclevel-2 tocsection-3"><a href="#Hardware_version_info"><span class="tocnumber">1.2</span> <span class="toctext">Hardware version info</span></a></li>
 +
<li class="toclevel-2 tocsection-4"><a href="#Wireless_Specifications_of_RFM95W"><span class="tocnumber">1.3</span> <span class="toctext">Wireless Specifications of RFM95W</span></a></li>
 +
<li class="toclevel-2 tocsection-5"><a href="#Features"><span class="tocnumber">1.4</span> <span class="toctext">Features</span></a></li>
 +
<li class="toclevel-2 tocsection-6"><a href="#Example1_--_Use_with_LMIC_library_for_LoraWAN_compatible"><span class="tocnumber">1.5</span> <span class="toctext">Example1 -- Use with LMIC library for LoraWAN compatible</span></a></li>
 +
<li class="toclevel-2 tocsection-7"><a href="#Example2_--_Use_the_RadioHead_Library_With_Arduino_Boards"><span class="tocnumber">1.6</span> <span class="toctext">Example2 -- Use the RadioHead Library With Arduino Boards</span></a></li>
 +
<li class="toclevel-2 tocsection-8"><a href="#Usage_Notice"><span class="tocnumber">1.7</span> <span class="toctext">Usage Notice</span></a></li>
 +
<li class="toclevel-2 tocsection-9"><a href="#Order_Infomation"><span class="tocnumber">1.8</span> <span class="toctext">Order Infomation</span></a></li>
 +
<li class="toclevel-2 tocsection-10"><a href="#Schematic"><span class="tocnumber">1.9</span> <span class="toctext">Schematic</span></a></li>
 +
<li class="toclevel-2 tocsection-11"><a href="#Frequent_Ask_Questions_.28FAQs.29"><span class="tocnumber">1.10</span> <span class="toctext">Frequent Ask Questions (FAQs)</span></a>
 +
<ul>
 +
<li class="toclevel-3 tocsection-12"><a href="#I_have_order_Lora_Shield_v95-868.2C_while_the_chip_on_lora_shield_shows_RF96.3F"><span class="tocnumber">1.10.1</span> <span class="toctext">I have order Lora Shield v95-868, while the chip on lora shield shows RF96?</span></a></li>
 +
</ul>
 +
</li>
 +
<li class="toclevel-2 tocsection-13"><a href="#Reference"><span class="tocnumber">1.11</span> <span class="toctext">Reference</span></a></li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</div>
 +
 
 +
<h1><span class="mw-headline" id="INTRODUCTION">INTRODUCTION</span></h1>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:802px;"><a href="/index.php?title=File:Lora_Shield.png" class="image"><img alt="" src="/images/thumb/8/81/Lora_Shield.png/800px-Lora_Shield.png" width="800" height="334" class="thumbimage" srcset="/images/8/81/Lora_Shield.png 1.5x, /images/8/81/Lora_Shield.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Lora_Shield.png" class="internal" title="Enlarge"></a></div>Dragino Lora Shield</div></div></div>
 +
<p><br />
 +
</p>
 +
<h2><span class="mw-headline" id="What_is_the_Dragino_Lora_Shield">What is the Dragino Lora Shield</span></h2>
 +
<p>The Dragino Lora Shield is a long range transceiver on a Arduino shield form factor and based on Open source library.The Lora Shield allows the user to send data and reach extremely long ranges at low data-rates.It provides ultra-long range spread spectrum communication and high interference immunity whilst minimising current consumption.
 +
</p><p><br />
 +
The Lora Shield based on RFM95W/RFM98W  targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.
 +
</p><p><br />
 +
Using Hope RF’s patented LoRaTM modulation technique the Lora Shield can achieve a sensitivity of over -148dBm using a low cost crystal and bill of materials. The high sensitivity combined with the integrated +20 dBm power amplifier yields  industry  leading  link  budget  making  it optimal for any application requiring range or robustness. LoRaTM also provides significant advantages in both blocking and selectivity over conventional modulation techniques, solving the traditional design compromise between range, interference immunity and energy consumption.
 +
</p><p><br />
 +
These devices also support high performance (G)FSK modes for systems including WMBus, IEEE802.15.4g. The Lora Shield deliver exceptional phase noise, selectivity, receiver linearity  and  IIP3  for  significantly lower  current consumption than competing devices.
 +
</p><p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Lora_Shield_with_Leonado.jpg" class="image"><img alt="" src="/images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/500px-Lora_Shield_with_Leonado.jpg" width="500" height="500" class="thumbimage" srcset="/images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/750px-Lora_Shield_with_Leonado.jpg 1.5x, /images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/1000px-Lora_Shield_with_Leonado.jpg 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Lora_Shield_with_Leonado.jpg" class="internal" title="Enlarge"></a></div>Lora Shield with Leonado</div></div></div>
 +
<p><br />
 +
<br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Hardware_version_info">Hardware version info</span></h2>
 +
<ul><li>Lora Shield v1.0: The first hardware release for the Lora Shield.</li>
 +
<li>Lora Shield v1.2: Connect the DIOs to Arduino IO. Change i-pex connector to SMA connector.</li>
 +
<li>Lora Shield v1.3: Remove 5v to 3.3v LDO, use 3.3 directly from Arduino +3.3v pin. </li></ul>
 +
<p><br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Wireless_Specifications_of_RFM95W">Wireless Specifications of RFM95W</span></h2>
 +
<ul><li>168 dB maximum link budget.</li>
 +
<li>+20 dBm - 100 mW constant RF output vs.</li>
 +
<li>+14 dBm high efficiency PA.</li>
 +
<li>Programmable bit rate up to 300 kbps.</li>
 +
<li>High sensitivity: down to -148 dBm.</li>
 +
<li>Bullet-proof front end: IIP3 = -12.5 dBm.</li>
 +
<li>Excellent blocking immunity.</li>
 +
<li>Low RX current of 10.3 mA, 200 nA register retention.</li>
 +
<li>Fully integrated synthesizer with a resolution of 61 Hz.</li>
 +
<li>FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.</li>
 +
<li>Built-in bit synchronizer for clock recovery.</li>
 +
<li>Preamble detection.</li>
 +
<li>127 dB Dynamic Range RSSI.</li>
 +
<li>Automatic RF Sense and CAD with ultra-fast AFC.</li>
 +
<li>Packet engine up to 256 bytes with CRC.</li>
 +
<li>Built-in temperature sensor and low battery indicator.</li></ul>
 +
<p><br />
 +
</p><p><br />
 +
</p><p><br />
 +
</p><p><br />
 +
</p>
 +
<h2><span class="mw-headline" id="Features">Features</span></h2>
 +
<ul><li>Compatible with 3.3v or 5v I/O Arduino Board.  </li>
 +
<li>Frequency Band: 868 MHZ/433 MHZ (Pre-configure in factory)</li>
 +
<li>Low power consumption</li>
 +
<li>Compatible with <span class="bluetext">Arduino Leonardo, Uno, Mega, DUE</span></li>
 +
<li>External Antenna via I-Pex connector</li></ul>
 +
<p><br />
 +
</p><p><br />
 +
</p>
 +
<h2><span class="mw-headline" id="Example1_--_Use_with_LMIC_library_for_LoraWAN_compatible">Example1 -- Use with LMIC library for LoraWAN compatible</span></h2>
 +
<p>LMIC library is LoraWAN compatible.
 +
</p><p>This demo include:
 +
</p>
 +
<ul><li> How to use Lora Shield to set up single channel gateway for TTN network. </li>
 +
<li> How to use Lora Shield to set up a Lora Node. </li>
 +
<li> How is the communication between the Lora Node and Lora Gateway. </li></ul>
 +
<p>The full instruction is in this link: <a rel="nofollow" class="external autonumber" href="http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/">[1]</a>
 +
</p><p><br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Example2_--_Use_the_RadioHead_Library_With_Arduino_Boards">Example2 -- Use the RadioHead Library With Arduino Boards</span></h2>
 +
<p>The RadioHead Library simplifies communication between the Arduino Board and the Lora Shield.We can find it here: <a rel="nofollow" class="external free" href="http://www.airspayce.com/mikem/arduino/RadioHead/">http://www.airspayce.com/mikem/arduino/RadioHead/</a>  To use it in your project you just have to copy it in your Arduino project folder (next to your main Arduino project file .ino).After putting the lIbrary in the right place, you have to also modify the frequency to the frequency you want to use, the position of this is    <span class="bluetext">setFrequency()</span> in the file:<span class="bluetext"> arduino-xxx\libraries\RadioHead\RH_RF95.cpp</span>; Then ,we can easily to use it to do some experimentation.
 +
</p><p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:IDE.jpg" class="image"><img alt="" src="/images/thumb/7/74/IDE.jpg/500px-IDE.jpg" width="500" height="530" class="thumbimage" srcset="/images/7/74/IDE.jpg 1.5x, /images/7/74/IDE.jpg 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:IDE.jpg" class="internal" title="Enlarge"></a></div>RadioHead Examples</div></div></div>
 +
<p><br />
 +
<br />
 +
In this example,we use two Lora Shields to transmit and receive signal,there are some project in the RadioHead Library,the operation is as follows:
 +
</p>
 +
<ul><li>Connect two Lora Shields with Arduino board and connect them to computer via the USB cable;</li></ul>
 +
<p>We used the Lora Shield+Arduino UNO as the server to transmit signal and the Lora Shield+Aduino MEGA2560 as the client to receive signal here.
 +
</p><p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Lora_Shields_and_Arduino_boards.jpg" class="image"><img alt="" src="/images/thumb/f/f3/Lora_Shields_and_Arduino_boards.jpg/500px-Lora_Shields_and_Arduino_boards.jpg" width="500" height="328" class="thumbimage" srcset="/images/thumb/f/f3/Lora_Shields_and_Arduino_boards.jpg/750px-Lora_Shields_and_Arduino_boards.jpg 1.5x, /images/f/f3/Lora_Shields_and_Arduino_boards.jpg 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Lora_Shields_and_Arduino_boards.jpg" class="internal" title="Enlarge"></a></div>Lora Shields and Arduino boards</div></div></div>
 +
<p>Connect the Lora Shield and Arduino,and connect them to computer.
 +
</p><p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Connection.jpg" class="image"><img alt="" src="/images/thumb/1/12/Connection.jpg/500px-Connection.jpg" width="500" height="375" class="thumbimage" srcset="/images/thumb/1/12/Connection.jpg/750px-Connection.jpg 1.5x, /images/thumb/1/12/Connection.jpg/1000px-Connection.jpg 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Connection.jpg" class="internal" title="Enlarge"></a></div>Connection</div></div></div>
 +
<p><br />
 +
</p>
 +
<ul><li>Open the IDE and choose the right example;</li></ul>
 +
<p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Choose_the_example.png" class="image"><img alt="" src="/images/thumb/f/f2/Choose_the_example.png/500px-Choose_the_example.png" width="500" height="385" class="thumbimage" srcset="/images/thumb/f/f2/Choose_the_example.png/750px-Choose_the_example.png 1.5x, /images/f/f2/Choose_the_example.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Choose_the_example.png" class="internal" title="Enlarge"></a></div>Choose the example</div></div></div>
 +
<p><br />
 +
</p>
 +
<ul><li>Configure the IDE settings and upload the two skteches to Aduino.</li></ul>
 +
<p><br /> 
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Configure_the_IDE_settings_of_MEGA.png" class="image"><img alt="" src="/images/thumb/b/b6/Configure_the_IDE_settings_of_MEGA.png/500px-Configure_the_IDE_settings_of_MEGA.png" width="500" height="417" class="thumbimage" srcset="/images/b/b6/Configure_the_IDE_settings_of_MEGA.png 1.5x, /images/b/b6/Configure_the_IDE_settings_of_MEGA.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Configure_the_IDE_settings_of_MEGA.png" class="internal" title="Enlarge"></a></div>Configure the IDE settings of MEGA</div></div></div>
 +
<p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Configure_the_IDE_settings_of_UNO.png" class="image"><img alt="" src="/images/thumb/2/24/Configure_the_IDE_settings_of_UNO.png/500px-Configure_the_IDE_settings_of_UNO.png" width="500" height="437" class="thumbimage" srcset="/images/2/24/Configure_the_IDE_settings_of_UNO.png 1.5x, /images/2/24/Configure_the_IDE_settings_of_UNO.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Configure_the_IDE_settings_of_UNO.png" class="internal" title="Enlarge"></a></div>Configure the IDE settings of UNO</div></div></div>
 +
<p>After configure the IDE settings,upload the skteche to Aduino.Check the Serial Moniter and we can view the running result of the two boards.
 +
</p><p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Running_result_of_MEGA.png" class="image"><img alt="" src="/images/thumb/f/fa/Running_result_of_MEGA.png/500px-Running_result_of_MEGA.png" width="500" height="388" class="thumbimage" srcset="/images/thumb/f/fa/Running_result_of_MEGA.png/750px-Running_result_of_MEGA.png 1.5x, /images/f/fa/Running_result_of_MEGA.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Running_result_of_MEGA.png" class="internal" title="Enlarge"></a></div>Running result of MEGA</div></div></div>
 +
<p><br />
 +
</p>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Running_result_of_UNO.png" class="image"><img alt="" src="/images/thumb/7/74/Running_result_of_UNO.png/500px-Running_result_of_UNO.png" width="500" height="385" class="thumbimage" srcset="/images/thumb/7/74/Running_result_of_UNO.png/750px-Running_result_of_UNO.png 1.5x, /images/7/74/Running_result_of_UNO.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Running_result_of_UNO.png" class="internal" title="Enlarge"></a></div>Running result of UNO</div></div></div>
 +
<h2><span class="mw-headline" id="Usage_Notice">Usage Notice</span></h2>
 +
<p>You have to be aware that Radio link quality and performances are highly dependent of environment.
 +
</p><p>Better performances can be reached with:
 +
</p>
 +
<ul><li> Outdoor environment.</li></ul>
 +
<ul><li> No obstacles.</li></ul>
 +
<ul><li> No high level radio interferer in the ISM 868MHz band.</li></ul>
 +
<ul><li> At least 1 meter above the ground.</li></ul>
 +
<p><br />
 +
</p><p><br />
 +
Radio performances are degraded with:
 +
</p>
 +
<ul><li> Obstacles: buildings, trees...</li></ul>
 +
<ul><li> Inner buildings environments.</li></ul>
 +
<ul><li> High ISM 868MHz band usage by other technologies.</li></ul>
 +
<p>Radio communication are usually killed with bad topographic conditions. It is usually not possible to communicate through a hill, even very small.
 +
</p><p><br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Order_Infomation">Order Infomation</span></h2>
 +
<ul><li>Lora Shield 868: Load with RFM95W-868S2, support 868M frenquency </li>
 +
<li>Lora Shield 915:  Load with RFM95W-915S2, support 915M frenquency</li>
 +
<li>Lora Shield 433: Load with RFM98W-433S2, support 433M frenquency</li></ul>
 +
<p><br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Schematic">Schematic</span></h2>
 +
<div class="thumb tnone"><div class="thumbinner" style="width:502px;"><a href="/index.php?title=File:Lora_sheild.sch.png" class="image"><img alt="" src="/images/thumb/9/94/Lora_sheild.sch.png/500px-Lora_sheild.sch.png" width="500" height="353" class="thumbimage" srcset="/images/thumb/9/94/Lora_sheild.sch.png/750px-Lora_sheild.sch.png 1.5x, /images/thumb/9/94/Lora_sheild.sch.png/1000px-Lora_sheild.sch.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="/index.php?title=File:Lora_sheild.sch.png" class="internal" title="Enlarge"></a></div>Lora Shield Schematic</div></div></div>
 +
<h2><span class="mw-headline" id="Frequent_Ask_Questions_.28FAQs.29">Frequent Ask Questions (FAQs)</span></h2>
 +
<h3><span class="mw-headline" id="I_have_order_Lora_Shield_v95-868.2C_while_the_chip_on_lora_shield_shows_RF96.3F">I have order Lora Shield v95-868, while the chip on lora shield shows RF96?</span></h3>
 +
<p>The Lora Shield v95-868 is equied with HopeRF RFM95W-868-S2. This module has a mark RF96 on it. it doesn't mean the chip is RFM96w, but it means the chip is using the SX1276 chip.
 +
</p><p>Mean While, The Lora Shield v95-915 S2 with mark RF96 on the IC.
 +
The Lora Shield v98-433 S2 with mark RF98 on the IC and use the sx1278 chip.
 +
</p><p><br />
 +
<br />
 +
<br />
 +
</p>
 +
<h2><span class="mw-headline" id="Reference">Reference</span></h2>
 +
<ul><li>Hardware Source:  <a rel="nofollow" class="external free" href="https://github.com/dragino/Lora/tree/master/Lora%20Shield%20Hardware%20Source">https://github.com/dragino/Lora/tree/master/Lora%20Shield%20Hardware%20Source</a></li></ul>
 +
 
 +
<!--
 +
NewPP limit report
 +
CPU time usage: 0.200 seconds
 +
Real time usage: 0.288 seconds
 +
Preprocessor visited node count: 55/1000000
 +
Preprocessor generated node count: 66/1000000
 +
Post‐expand include size: 0/2097152 bytes
 +
Template argument size: 0/2097152 bytes
 +
Highest expansion depth: 2/40
 +
Expensive parser function count: 0/100
 +
-->
 +
 
 +
<!--
 +
Transclusion expansion time report (%,ms,calls,template)
 +
100.00%    0.000      1 - -total
 +
-->
 +
 
 +
<!-- Saved in parser cache with key draginoo_wiki:pcache:idhash:375-0!*!*!!en!5!* and timestamp 20160531032009 and revision id 2579
 +
-->
 +
</div><div class="printfooter">
 +
Retrieved from "<a dir="ltr" href="http://wiki.dragino.com/index.php?title=Lora_Shield&amp;oldid=2579">http://wiki.dragino.com/index.php?title=Lora_Shield&amp;oldid=2579</a>"</div>
 +
<div id='catlinks' class='catlinks catlinks-allhidden'></div> <!-- end content -->
 +
<div class="visualClear"></div>
 +
</div>
 +
</div>
 +
</div>
 +
<div id="column-one">
 +
<h2>Navigation menu</h2>
 +
<div id="p-cactions" class="portlet" role="navigation">
 +
<h3>Views</h3>
 +
 
 +
<div class="pBody">
 +
<ul>
 +
<li id="ca-nstab-main" class="selected"><a href="/index.php?title=Lora_Shield" title="View the content page [c]" accesskey="c">Page</a></li>
 +
<li id="ca-talk" class="new"><a href="/index.php?title=Talk:Lora_Shield&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
 +
<li id="ca-viewsource"><a href="/index.php?title=Lora_Shield&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li>
 +
<li id="ca-history"><a href="/index.php?title=Lora_Shield&amp;action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li>
 +
</ul>
 +
</div>
 +
</div>
 +
<div class="portlet" id="p-personal" role="navigation">
 +
<h3>Personal tools</h3>
 +
 
 +
<div class="pBody">
 +
<ul>
 +
<li id="pt-login"><a href="/index.php?title=Special:UserLogin&amp;returnto=Lora+Shield" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
 +
</ul>
 +
</div>
 +
</div>
 +
<div class="portlet" id="p-logo" role="banner">
 +
<a href="/index.php?title=Main_Page" class="mw-wiki-logo" title="Visit the main page"></a>
 +
</div>
 +
<div class="generated-sidebar portlet" id="p-navigation" role="navigation">
 +
<h3>Navigation</h3>
 +
<div class='pBody'>
 +
<ul>
 +
<li id="n-mainpage-description"><a href="/index.php?title=Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li>
 +
<li id="n-recentchanges"><a href="/index.php?title=Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
 +
<li id="n-randompage"><a href="/index.php?title=Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
 +
<li id="n-help"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="The place to find out">Help</a></li>
 
</ul>
 
</ul>
 
</div>
 
</div>
Line 28: Line 259:
 
<li id="t-info"><a href="/index.php?title=Lora_Shield&amp;action=info" title="More information about this page">Page information</a></li>
 
<li id="t-info"><a href="/index.php?title=Lora_Shield&amp;action=info" title="More information about this page">Page information</a></li>
 
</ul>
 
</ul>
</div>
 
</div>
 
</div><!-- end of the left (by default at least) column -->
 
<div class="visualClear"></div>
 
<div id="footer" role="contentinfo">
 
<div id="f-poweredbyico">
 
<a href="//www.mediawiki.org/"><img src="/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" /></a>
 
</div>
 
<ul id="f-list">
 
<li id="lastmod"> This page was last modified on 27 May 2016, at 18:57.</li>
 
<li id="privacy"><a href="/index.php?title=Wiki_for_Dragino_Project:Privacy_policy" title="Wiki for Dragino Project:Privacy policy">Privacy policy</a></li>
 
<li id="about"><a href="/index.php?title=Wiki_for_Dragino_Project:About" title="Wiki for Dragino Project:About">About Wiki for Dragino Project</a></li>
 
<li id="disclaimer"><a href="/index.php?title=Wiki_for_Dragino_Project:General_disclaimer" title="Wiki for Dragino Project:General disclaimer">Disclaimers</a></li>
 
</ul>
 
</div>
 
</div>
 

Revision as of 06:40, 31 May 2016

  • <a href="#INTRODUCTION">1 INTRODUCTION</a>
    • <a href="#What_is_the_Dragino_Lora_Shield">1.1 What is the Dragino Lora Shield</a>
    • <a href="#Hardware_version_info">1.2 Hardware version info</a>
    • <a href="#Wireless_Specifications_of_RFM95W">1.3 Wireless Specifications of RFM95W</a>
    • <a href="#Features">1.4 Features</a>
    • <a href="#Example1_--_Use_with_LMIC_library_for_LoraWAN_compatible">1.5 Example1 -- Use with LMIC library for LoraWAN compatible</a>
    • <a href="#Example2_--_Use_the_RadioHead_Library_With_Arduino_Boards">1.6 Example2 -- Use the RadioHead Library With Arduino Boards</a>
    • <a href="#Usage_Notice">1.7 Usage Notice</a>
    • <a href="#Order_Infomation">1.8 Order Infomation</a>
    • <a href="#Schematic">1.9 Schematic</a>
    • <a href="#Frequent_Ask_Questions_.28FAQs.29">1.10 Frequent Ask Questions (FAQs)</a>
      • <a href="#I_have_order_Lora_Shield_v95-868.2C_while_the_chip_on_lora_shield_shows_RF96.3F">1.10.1 I have order Lora Shield v95-868, while the chip on lora shield shows RF96?</a>
    • <a href="#Reference">1.11 Reference</a>

</div>

INTRODUCTION

<a href="/index.php?title=File:Lora_Shield.png" class="image"><img alt="" src="/images/thumb/8/81/Lora_Shield.png/800px-Lora_Shield.png" width="800" height="334" class="thumbimage" srcset="/images/8/81/Lora_Shield.png 1.5x, /images/8/81/Lora_Shield.png 2x" /></a>
<a href="/index.php?title=File:Lora_Shield.png" class="internal" title="Enlarge"></a>
Dragino Lora Shield


What is the Dragino Lora Shield

The Dragino Lora Shield is a long range transceiver on a Arduino shield form factor and based on Open source library.The Lora Shield allows the user to send data and reach extremely long ranges at low data-rates.It provides ultra-long range spread spectrum communication and high interference immunity whilst minimising current consumption.


The Lora Shield based on RFM95W/RFM98W targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.


Using Hope RF’s patented LoRaTM modulation technique the Lora Shield can achieve a sensitivity of over -148dBm using a low cost crystal and bill of materials. The high sensitivity combined with the integrated +20 dBm power amplifier yields industry leading link budget making it optimal for any application requiring range or robustness. LoRaTM also provides significant advantages in both blocking and selectivity over conventional modulation techniques, solving the traditional design compromise between range, interference immunity and energy consumption.


These devices also support high performance (G)FSK modes for systems including WMBus, IEEE802.15.4g. The Lora Shield deliver exceptional phase noise, selectivity, receiver linearity and IIP3 for significantly lower current consumption than competing devices.


<a href="/index.php?title=File:Lora_Shield_with_Leonado.jpg" class="image"><img alt="" src="/images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/500px-Lora_Shield_with_Leonado.jpg" width="500" height="500" class="thumbimage" srcset="/images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/750px-Lora_Shield_with_Leonado.jpg 1.5x, /images/thumb/4/4e/Lora_Shield_with_Leonado.jpg/1000px-Lora_Shield_with_Leonado.jpg 2x" /></a>
<a href="/index.php?title=File:Lora_Shield_with_Leonado.jpg" class="internal" title="Enlarge"></a>
Lora Shield with Leonado




Hardware version info

  • Lora Shield v1.0: The first hardware release for the Lora Shield.
  • Lora Shield v1.2: Connect the DIOs to Arduino IO. Change i-pex connector to SMA connector.
  • Lora Shield v1.3: Remove 5v to 3.3v LDO, use 3.3 directly from Arduino +3.3v pin.



Wireless Specifications of RFM95W

  • 168 dB maximum link budget.
  • +20 dBm - 100 mW constant RF output vs.
  • +14 dBm high efficiency PA.
  • Programmable bit rate up to 300 kbps.
  • High sensitivity: down to -148 dBm.
  • Bullet-proof front end: IIP3 = -12.5 dBm.
  • Excellent blocking immunity.
  • Low RX current of 10.3 mA, 200 nA register retention.
  • Fully integrated synthesizer with a resolution of 61 Hz.
  • FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
  • Built-in bit synchronizer for clock recovery.
  • Preamble detection.
  • 127 dB Dynamic Range RSSI.
  • Automatic RF Sense and CAD with ultra-fast AFC.
  • Packet engine up to 256 bytes with CRC.
  • Built-in temperature sensor and low battery indicator.





Features

  • Compatible with 3.3v or 5v I/O Arduino Board.
  • Frequency Band: 868 MHZ/433 MHZ (Pre-configure in factory)
  • Low power consumption
  • Compatible with Arduino Leonardo, Uno, Mega, DUE
  • External Antenna via I-Pex connector



Example1 -- Use with LMIC library for LoraWAN compatible

LMIC library is LoraWAN compatible.

This demo include:

  • How to use Lora Shield to set up single channel gateway for TTN network.
  • How to use Lora Shield to set up a Lora Node.
  • How is the communication between the Lora Node and Lora Gateway.

The full instruction is in this link: <a rel="nofollow" class="external autonumber" href="http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/">[1]</a>



Example2 -- Use the RadioHead Library With Arduino Boards

The RadioHead Library simplifies communication between the Arduino Board and the Lora Shield.We can find it here: <a rel="nofollow" class="external free" href="http://www.airspayce.com/mikem/arduino/RadioHead/">http://www.airspayce.com/mikem/arduino/RadioHead/</a> To use it in your project you just have to copy it in your Arduino project folder (next to your main Arduino project file .ino).After putting the lIbrary in the right place, you have to also modify the frequency to the frequency you want to use, the position of this is setFrequency() in the file: arduino-xxx\libraries\RadioHead\RH_RF95.cpp; Then ,we can easily to use it to do some experimentation.


<a href="/index.php?title=File:IDE.jpg" class="image"><img alt="" src="/images/thumb/7/74/IDE.jpg/500px-IDE.jpg" width="500" height="530" class="thumbimage" srcset="/images/7/74/IDE.jpg 1.5x, /images/7/74/IDE.jpg 2x" /></a>
<a href="/index.php?title=File:IDE.jpg" class="internal" title="Enlarge"></a>
RadioHead Examples



In this example,we use two Lora Shields to transmit and receive signal,there are some project in the RadioHead Library,the operation is as follows:

  • Connect two Lora Shields with Arduino board and connect them to computer via the USB cable;

We used the Lora Shield+Arduino UNO as the server to transmit signal and the Lora Shield+Aduino MEGA2560 as the client to receive signal here.


<a href="/index.php?title=File:Lora_Shields_and_Arduino_boards.jpg" class="image"><img alt="" src="/images/thumb/f/f3/Lora_Shields_and_Arduino_boards.jpg/500px-Lora_Shields_and_Arduino_boards.jpg" width="500" height="328" class="thumbimage" srcset="/images/thumb/f/f3/Lora_Shields_and_Arduino_boards.jpg/750px-Lora_Shields_and_Arduino_boards.jpg 1.5x, /images/f/f3/Lora_Shields_and_Arduino_boards.jpg 2x" /></a>
<a href="/index.php?title=File:Lora_Shields_and_Arduino_boards.jpg" class="internal" title="Enlarge"></a>
Lora Shields and Arduino boards

Connect the Lora Shield and Arduino,and connect them to computer.


<a href="/index.php?title=File:Connection.jpg" class="image"><img alt="" src="/images/thumb/1/12/Connection.jpg/500px-Connection.jpg" width="500" height="375" class="thumbimage" srcset="/images/thumb/1/12/Connection.jpg/750px-Connection.jpg 1.5x, /images/thumb/1/12/Connection.jpg/1000px-Connection.jpg 2x" /></a>
<a href="/index.php?title=File:Connection.jpg" class="internal" title="Enlarge"></a>
Connection


  • Open the IDE and choose the right example;


<a href="/index.php?title=File:Choose_the_example.png" class="image"><img alt="" src="/images/thumb/f/f2/Choose_the_example.png/500px-Choose_the_example.png" width="500" height="385" class="thumbimage" srcset="/images/thumb/f/f2/Choose_the_example.png/750px-Choose_the_example.png 1.5x, /images/f/f2/Choose_the_example.png 2x" /></a>
<a href="/index.php?title=File:Choose_the_example.png" class="internal" title="Enlarge"></a>
Choose the example


  • Configure the IDE settings and upload the two skteches to Aduino.


<a href="/index.php?title=File:Configure_the_IDE_settings_of_MEGA.png" class="image"><img alt="" src="/images/thumb/b/b6/Configure_the_IDE_settings_of_MEGA.png/500px-Configure_the_IDE_settings_of_MEGA.png" width="500" height="417" class="thumbimage" srcset="/images/b/b6/Configure_the_IDE_settings_of_MEGA.png 1.5x, /images/b/b6/Configure_the_IDE_settings_of_MEGA.png 2x" /></a>
<a href="/index.php?title=File:Configure_the_IDE_settings_of_MEGA.png" class="internal" title="Enlarge"></a>
Configure the IDE settings of MEGA


<a href="/index.php?title=File:Configure_the_IDE_settings_of_UNO.png" class="image"><img alt="" src="/images/thumb/2/24/Configure_the_IDE_settings_of_UNO.png/500px-Configure_the_IDE_settings_of_UNO.png" width="500" height="437" class="thumbimage" srcset="/images/2/24/Configure_the_IDE_settings_of_UNO.png 1.5x, /images/2/24/Configure_the_IDE_settings_of_UNO.png 2x" /></a>
<a href="/index.php?title=File:Configure_the_IDE_settings_of_UNO.png" class="internal" title="Enlarge"></a>
Configure the IDE settings of UNO

After configure the IDE settings,upload the skteche to Aduino.Check the Serial Moniter and we can view the running result of the two boards.


<a href="/index.php?title=File:Running_result_of_MEGA.png" class="image"><img alt="" src="/images/thumb/f/fa/Running_result_of_MEGA.png/500px-Running_result_of_MEGA.png" width="500" height="388" class="thumbimage" srcset="/images/thumb/f/fa/Running_result_of_MEGA.png/750px-Running_result_of_MEGA.png 1.5x, /images/f/fa/Running_result_of_MEGA.png 2x" /></a>
<a href="/index.php?title=File:Running_result_of_MEGA.png" class="internal" title="Enlarge"></a>
Running result of MEGA


<a href="/index.php?title=File:Running_result_of_UNO.png" class="image"><img alt="" src="/images/thumb/7/74/Running_result_of_UNO.png/500px-Running_result_of_UNO.png" width="500" height="385" class="thumbimage" srcset="/images/thumb/7/74/Running_result_of_UNO.png/750px-Running_result_of_UNO.png 1.5x, /images/7/74/Running_result_of_UNO.png 2x" /></a>
<a href="/index.php?title=File:Running_result_of_UNO.png" class="internal" title="Enlarge"></a>
Running result of UNO

Usage Notice

You have to be aware that Radio link quality and performances are highly dependent of environment.

Better performances can be reached with:

  • Outdoor environment.
  • No obstacles.
  • No high level radio interferer in the ISM 868MHz band.
  • At least 1 meter above the ground.



Radio performances are degraded with:

  • Obstacles: buildings, trees...
  • Inner buildings environments.
  • High ISM 868MHz band usage by other technologies.

Radio communication are usually killed with bad topographic conditions. It is usually not possible to communicate through a hill, even very small.



Order Infomation

  • Lora Shield 868: Load with RFM95W-868S2, support 868M frenquency
  • Lora Shield 915: Load with RFM95W-915S2, support 915M frenquency
  • Lora Shield 433: Load with RFM98W-433S2, support 433M frenquency



Schematic

<a href="/index.php?title=File:Lora_sheild.sch.png" class="image"><img alt="" src="/images/thumb/9/94/Lora_sheild.sch.png/500px-Lora_sheild.sch.png" width="500" height="353" class="thumbimage" srcset="/images/thumb/9/94/Lora_sheild.sch.png/750px-Lora_sheild.sch.png 1.5x, /images/thumb/9/94/Lora_sheild.sch.png/1000px-Lora_sheild.sch.png 2x" /></a>
<a href="/index.php?title=File:Lora_sheild.sch.png" class="internal" title="Enlarge"></a>
Lora Shield Schematic

Frequent Ask Questions (FAQs)

I have order Lora Shield v95-868, while the chip on lora shield shows RF96?

The Lora Shield v95-868 is equied with HopeRF RFM95W-868-S2. This module has a mark RF96 on it. it doesn't mean the chip is RFM96w, but it means the chip is using the SX1276 chip.

Mean While, The Lora Shield v95-915 S2 with mark RF96 on the IC.

The Lora Shield v98-433 S2 with mark RF98 on the IC and use the sx1278 chip.




Reference


</div>

</div> </div> </div>

Navigation menu