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

    LOPY to ERA-LORA board communication

    Scheduled Pinned Locked Moved LoPy
    lopy
    21 Posts 5 Posters 4.8k Views 5 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.
    • J Offline
      jmarcelino @pkilcoyne
      last edited by jmarcelino

      @pkilcoyne
      If I'm reading their manual correctly I think you may have the wrong frequency on the LoPy:

      0_1524072636156_Screen Shot 2018-04-18 at 18.29.48.png

      This means the frequency the LoPy should be set to is: 869850000 + (0 * 125000) + (125000/2) = 869912500

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        pkilcoyne @jmarcelino
        last edited by

        @jmarcelino Yep, I've tried that, no joy.

        If c is anything over 0 the LoPy gives an error saying:

        ValueError: frequency 870037500 out of range

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

          @pkilcoyne
          Did you also try receiving with the LoPy on the new frequency?

          Going over 870Mhz is not allowed in ETSI (Europe), the legal range is 868-870Mhz

          I guess with the ERA device to use a higher channel you'd need to lower the base frequency.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            pkilcoyne @jmarcelino
            last edited by

            @jmarcelino Yes I tried that. Basically both devices are programmed to transmit every 2 seconds and receive. But they're not receiving anything yet.

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

              @pkilcoyne
              They're not transmitting at the same time by any chance?

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                pkilcoyne @jmarcelino
                last edited by

                @jmarcelino Well I stopped transmitting on the ERA-LORA to see, nothing received. I've emailed LPRS again in regards to the frequency, awaiting their reply.

                Thanks again,

                Paul

                1 Reply Last reply Reply Quote 0
                • catalinC Offline
                  catalin
                  last edited by

                  hi @pkilcoyne, did you received any answer from LPRS?
                  I've understood you still have this problem, right?

                  Catalin,

                  Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io
                  Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pkilcoyne @catalin
                    last edited by

                    @catalin Hi, sorry for the tardy reply, I didn't see yours til now.

                    I gave up on getting the two devices to communicate, seems impossible.

                    Any thoughts?

                    Thanks,

                    Paul

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pkilcoyne
                      last edited by

                      @catalin @jmarcelino I again guys. So I've been playing around with two ERA-LORA modules and two LOPY modules again.

                      I have the two ERA-LORA modules talking to each other and separately the two LOPYs talking to each other.

                      Here are the settings on both sets of devices;

                      0_1536930365030_674c6752-a1d6-4ad2-9856-06e596c19d05-image.png

                      Can you think of anything else I might be missing?

                      Thanks,

                      Paul

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eric73 @pkilcoyne
                        last edited by Eric73

                        @pkilcoyne Hello, my two cents about reading your topics,
                        Basically if two lora module have same center Freq, same SF, same SYNCWORD (0x34 for lorawan and 0x12 for private lora), same coding rate, same IQ (IQ is inverted for lorawan and not inverted for private lora usally) and same HeaderSetup (implicit or explicit) the RX/TX work.

                        I dont see where with lopy how we can set header mode, so i suppose it's always explicit ?

                        In ERA-LORA it seem to be the same think (cannot set header mode so may be alway set a explicit?). They use "group ID" term instead of SYNCWORD, and they don't speak about IQ (so it's be supposed to be alway inverted ?)
                        I suggest you to try inverting IQ in Lopy for RX and TX, set group ID to 12xx in era lora , be careful on how you select frequency on both module and try...may be it's change something.

                        *I dont speak about header CRC mode setup it's a little bit fuzzy how it work.

                        1 Reply Last reply Reply Quote 2

                        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
                        • 2
                        • 1 / 2
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom