element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Remote Monitoring & Control
  • Challenges & Projects
  • Project14
  • Remote Monitoring & Control
  • More
  • Cancel
Remote Monitoring & Control
Blog LoRa Experimental Environmental Sensors (LoRaXes) - Introduction
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Remote Monitoring & Control to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 17 Jul 2019 9:25 PM Date Created
  • Views 1582 views
  • Likes 6 likes
  • Comments 2 comments
  • remotemonitoringcontrolch
  • the things network
  • things gateway
  • mkr wan 1300
  • wan_1300
Related
Recommended

LoRa Experimental Environmental Sensors (LoRaXes) - Introduction

ralphjy
ralphjy
17 Jul 2019

I recently connected my Things Gateway to the Things Network and this Project14 challenge seemed like a good opportunity to do some experiments with the two MKR WAN 1300 boards that I received with the gateway.

 

I'd like to build a pair of portable outdoor LoRa sensors and I came up with a set of requirements:

  1. Small size - something that can be handheld
  2. Battery operated - would like at least a month of runtime
  3. Weather resistant - usable in the rain
  4. Expandable - capable of adding internal/external sensors

 

The type of testing that I'd like to do initially:

  1. LoRa sensor range - using the gateway indoors with the stock antenna
  2. Battery life - try to optimize
  3. Reliability - uptime of Things server, gateway, and sensor
  4. RSSI variation - received signal strength vs channel and time at a fixed position

 

Sensor capability:

I haven't decided yet what sensors to implement.  The MKR WAN 1300 boards are already capable of running with a 3V battery source and there is an onboard resistor divider to allow battery voltage monitoring on pin PB08.  The SAM D21 processor has up to six configurable serial communication interfaces (SERCOM), so I should be able to implement SPI, I2C, and/or UART for the sensor interface.  There are also 15 digital pins, 7 analog inputs and 1 analog output.  I'll need to map which pins and sercoms are still available in the MKR WAN 1300 implementation (e.g. the LoRa interface consumes a sercom).

 

Here's a list of sensors that I'm currently considering.

  1. GPS - (UART)
  2. Temperature/humidity/pressure (I2C)
  3. Ambient light (analog in)
  4. Water level (analog in)
  5. PIR (digital in)

 

The two units would probably have different capabilities

I thought for range testing it would be useful to add a GPS to one of the units to track RSSI vs location.  Both would have the temperature sensor.  I'll need to figure out the final application for each sensor unit to determine what other capability to add.

 

Here is the common hardware for the sensors:

  1. MKR WAN 1300
  2. 3.5dBi omni-directional antenna w/cable
  3. 3V battery pack w/2 AA batteries
  4. Plastic case w/cover, 9.6 x 5.6 x 2.1 cm

image

 

And the gateway with the stock antenna (looks like the 3.5dBi antennas that I'm using with the sensors):

image

 

I thought I would call the system LoRaXes in loose reference to the Dr. Seuss character in his book about the plight of the environment in the industrial age.

  • Sign in to reply

Top Comments

  • fmilburn
    fmilburn over 6 years ago +2
    Hi Ralph, Very interesting! I hope to get back to LoRa again one of these days. In my project I was able to get GPS and a number of sensors working but was not able to get low power - It draws a milliamp…
  • ralphjy
    ralphjy over 6 years ago in reply to fmilburn +2
    Hi Frank, Thanks for the link. It is unclear whether or not I have an updated board. An updated schematic exists (MKRWANV1.1 vs MKRWANV1.0) with the Murata VDD_TCX0 pin disconnected from +3V3 and connected…
  • ralphjy
    ralphjy over 6 years ago in reply to fmilburn

    Hi Frank,

     

    Thanks for the link.  It is unclear whether or not I have an updated board.  An updated schematic exists (MKRWANV1.1 vs MKRWANV1.0)  with the Murata VDD_TCX0 pin disconnected from +3V3 and connected to pin PA12.  There is no version on the PCB silkscreen and the date codes look like 4517 and 0318, so I probably have old boards.  I'll verify that when I get around to testing.  I also just realized that the battery pack I have in the picture is a AAA pack, so I probably won't get anywhere near the battery life that I wanted if the sleep current is ~2mA.

     

    Ralph

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago

    Hi Ralph,

     

    Very interesting!  I hope to get back to LoRa again one of these days.  In my project I was able to get GPS and a number of sensors working but was not able to get low power - It draws a milliamp + even when the board is in deep sleep.  There is a thread here on the Arduino forums that states it is a hardware problem and a revision to the board will be released. I would be interested if you received revised boards or otherwise find a solution to lower the power requirements.  Also interested in how well the gateway works.

     

    Frank

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube