Just started working on Raspberry Pi with Android things, have a sensor that gives output through RS485 cables, I want to feed that output to Raspberry Pi, explored but got no proper solution for the same, If anyone had done this kind of stuff before you could guide me to make the connection either by using a converter or using MAX 485
What is the best way to get the output from RS485 to RPi? How it could be achieved? Thanks in Advance
I am not familiar with Android Things but hopefully this will point you in the right direction... I have had a lot of success using a USB to 485 converter and the minimalmodbus python library on a Raspberry Pi. See below for some example code that I have used in the past. It is pretty basic but should get you started.
p.s. This is my first Answer, hope I did it right...