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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Bumpy Road? : Connecting an Arduino MKR1310 WAN to The Things Network
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 28 Aug 2020 5:16 PM Date Created
  • Views 2723 views
  • Likes 4 likes
  • Comments 8 comments
  • mkr_1310_wan
  • ttn
  • the_things_network
  • iot
  • arduino
Related
Recommended

Bumpy Road? : Connecting an Arduino MKR1310 WAN to The Things Network

Jan Cumps
Jan Cumps
28 Aug 2020

Here's my first experience with the Arduino MKR1310 and The Things Network (TTN).

A (failed) attempt to follow the tutorial and connect to TTN.

I'm using a Arduino MKR 1310 WAN, tested with two different 868 MHz antennas, in an area known to be covered by TTN.

imageimage

 

I'm following the tutorial step by step.

  • installed the latest board support: Arduino SAM Boards version 1.8.7
  • and latest MKRWAN lib, 1.0.12

 

image

 

image

 

Made an application on TTN:

image

image

 

Loaded the FirstConfiguration sketch to my board:

 

image

Ran it:

image

Registered my device using the Device EUI:

 

image

 

Selected OTAA, and entered the APP EUI and KEY.

image

No success. The board returns "Something went wrong; are you indoor? Move near a window and retry", and TTN console says there was no contact.

 

image

image source: the things network

 

image

image source: ttn mapper. I live uphill, one of the highest parts of the city called "Litlle Hill". In a beam.

 

Any advice?

  • Sign in to reply

Top Comments

  • fmilburn
    fmilburn over 5 years ago +2
    I was never able to make a TTN connection when I lived in Seattle. I have two MKR1310s and they communicate OK between each other. Possible causes for my problems: TTN stations were sparse in my area and…
  • ralphjy
    ralphjy over 5 years ago +1
    I have 2 MKR1300s and a TTN gateway. Don't know if the newer boards improved range. I'm not sure what kind of coverage you are expecting but the nearest gateway on your map looks to be about 3km away.…
  • fmilburn
    fmilburn over 5 years ago in reply to fmilburn +1
    Correction: mine are MKR1300, not 1310. I looked back at my notes and the furthest successful transmissions with my antennas was under a kilometer and that was unobstructed line of sight.
Parents
  • fmilburn
    fmilburn over 5 years ago

    I was never able to make a TTN connection when I lived in Seattle. I have two MKR1310s and they communicate OK between each other.  Possible causes for my problems:

    • TTN stations were sparse in my area and maybe not active when I tried though shown on the map
    • Terrain and/or buildings blocking signal

    I tried driving closer to the nearest station and then to the top of a hill but no luck.  Between the two units I have it works better indoors and nearby than WiFi but at distances over several hundred meters I found direct line of sight was often required with my antennas.  Trees and houses attenuated the signal greatly.

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

    Correction: mine are MKR1300, not 1310.  I looked back at my notes and the furthest successful transmissions with my antennas was under a kilometer and that was unobstructed line of sight. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to fmilburn

    Functionally, the 1310 is similar to the 1300. Arduino optimised the power consumption.

     

    So did I image. When I get a MKR board and want to run low power, I disable the ON LED.

    In the past I did that by desoldering the LED. But that's destructive. These LEDs don't like heat and it's very hard to get one off the PCB intact.

    These days, I remove the series resistor. That one can just be pushed off by pressing a hot chisel type solderering iron against it.

    Less risky and easy to revert.

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to fmilburn

    Functionally, the 1310 is similar to the 1300. Arduino optimised the power consumption.

     

    So did I image. When I get a MKR board and want to run low power, I disable the ON LED.

    In the past I did that by desoldering the LED. But that's destructive. These LEDs don't like heat and it's very hard to get one off the PCB intact.

    These days, I remove the series resistor. That one can just be pushed off by pressing a hot chisel type solderering iron against it.

    Less risky and easy to revert.

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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