Using Ethernet with a pycom device
-
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!
-
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
-
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?
-
@binux
I think you can find the Waveshare unit in Germany athttps://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 :)
-
@jmarcelino got that ;) i prefer the sparkfun then because I can plug a standard cat5e cable which is widely available. Thanks for your help!
-
This post is deleted!
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