element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog #Blog 3 Just Encase Challenge : Setup of water level sensor and demo
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vishwasn
  • Date Created: 1 Mar 2022 8:50 PM Date Created
  • Views 873 views
  • Likes 8 likes
  • Comments 0 comments
  • Arduino MKR WAN 1300
  • just encase design challenge
  • lora
  • just encase
Related
Recommended

#Blog 3 Just Encase Challenge : Setup of water level sensor and demo

vishwasn
vishwasn
1 Mar 2022

Hello all, 

      Finally, I was able to put everything together and started testing out the experimental setup. 

Wrote a code for the water level measurement and sent the data over LoRa to another module. 

But I was not getting any good range because I didn't have a good antenna. In India allowed band for LoRa is 865 MHz. or IN865 when uploading the first configuration code. 

  if (!modem.begin(EU868)) //here IN865 for India 
  {
    Serial.println("Failed to start module");
    while (1) {}
  };

This is needed to get the EUI key and to check the firmware version of the module. 

For me, the MKRWAN library worked without any issue. MKRWAN V2 gave some errors so had to use the MKRWAN library. 

Note down the EUI key if you want to connect to the things network gateway (if it is in a chirp-able location :)).

You can update the firmware of the Murata module by uploading the updating standalone code in the MKRWAN library. 

Once all these things are done you are good to go. 

Here's my code repository for the whole project: https://github.com/vishwasnavada/LoRa_Exp

Antenna Design for LoRa:

Coming back to the weak signal, I realised that I need to make an antenna to enhance the range of the LoRa. The simplest one would be 

building a helical antenna using copper wire. I got a copper wire from an old co-axial cable. Which is strong and somewhat easy to bend also. 

image 

DIY antenna by winding 7 turns on a 5mm drill bit and 2mm apart. 

I found this hackaday article which helped me to design the antenna. 

I had this old wifi antenna from an old laptop. So I got MHF female connector which plugs in on the MKRWAN 1300 directly. 

image

Old wifi antenna from a laptop.

image

Antenna wire ready to be soldered to the copper helical antenna 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Demonstration of the whole setup.

After connecting everything, upload the water level program to transmitter unit and the LoRa receiver program to the receiver LoRa module. 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The data is received on the node at the receiver LoRa end. 

#Blog1 Just Encase challenge: Getting started and deciding the architecture..

#Blog 2 Just Encase challenge : Building a LoRa based water level sensor and a demo.

#Blog 3 Just Encase Challenge : Setup of water level sensor and demo.

Blog 4 Getting started with the airquality monitor project.

#Blog 5 Just Encase Challenge : Final blog with the results and enclosure conditions.

  • Sign in to reply
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