Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 not receiving anything
#12
Ok, I've examined the board. I've checked the pins of the RS485 ic (marked SP485EE 1435L B95770) with an oscilloscope. I can see incoming communication on pin 6 (RS485 A), but nothing on pin 1 (receiver output). I then checked pin 2 (Receiver output enable active LOW) and it is high (5V)!

I guess this is to be expected, this is also marked in the Kincony documentation (see below). But doesn't this mean that the SP485EE output is permanently disabled???

[Image: ch19-rs485.png]


UPDATE:

Ok, if I pull down pin2 on the SP485EE, then suddenly esphome receives data from the UART (pin 16).

Code:
21:22:40    [D]    [uart_debug:114]    >>> 01 06 00 01 03 00 D8 FA
21:22:40    [V]    [modbus:042]    Modbus received Byte  1 (0X1)
21:22:40    [V]    [modbus:042]    Modbus received Byte  6 (0X6)
21:22:40    [V]    [modbus:042]    Modbus received Byte  0 (0X0)
21:22:40    [V]    [modbus:042]    Modbus received Byte  1 (0X1)
21:22:40    [V]    [modbus:042]    Modbus received Byte  3 (0X3)
21:22:40    [V]    [modbus:042]    Modbus received Byte  0 (0X0)
21:22:40    [V]    [modbus:042]    Modbus received Byte  216 (0Xd8)
21:22:40    [V]    [modbus:042]    Modbus received Byte  250 (0Xfa)
21:22:40    [V]    [modbus_controller:055]    Modbus response queued
21:22:40    [V]    [component:204]    Component modbus took a long time for an operation (0.06 s).
21:22:40    [V]    [component:205]    Components should block for at most 20-30ms.
21:22:40    [V]    [modbus_controller:063]    Process modbus response for address 0x0 size: 4
21:22:40    [V]    [modbus_controller:308]    Command ACK 0x1 259
21:22:41    [D]    [uart_debug:114]    <<< 01 06 00 01 03 00 D8 FA

I don't know, but this looks like a design problem?

By the way, I have a revision 1.4 board. I notice that you have a 1.5 board. Did anything change on the RS485 side in between revisions?
Reply


Messages In This Thread
RS485 not receiving anything - by victorclaessen - 03-28-2023, 03:53 PM
RE: RS485 not receiving anything - by admin - 03-29-2023, 12:20 AM
RE: RS485 not receiving anything - by admin - 03-31-2023, 04:55 AM
RE: RS485 not receiving anything - by admin - 03-31-2023, 01:21 PM
RE: RS485 not receiving anything - by admin - 03-31-2023, 02:11 PM
RE: RS485 not receiving anything - by admin - 04-11-2023, 01:24 PM
RE: RS485 not receiving anything - by victorclaessen - 04-11-2023, 07:19 PM
RE: RS485 not receiving anything - by admin - 04-12-2023, 06:19 AM
RE: RS485 not receiving anything - by admin - 04-19-2023, 12:54 AM
RE: RS485 not receiving anything - by admin - 04-20-2023, 06:34 AM
RE: RS485 not receiving anything - by admin - 05-01-2023, 11:45 AM
RE: RS485 not receiving anything - by Yocee - 01-14-2024, 03:35 PM
RE: RS485 not receiving anything - by aucirc - 10-06-2024, 03:36 PM
RE: RS485 not receiving anything - by admin - 10-07-2024, 01:10 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)