RS485-1 on revpi flat pins

Topics about the Hardware of Revolution Pi
Post Reply
smartheit
Posts: 6
Joined: 25 Feb 2022, 08:56
Answers: 0

RS485-1 on revpi flat pins

Post by smartheit »

Hello,
I used the RS485-0 (so /dev/ttyAMA) for the serial console and I want change to RS485-1 ( /dev/ttyS0 ).
Do you have a pin description of the RJ11 pins?

According to a spec I found in the Web the Pins are:
1: TXD+
2: GND
3: TXD-
4: RXD-
5: Not used
6: RXD+

I guess pin 1 is on the WLAN antenna connector side while pin 6 is on the RS485-0 side (measured 3 Ohms between Connector shield and Pin 2)

My USB - RS485 Adapter has GND, +5V, RS485+ and RS485- pins. For the RS485-0 console - which was working - P was connected to RS485+, N to RS485- and GND to GND.

To achieve the same with the RS485-1 (half duplex) TXD+ and RXD+ are connected to the the Terminal RS485+ of my RS485 USB Adapter. TXD- and RXD- to the RS485- port, and GND to GND.
Can you confirm that assumptions?

I noticed that there is a 3rd serial port available:
0 lrwxrwxrwx 1 root root 7 Mar 20 09:34 ttyRS485-0 -> ttyAMA0
0 lrwxrwxrwx 1 root root 5 Mar 20 09:34 ttyRS485-1 -> ttyS0
0 crw--w---- 1 root tty 4, 64 Mar 20 10:19 ttyS0
0 crw-rw---- 1 root dialout 188, 0 Mar 20 09:35 ttyUSB0

For what is ttyUSB0 ?

Thanks
Marco
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: RS485-1 on revpi flat pins

Post by p.rosenberger »

Hi Marco,

ttyUSB0 is connected to the bluetooth device.

Best Regards,
Philipp
smartheit
Posts: 6
Joined: 25 Feb 2022, 08:56
Answers: 0

Re: RS485-1 on revpi flat pins

Post by smartheit »

Hi Philipp
thanks for the clarification with ttyUSB0. Do you have a pin description from the RJ11 connector?
Thanks
Marco
User avatar
nicolaiB
KUNBUS
Posts: 877
Joined: 21 Jun 2018, 10:33
Answers: 8
Location: Berlin
Contact:

Re: RS485-1 on revpi flat pins

Post by nicolaiB »

Hi Marco,

please have a look at our documentation: https://revolutionpi.com/tutorials/over ... rect=en_US

Hope this helps.

Nicolai
Post Reply