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

    Can I connect the LoPy module to the Raspberry?

    Scheduled Pinned Locked Moved LoPy
    raspberry pi
    6 Posts 3 Posters 3.3k Views 4 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.
    • S Offline
      scg94
      last edited by

      Hello everyone,

      I'm Santiago from Colombia...

      I want to know if it is possible to create a network from LoPy to LoPy or nano-gateway and nodes, and connect this to Raspberry Pi to display all the data that has been acquired ...

      If it is not possible, can I use the pins 40 and 41 (RX and TX) to get out the variables read to the Raspberry or some other Serial board reader ?.

      Thank you.
      Regards.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bucknall
        last edited by

        Hi @scg94

        I'll be posting to our docs soon, an example of how to do this!

        I've previously used UART (RX & TX) to talk between the RPi and the LoPy to use the LoPy as a LoRa node!

        Hope that helps!

        Developer Evangelist - Pycom

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          scg94 @bucknall
          last edited by

          @bucknall
          This is what I want to do, but I could not, can you help me?

          Regards...

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bucknall @scg94
            last edited by

            Hi @scg94,

            Have a look at this github repo, I will post this formally onto our docs later this week.

            https://github.com/Bucknalla/lopy-raspberrypi

            Developer Evangelist - Pycom

            PiAirP 1 Reply Last reply Reply Quote 1
            • PiAirP Offline
              PiAir @bucknall
              last edited by

              @bucknall Maybe it is by design, but doesn't this code in main.py:

                      if data == b'send':
                          send_lora("data")
              

              cause the LoPy to always send the literal string "data" instead of the contents of the variable data?

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bucknall @PiAir
                last edited by

                @PiAir It's by design, although admittedly confusing haha. I have an update to this where I'm connecting a LoPy up to a Raspberry Pi 3 which is running Node Red. The idea is to use this as an easy config Nano-Gateway.

                I'll update this when I get around to publishing this!

                Developer Evangelist - Pycom

                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