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

    Test connection LoPy4 and Arduino-Dragino Shield

    Scheduled Pinned Locked Moved LoPy
    2 Posts 2 Posters 219 Views 2 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.
    • V Offline
      Velkamhell
      last edited by Velkamhell

      Im trying to send data and recive data between a LoPy4 and Arduino-Dragino Shield configured as nodes at the same frecuency and LoRa parameters, however, neither device recive data from the other, this is the code of both, if someone know how to solve this im would be thankful

      Arduino-Dragino Node.png Lopy4 Node.png

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @Velkamhell
        last edited by robert-hh

        @Velkamhell I cannot tell from the code, where you set the transmission parameters like frequency, spreading factor and bandwidth. Just setting the region is not sufficient. The EU868 region allows the frequency to be set between 863 and 870 MHz. Unless these match at both sides, you will not receive anything.
        For Lopy devices, the default for the frequency is 868 MHz, the default for spreading factor and bandwidth is 7 and 125 kHz (SF7BW125). The Arduino-Dragino shield may have different defaults.
        Another note: I did not follow that further, but I have the impression, that Pycom devices always need at least a hard reset, if not a power cycle, to get proper operation of the LoRa circuit. After a soft reset LoRa does not seem to work.

        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