Xinyuan-LilyGO / T-CAN485

MIT License
96 stars 31 forks source link

CAN485 ESPHome using CAN #20

Open drawlusyk opened 6 months ago

drawlusyk commented 6 months ago

Does anyone have suggestions on using 2 CAN485 connected vi can h & l. I have used mcp2515 in esphome successfully but can not get these working. I have them flashed and blinking the led but not send/receive of can messages between the two. I have wires from h to h and l to l. Is any termination required?

`time:

`canbus:

teunito commented 5 months ago

Same here. Can't get CAN working with esphome and T-CAN485. My YAML looks similar to those from @drawlusyk, i'm using interval and not time. I tried it with a 120R resistor for termination. In https://github.com/Xinyuan-LilyGO/T-CAN485/blob/main/doc/schematic.pdf on page 2 section B-2 there is a 120R resistor (RY2) between CANL and CANH. So i think there is already termination on the board? But i'm not familiar with schema drawings.

I found https://github.com/Xinyuan-LilyGO/T-CAN485/issues/16#issuecomment-1872327090 describing that Output Section is obviously. Is there something similar for CAN?

Anyone any ideas or suggestion?

Llgok commented 4 months ago

@drawlusyk You can refer to the code of other contributors: https://github.com/Xinyuan-LilyGO/T-CAN485/issues/16#issuecomment-2125876729

drawlusyk commented 4 months ago

Hello. I have uploaded the code used. If this is not what you are referring to, please advise.

-Dennis

On Wednesday, 10 July 2024 at 10:13, LILYGO_L @.***> wrote:

@.***(https://github.com/drawlusyk) You can refer to the code of other contributors: #16 (comment)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>