Hi,
i need to communicate with an RS485 Device from my PC over Ser2Net to an ABB Aurora Inverter. So i pluged a TTL to RS485 board on my ESP32. The problem is the TX-Enable Pin on the RS485 board.
How can i set thies signal from my ESP32. On a old Screenshot from version 20210223 the option TX-Enable is pressent. But on the current version this option is not available. But i need the new version because i have 2 devices and this is possible again with the new version...
Can someone tell me where this option is in the current version or what other options there are for generating the TX-Enable signal?
Thanks very much
Communication-Serial-Server TX-Enable
Moderators: grovkillen, Stuntteam, TD-er
Communication-Serial-Server TX-Enable
- Attachments
-
- TTL_2_RS485_Board
- TTL2RS485.png (228.74 KiB) Viewed 2672 times
-
- current version
- esp2.png (73.04 KiB) Viewed 2672 times
-
- old version from 20210223
- TX Enable.png (98.59 KiB) Viewed 2672 times
Re: Communication-Serial-Server TX-Enable
With MAX485 chips you typically can connect the DE/RE pins with the TX.
The DE and /RE are eachother's inverse and this way the chip is set to "sending" mode when you try to send a bit.
The DE and /RE are eachother's inverse and this way the chip is set to "sending" mode when you try to send a bit.
Re: Communication-Serial-Server TX-Enable
i will try it.
my concern is that if I send a 0/low over TX the line will be released on the RS485 when RE/DE go low and some weird signal will be generated.
my concern is that if I send a 0/low over TX the line will be released on the RS485 when RE/DE go low and some weird signal will be generated.
Re: Communication-Serial-Server TX-Enable
i don`t find my Problem. i started from this pcture:
https://b2600043.smushcdn.com/2600043/w ... p=1&webp=1
my first stap was to remove the RS485 bard and made a wire from RX1 to TX2 and a 2nd from TX1 to RX2. i configured my ESP32, opend 2 terminals an everything was working => ESP-Config is ok
my next step was adding the 2 RS485 boards again and i put the DE/RE Line to the TX Pins. -> No communication
now a put the DE/RE Line on the first RS485 to GND and the 2nd to 3.3 Volt to geht a Communication in one direction, but it was still not working.... I cant find my problem.
but back to the first question. is the Option "TX Enable PIN" no longer available?
i think this is necessary if i sand a 0-bit. The De/RE Line should stay on hight so it is not possible to conntex DE/RE to the TX Pin
https://b2600043.smushcdn.com/2600043/w ... p=1&webp=1
my first stap was to remove the RS485 bard and made a wire from RX1 to TX2 and a 2nd from TX1 to RX2. i configured my ESP32, opend 2 terminals an everything was working => ESP-Config is ok
my next step was adding the 2 RS485 boards again and i put the DE/RE Line to the TX Pins. -> No communication
now a put the DE/RE Line on the first RS485 to GND and the 2nd to 3.3 Volt to geht a Communication in one direction, but it was still not working.... I cant find my problem.
but back to the first question. is the Option "TX Enable PIN" no longer available?
i think this is necessary if i sand a 0-bit. The De/RE Line should stay on hight so it is not possible to conntex DE/RE to the TX Pin
- Attachments
-
- PXL_20230603_184828261.jpg (1.83 MiB) Viewed 2632 times
Who is online
Users browsing this forum: No registered users and 2 guests