Hi,
I'm working on implementing MODBUS communication by sending data via UART from an ESP.
When transmitting, I successfully send RS485 data to the MODBUS device by setting the RE/DE (tied together) pins high. Then, I immediately set them low to receive data on the RX line of the ESP.
However ...
Search found 8 matches
- Mon Sep 08, 2025 11:29 am
- Forum: General Discussion
- Topic: Reading MODBUS RTU acknowledgment with esp-idf
- Replies: 1
- Views: 580
- Sun Apr 06, 2025 5:18 am
- Forum: General Discussion
- Topic: Unable to Send RS485 data from esp32-s3 to custom keypad with MAX3483
- Replies: 1
- Views: 145
Re: Unable to Send RS485 data from esp32-s3 to custom keypad with MAX3483
----------silicon labs zigbee code---------
[code]#define RX_BUFF_LEN 64
volatile uint16_t txFrameLength;
uint8_t txSum = 0;
volatile uint16_t Rx_Buff[RX_BUFF_LEN] = {0};
static uint16_t Rx_Buff_Len = 0;
#define RX_BUFF_SIZE 128
void USART2_RX_IRQHandler(void)
{
uint32_t flags;
flags ...
- Sun Apr 06, 2025 5:17 am
- Forum: General Discussion
- Topic: Unable to Send RS485 data from esp32-s3 to custom keypad with MAX3483
- Replies: 1
- Views: 145
Unable to Send RS485 data from esp32-s3 to custom keypad with MAX3483
Hi
I'm working on RS485 MAX485 communication from esp32s3 idf to silicon labs zigbee keypad(contains MAX3483 chip).
Connections:
keypad(MAX3483 ) -> TTL - RS485 Module
A -> A
B -> B
3.3V -> VCC
GND -> GND
TTL - RS485 Module -> ESP32-S3
DI -> GPIO-4
DE -> GPIO-42
RE -> GPIO-2
RO -> GPIO-5
when I ...
I'm working on RS485 MAX485 communication from esp32s3 idf to silicon labs zigbee keypad(contains MAX3483 chip).
Connections:
keypad(MAX3483 ) -> TTL - RS485 Module
A -> A
B -> B
3.3V -> VCC
GND -> GND
TTL - RS485 Module -> ESP32-S3
DI -> GPIO-4
DE -> GPIO-42
RE -> GPIO-2
RO -> GPIO-5
when I ...
- Fri Apr 04, 2025 8:58 am
- Forum: General Discussion
- Topic: Unable to Receive RS485 MAX data after switching to Receive mode of esp32s3
- Replies: 3
- Views: 458
Re: Unable to Receive RS485 MAX data after switching to Receive mode of esp32c3
I apologize for the mistake
Board is esp32-s3-wroom-2 not esp32-c3
Board is esp32-s3-wroom-2 not esp32-c3
- Fri Apr 04, 2025 6:36 am
- Forum: General Discussion
- Topic: Unable to Receive RS485 MAX data after switching to Receive mode of esp32s3
- Replies: 3
- Views: 458
Unable to Receive RS485 MAX data after switching to Receive mode of esp32s3
Hi
I'm working on communicating from esp32-c3-wroom-2 module to MAX chip.
From MAX2 to I'll send one time data to MAX1(Connected to esp module).
Initially I'm sending data from esp to MAX2 side. This is working fine. But after sending data my esp switching to receive mode by making RE&DE to low. So ...
I'm working on communicating from esp32-c3-wroom-2 module to MAX chip.
From MAX2 to I'll send one time data to MAX1(Connected to esp module).
Initially I'm sending data from esp to MAX2 side. This is working fine. But after sending data my esp switching to receive mode by making RE&DE to low. So ...
- Sat Mar 15, 2025 1:04 pm
- Forum: General Discussion
- Topic: Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
- Replies: 5
- Views: 6930
Re: Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
Thanks for sharing source code. But unfortunately no use that source code for me. Because I'm controlling MODBUS via RS485 circuit.
(ESP chip -> RS485 circuit-> MODBUS device and viceversa).
My Intention is just want to send frame to MODBUS via RS485 circuit and need to receive acknowledgement ...
(ESP chip -> RS485 circuit-> MODBUS device and viceversa).
My Intention is just want to send frame to MODBUS via RS485 circuit and need to receive acknowledgement ...
- Fri Mar 14, 2025 10:09 am
- Forum: General Discussion
- Topic: Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
- Replies: 5
- Views: 6930
Re: Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
Yes, I have independent RTU device(Jaguar).
I'm working with this device only.
And response I got after delay and at a time response bytes printing.
Check below logs that I have got.
No response received.
No response received.
No response received.
No response received.
No response received.
No ...
I'm working with this device only.
And response I got after delay and at a time response bytes printing.
Check below logs that I have got.
No response received.
No response received.
No response received.
No response received.
No response received.
No ...
- Thu Mar 13, 2025 2:18 pm
- Forum: General Discussion
- Topic: Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
- Replies: 5
- Views: 6930
Unable to read MODBUS RTU acknowledgement frames through esp32 Rx line
Hi
I'm working on controlling controlling MODBUS RTU from esp32 mini1 and esp32s3 wroom1.
Few days back I did controlling with MODBUS.
if I send frames from esp to modbus device and after making read/write pin low I got acknowledgement frames from modbus to esp that time.
But
Now same source code ...
I'm working on controlling controlling MODBUS RTU from esp32 mini1 and esp32s3 wroom1.
Few days back I did controlling with MODBUS.
if I send frames from esp to modbus device and after making read/write pin low I got acknowledgement frames from modbus to esp that time.
But
Now same source code ...