Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    LoraWan OTAA example without antenna

    Scheduled Pinned Locked Moved LoPy
    lorattnotaa
    12 Posts 3 Posters 2.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hsn548
      last edited by

      Hi Everyone,
      I am trying to run LoraWann OTTA example from the documentation. I made an application on TTN and pasted the app eui and key in the code. I accidentally run the code without antenna attached.. Now when i plugged the antennas and ran the code again its not showing anything and lora.has_joined() is alwasy false. Is running the lora without antennas damages the lora ? or its just some other problem? Thanks...

      1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb
        last edited by

        Hi,

        We don't recommend running the LoRa radio without an antenna because it does have the potential to damage the radio. Personally, I have done this multiple times by accident and have never managed to damage the radio. I would recommend double checking your settings, frequencies, IDs etc to rule out the issue being with something else.

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hsn548 @seb
          last edited by

          @seb Thanks for the reply, i am using this code
          https://github.com/Bucknalla/lopy-raspberrypi/blob/master/lopy/main.py
          After registering to the TTN network , when i run the code with my eui and key the status at the ttn page is connected and i get activation message at the data tab after every 15 or 30 seconds.. but on the lopy console lora.has_joined() is always false...

          1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb
            last edited by

            Just to verify, have you updated your device to the latest firmware? And how far away are you from the gateway?

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hsn548 @seb
              last edited by

              @seb Yes i updated to the latest firmware, and i dont have my own gateway.. I just know that i come in the radius of the nearest gateway in TTN..

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jmarcelino @hsn548
                last edited by

                Hi @hsn548,

                Which country are you in please? (Or LoRAWAN region if you know)

                The radius of the nearest gateway in TTN also tends to be very optimistic. Have you tried it outside?

                H 2 Replies Last reply Reply Quote 0
                • H Offline
                  hsn548 @jmarcelino
                  last edited by

                  @jmarcelino I am in Stuttgart, Germany.. I just put it near my window.. :|

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hsn548 @jmarcelino
                    last edited by

                    @jmarcelino Is the activation messages after every 15 or 30 seconds normal?

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmarcelino @hsn548
                      last edited by

                      @hsn548
                      What do you mean? Activation messages where?

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hsn548 @jmarcelino
                        last edited by

                        @jmarcelino The activation in the data tab of TTN application.. https://ibb(dot)co/kk3AFn

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jmarcelino @hsn548
                          last edited by

                          @hsn548
                          If you only see the activation messages 30 seconds after you're probably too far away from the gateway and it's only picking up some of them.

                          H 1 Reply Last reply Reply Quote 0
                          • H Offline
                            hsn548 @jmarcelino
                            last edited by

                            @jmarcelino yup, thanks a lot.. i tried it outside and succeeded in getting the payloads as well..

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 1 / 1
                            • First post
                              Last post

                            Pycom on Twitter

                            Pycom