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

    Provide internet to LoPy from Raspberry Pi or Particle Electron

    Scheduled Pinned Locked Moved LoPy
    internetraspberry pi
    3 Posts 2 Posters 1.2k 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.
    • S Offline
      shivams
      last edited by

      Is there any other way to provide internet access to LoPy apart from WiFi and Bluetooth? I'm using LoPy as a nano-gateway and having some WiFi interference issues, so I'm thinking of using a Raspberry Pi (RPi, henceforth). RPi will connect to the internet using LAN cable and will provide internet to LoPy using its GPIO pins.

      Alternatively, I can also use Electron or some GSM shield. Is this possible?

      1 Reply Last reply Reply Quote 0
      • C Offline
        crumble
        last edited by

        • You can configure your Pi as an access point and connect to LoPy to the Pi's WiFi.
        • Both have an UART (serial interface). You can connect them, so that
          • your LoPy has access to a terminal on the Pi
          • a small service on the Pi reads/sends data from/to the Pi
          • you can also write a small program which tunnels tcp/ip through the serial. But this will use a lot of resources on the LoPy.

        You don't need a Pi. There are a lot of RS232 to Ethernet interfaces on the market.
        If you use the Pi as an AP you can use the whole command set of the LoPy. Using the UART will need less power and will be more stable than WiFi.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          shivams @crumble
          last edited by

          @crumble Thanks for this insightful reply.

          WiFi is out of question in any form. Your other suggestions are really interesting. Could you explain the second suggestion, using UART, in a bit more detail?

          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