Python Forum
help with code for USB-RS485
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with code for USB-RS485
#1
Hello ,
I'm trying to write a code that will send me data to a RS485 device
I'm using this converter and respberry pi3
https://www.sparkfun.com/products/9822

does someone know how I need to define the device in Python?

Thanks ,
Reply
#2
This device should be recognized as usb_serial on Linux.
Just login as root and run dmesg -c.
Then you attach the USB-Converter to your usb port.
Then use the command dmesg again.

There should appear a device like FT232RL as /dev/ttyUSB0.
With PySerial it should be possible to use the RS485 converter.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
Yes ,
it's working !

Thanks ,
Reply
#4
What code are you using?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help reading data from serial RS485 korenron 8 13,595 Nov-14-2021, 06:49 AM
Last Post: korenron
Photo Raspberry PI writing to RS485 driver, DIR pin not holding state zazas321 2 2,087 Oct-30-2020, 06:23 AM
Last Post: zazas321
  Raspberry + RS485 shield | pySerial Coada 6 8,027 Apr-13-2017, 07:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020