October 6, 20232 yr Hi, I once found on github information on how to connect a LilyGO / T-CAN485 device with DEYE. Unfortunately, I can't figure out how to do it. I changed GPIO to 21 and 22 but it still doesn't connect. Is there something else I should change in the code? Thanks for your reply!
October 9, 20232 yr Author I managed to solve the problem. You should add 5V power supply to the rs485 chip to the code. output: - platform: gpio id: ENABLE_PIN # Enable the chip pin: number: GPIO19 inverted: true - platform: gpio id: SE_PIN # Enable autodirection pin: number: GPIO17 inverted: true - platform: gpio id: ENABLE_5V_PIN # Enable 5V pin for RS485 chip pin: number: GPIO16 inverted: true uart: id: mod_bus rx_pin: GPIO21 tx_pin: GPIO22 baud_rate: 9600 stop_bits: 1
December 4, 20232 yr On 2023/10/09 at 1:28 PM, Dariusz said: I managed to solve the problem. You should add 5V power supply to the rs485 chip to the code. output: - platform: gpio id: ENABLE_PIN # Enable the chip pin: number: GPIO19 inverted: true - platform: gpio id: SE_PIN # Enable autodirection pin: number: GPIO17 inverted: true - platform: gpio id: ENABLE_5V_PIN # Enable 5V pin for RS485 chip pin: number: GPIO16 inverted: true uart: id: mod_bus rx_pin: GPIO21 tx_pin: GPIO22 baud_rate: 9600 stop_bits: 1 hi @Dariusz i am in the same situation as you in my case i have a deye 8k that i would connect via can and then a bms jk that manages some 16s x 304ah cells. have you been able to connect it at this moment with a bms or how do you use the lilygo ?
January 16, 20242 yr Author Yes, everything works. I have a connection to the inverter and to the battery (BMS SEPLOS) Edited January 16, 20242 yr by Dariusz
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.