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

    Using Ethernet with a pycom device

    Scheduled Pinned Locked Moved Discussion
    lopywipy 2.0uartethernet
    6 Posts 3 Posters 2.7k 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.
    • B Offline
      binux
      last edited by

      Hello everyone,

      I'm currently facing issues with transfering data between two microcontrollers (one is a lopy/wipy the other an arduino based) which are like 20m away from each other. I would normally use WiFi for this, but it is already occupied. Also bluetooth does not work since the antenna is not strong enough. So I thought about using ethernet for this since it provides stable connections over a long distance. However I did not really find any module which is currently supported by a LoPy or WiPy.

      Do you have any suggestions on what to use? Or do you maybe have a better idea for the data transfering? I would prefer UART, but the distance is just too far...

      Thanks already!

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

        If it's just for the distance perhaps simply connecting the two UARTs using RS-485 adapters is enough. That should give you 1000m range (spec says 1200 meters) over twisted pair.

        An adapter like this http://www.waveshare.com/rs485-board-3.3v.htm (or anything which does TTL-RS485 with 3.3v levels, check Ebay Aliexpress etc) should do the trick.

        If you do need Ethernet then check this thread: https://forum.pycom.io/topic/1323/rj45-in-combination-with-a-lopy

        1 Reply Last reply Reply Quote 2
        • B Offline
          binux
          last edited by

          The RS-485 would be enough for what I do. I have a one way communication. So I looked for an alternative since I couldn't find the wave-share in a german store. Do you think it also works with this sparkfun module?

          SparkFun Transceiver Breakout - RS-485

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

            @binux
            I think you can find the Waveshare unit in Germany at

            https://eckstein-shop.de/RS485-Board-33V

            but sure the Sparkfun would work too.

            Don't forget you'll need two - one at each end of the cable :)

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              binux @jmarcelino
              last edited by

              @jmarcelino got that ;) i prefer the sparkfun then because I can plug a standard cat5e cable which is widely available. Thanks for your help!

              1 Reply Last reply Reply Quote 0
              • T Offline
                tekexpert
                last edited by

                This post is deleted!
                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