Convey rs485 between two Raspberry Pi 2? Can it be done?

7 posts / 0 new
Last post
dennisdunbar
Convey rs485 between two Raspberry Pi 2? Can it be done?

Any idea how to do it? I need to move a 9600 baud data stream from one place to another. I have RS485 to USB devices and it does recognize the one at the server. How to get the client on a second Pi 2?

Thanks

Michael
.

Yes it can be done, you just need to run the virtualhere client for armhf processors on the other raspberry pi.

If you have a gui on the client raspberry pi you can use this https://www.virtualhere.com/sites/default/files/usbclient/vhuirarmhf

if you dont have a gui, you need to run the console version for armhf here https://www.virtualhere.com/sites/default/files/usbclient/vhclientarmhf and follow these instructions https://www.virtualhere.com/linux_console

If you dont have the usbip driver (take a look in syslog if the client wont start and it will show the reason), i can compile one for you and the virtualhere client will automatically download it. You need to provide the kernel version and i can compile one for you..

dennisdunbar
RS485

Ok so the client has a GUI, Rasparian on a Pi Model 2. I down loaded vhuiramhf but do I expand it or how to configure an launch?

Michael
just open a terminal in your

just open a terminal in your raspbian desktop and type sudo ./vhuirarmhf and it will show the client dialog, then right click on the RS485 and select use.

dennisdunbar
RS485

I get command not found, do I have to put it some where?

dennisdunbar
rs485

Here is the result of uname -a:

Linux raspberrypi 3.18.8-v7+ #763 SMP PREEMPT Sat Feb 28 18:29:00 GMT 2015 armv7l GNU/Linux

Michael
You havent done chmod +x on

You havent done chmod +x on that file.

Log in or register to post comments