david_1234
Posts: 328
Joined: Mon Jan 01, 2018 2:14 pm

how can I connect a usb to rs485 to PI?

Mon Oct 22, 2018 2:58 pm

Hello ,
I'm using this usb-rs485 from "SparkFun" on my windows computer
https://www.sparkfun.com/products/9822

can I use it on PI 3?

or do I need another device ?

Thanks ,

drgeoff
Posts: 10676
Joined: Wed Jan 25, 2012 6:39 pm

Re: how can I connect a usb to rs485 to PI?

Mon Oct 22, 2018 3:13 pm

Which end, the USB or RS-485, do you want to connect to the RPi?

danjperron
Posts: 3502
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: how can I connect a usb to rs485 to PI?

Mon Oct 22, 2018 8:02 pm

Yes it should work


I know that this one works!

https://www.dx.com/p/usb-to-rs485-adap ... een-296620

david_1234
Posts: 328
Joined: Mon Jan 01, 2018 2:14 pm

Re: how can I connect a usb to rs485 to PI?

Tue Oct 23, 2018 7:46 am

I want to connect the USB to the PI and send data using C# program to a device

how do I define it in the code ?


I can see the device :

Code: Select all

susb 
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

but now what?



Thanks ,

Return to “General discussion”