Search found 3 matches

by peter1a
Wed Dec 22, 2021 6:39 am
Forum: Hardware
Topic: RS485 ESP32 half-duplex communication
Replies: 4
Views: 6604

Re: RS485 ESP32 half-duplex communication

After hours of reading I understand I need to set pin to low/high when receiving or transmiting. So I need to set pins (basically one pin for both on RS485 component DE & !RE) to high/low. Those pin is in my case connected to RTSA pin of UART which should do this job automatically based on datasheet...
by peter1a
Tue Dec 21, 2021 6:54 am
Forum: Hardware
Topic: RS485 ESP32 half-duplex communication
Replies: 4
Views: 6604

Re: RS485 ESP32 half-duplex communication

ESP_Sprite wrote:
Tue Dec 21, 2021 1:41 am
Did you look at the examples included in esp-idf already?
What about components which I use, should I also define them somehow? Uart expander (SC16IS752IPW) and RS485 (SN65HVD72D)?
by peter1a
Mon Dec 20, 2021 12:09 pm
Forum: Hardware
Topic: RS485 ESP32 half-duplex communication
Replies: 4
Views: 6604

RS485 ESP32 half-duplex communication

Hi, I have a question, so I have two identical devices that I would like to communicate via RX / TX (RS485). Both devices are exactly the same component, but as far as I know this is half-duplex mode, which means the first device sends, the second device receives and then again the second device rec...