Yesterday, 08:39 AM
We have a question about reading Modbus RTU:
With A2:
RS485:
RXD:35
TXD:32
With A2V3:
RS485:
RXD:GPIO15
TXD:GPIO7
With A2 can read, but not with A2V3. Any idea?
// A2v3:
HardwareSerial MBus(1);
MBus.begin(9600, SERIAL_8N1, 15, 7);
pinMode(4, INPUT); // modo auto
// A2:
HardwareSerial MBus(2);
MBus.begin(9600, SERIAL_8N1, 35, 32);
ModbusMaster node;
node.begin(1, MBus);
uint8_t r = node.readInputRegisters(6, 2); // FC04 @ PDU 6
Someone could help us?
With A2:
RS485:
RXD:35
TXD:32
With A2V3:
RS485:
RXD:GPIO15
TXD:GPIO7
With A2 can read, but not with A2V3. Any idea?
// A2v3:
HardwareSerial MBus(1);
MBus.begin(9600, SERIAL_8N1, 15, 7);
pinMode(4, INPUT); // modo auto
// A2:
HardwareSerial MBus(2);
MBus.begin(9600, SERIAL_8N1, 35, 32);
ModbusMaster node;
node.begin(1, MBus);
uint8_t r = node.readInputRegisters(6, 2); // FC04 @ PDU 6
Someone could help us?


![[Image: A2v3-diagram.jpg]](https://www.kincony.com/images/A2v3/A2v3-diagram.jpg)