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
Internet of Things
  • Technologies
  • More
Internet of Things
Forum Success connecting to Arduino Cloud / TTN with MKR WAN 13x0: share your experience (solved)
  • 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!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 33 replies
  • Subscribers 501 subscribers
  • Views 10676 views
  • Users 0 members are here
  • ttn
  • cloud services
  • arduino
Related

Success connecting to Arduino Cloud / TTN with MKR WAN 13x0: share your experience (solved)

Jan Cumps
Jan Cumps over 3 years ago

update: solved - it was the coverage.

If you have been successful with sending data to The Things Network / Arduino Cloud, using an Arduino MKR WAN 1300 or 1310, please share your experience.

skruglewicz and I have tried this. The configuration worked for both of us (Arduino Cloud, TTN, customised sketch upload), but we don't get an active sub-1 GHz connection.

If you were able to exchange data, please share where you tried this, what Arduino/antenna combination, and where you placed your gizmo. And if you want, the sketch you uploaded (remove the Arduino-generated ID from the header comments).

Thank you

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 3 years ago in reply to javagoza +5
    Success! Walking tour, and in RED where I had coverage: edit: data also arrived at the Arduino cloud, as expected:
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to Jan Cumps +5
    touristic info: the walk was partly through the Louis Bertrandlaan. One of the prettiest lanes of the Brussels district. It's a protected view since 2020. source: https://www.bruxellesbavard.be/nl…
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to shabaz +4
    Has your MKR board worked for any non-LoRaWAN communication, e.g. just plain LoRa? I suppose it could be a faulty MKR board. Yes they are functional. I have two MKR WAN 1310s, and they can perfectly…
Parents
  • skruglewicz
    skruglewicz over 3 years ago

    In my case, the coverage is pretty weak. 

    But I'm still trying to connect..to the 2 in my vicinity by driving by until i get a signal. I'd be interested in finding out the success of others

    imageimage

    Hope everyone is doing good out there.

    Regards.

    Steve K

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • mp2100
    mp2100 over 3 years ago in reply to skruglewicz

    Just guessing from the map, the distance to the closest gateway is ~ 7 or 8 miles?  That's a stretch for LoRa, but possible.  If there is clear line-of-site it could work.  You wouldn't happen to be at the top of a hill?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz over 3 years ago in reply to mp2100

    Hello mp2100, CC: Jan Cumps 

    Thanks for the feedback,

    it might be 7-8 miles as the crow flies, but I have hills all around me. 

    I actually have NOT successfully connected to the TTN yet. I tried to but never was successful. I'm just finishing up on a five blog series for an  E14 Design Challenge. The five Blog Series Case Enclosure Reliability Monitor , supplied 2 LoRaWAN Arduino MKR WAN 1300..'s. When I followed the same tutorial described by member Jan Cumps in his comment,  at the time, I suspected, it was a distance issue and I abandoned the connection to the TTN and came up with a new design involving the 2  MKRWAN 1300 as a Sender and Receiver. The New Design was implemented and is working great. I plan to revisit the TTN tutorial soon, maybe this week. 

    E14 Member Jan Cumps ,whom initiated this blog, has excellent coverage and followed the same tutorial as I did for my 1st design attempt. He, as far as I can see,  has NOT successfully connected  to the TTN , as he mentioned above " we don't get an active sub-1 GHz connection."

    So I'm proposing to the Community.  Some questions still remaining are:

    • why can't Jan get an active sub-1 GHZ connection? 
    • He has more coverage than me and he still cannot connect, using the tutorial.?
    • Is there something missing in the tutorial part with TTN configuration?
    • Is he out of range of the 10 gateways on the TTN map?
    • Does any member know of an Arduino sketch that successfully connects to a gateway on the TTN map/
      • Like a TTN gateway range finder

    Kind Regards,

    Steve K

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz over 3 years ago in reply to skruglewicz

    Does anyone  know about the TTN Mapper project at ttnmapper.org (ttnmapper.org/.../) It is another gateway mapper . my only question is that it has fewer gateways than the TTN map at https://www.thethingsnetwork.org/map

    The gateway next my home is not listed? I'm wondering how accurate this map is? it show fewer gateways around me. It does give more info on the gateways it list however, like Location Lan/Lat

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to skruglewicz

    I located the closest gateway on that map, it's just a house block away.

    image

    According to that map, it's online right now.

    I've made a gizmo that lights up the LED if I have a connection:

    void loop() {
      ArduinoCloud.update();
      // Your code here 
      digitalWrite(LED_BUILTIN, ArduinoCloud.connected());
      health = health + 1;
      delay(10000);  
    }

    Here's my gizmo. As jc2048 indicated, I'll have to keep the antenna vertical.

    image

    There's no auto-retry. I need to push the reset button.
    Not a big fan walking through the capital with something like this, but anything for science :)

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to skruglewicz

    I located the closest gateway on that map, it's just a house block away.

    image

    According to that map, it's online right now.

    I've made a gizmo that lights up the LED if I have a connection:

    void loop() {
      ArduinoCloud.update();
      // Your code here 
      digitalWrite(LED_BUILTIN, ArduinoCloud.connected());
      health = health + 1;
      delay(10000);  
    }

    Here's my gizmo. As jc2048 indicated, I'll have to keep the antenna vertical.

    image

    There's no auto-retry. I need to push the reset button.
    Not a big fan walking through the capital with something like this, but anything for science :)

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
Children
  • javagoza
    javagoza over 3 years ago in reply to Jan Cumps

    That box has reminded me that years ago the police of my city stopped me because I was taking a picture with a large pinhole camera made from a cardboard box. In the end I had to open the box and the film was blurred. Your box also looks like a bomb :D Good luck with the tests.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to javagoza

    Success!

    image

    Walking tour, and in RED where I had coverage:

    image

    edit: data also arrived at the Arduino cloud, as expected:

    image

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

    touristic info: the walk was partly through the Louis Bertrandlaan. One of the prettiest lanes of the Brussels district. It's a protected view since 2020.

    image

    source: https://www.bruxellesbavard.be/nl/voor-groepen-en-ondernemingen/57--schaarbeek-1900

    image

    source:https://www.hln.be/brussel/gewest-beschermt-louis-betrandlaan~a91f55e3/165443150/

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 3 years ago in reply to Jan Cumps

    Great, glad it's sorted : )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to shabaz

    Yes!

    For future players. This map that skruglewicz mentioned, reflects coverage better than the TTN's own coverage map.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 3 years ago in reply to Jan Cumps

    Good to see it connecting, but it looks like you could use a better antenna. How far can you connect between 2 MKRs?

    Mine easily connect at over 3.5 km through houses and trees.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz over 3 years ago in reply to Jan Cumps

    Interesting... I'll need to drive by the gateway listed on https://ttnmapper.org/heatmap

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 3 years ago in reply to dougw

    I tested most of these: 

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz over 3 years ago in reply to Jan Cumps

    Glad you we're able to use TTN Mapper to locate the nearest gateway to your home. In my case I will need to drive by the the indicated gateway on the TTN Mapper site. Thanks for doing your walk. My drive by the gateway indicated on the TTN map did not work. which is why it is not indicate on the TTN Mapper heatmap.

    What I really like about the TTN Mapper Heatmap, is that it gives more information then the TTN Map. I shows the date and time of the last LoRaWAN chirp. also It gives me the Lat,Lon of the gateway

    I'll be able to pinpoint the gateway using GPS.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz over 3 years ago in reply to Jan Cumps

    great news!!   . thanks for the experiment.

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