-
Ritar battery bms rs485 & CAN pinout
Треба спочатку розібратись чому в самій батареї неможете протокол виставити. Чи вже вийшло ? Я якось пропустив ваш пост, тільки сьогодні форум сповіщення прислав на ємейл. Судячи з того що ви написали - зв'зок є, але в самій батареї протокол не підходить і треба міняти
-
Ritar battery bms rs485 & CAN pinout
I dont know. Check inverter manual about CAN protocols numbers, but ai say me what L51 or L52 is sma can in growatts. Idk...
-
Ritar battery bms rs485 & CAN pinout
Just change protocol in battery with service software to sma can, roll this topic alot top, look on pins scheme, do patchcord canH->canH, canL->canL, on battery side put in can hole, in inverter try find dyness/deye/pylontech can protocol. Thats all.
-
Ritar battery bms rs485 & CAN pinout
Привіт. Спробуйте змінити свою стратегію і зробити CAN з'єднання замість rs485. Тобто в батарейках виставте протокол SMA CAN, дріт can-H->can-H, can-L->can-L за схемою, на мастер батареці цей дріт в дірку can замість rs485, у внверторі як видно зі схеми - дірка таж сама, тільки піни інші. І спробуйте перебрати на інверторі CAN протоколи (пошукайте який протокол в інверторі працює з батарейками deye, dyness, pylontech по CAN) SMA CAN в батарейках ritar = pylontech, dyness, deye can(00)
-
HinaESS PowerGem Plus and Home Assistant
Try my united bms framework for create custom modules for your battery : https://github.com/mamontuka/ritar-bms-ha its not hard, read manuals, catch registers, create map, ajust parsers
-
Ritar battery bms rs485 & CAN pinout
sure if you want try in future CAN connection, you can crimple in cable second pair - can-H->can-H, can-L->can-L, just on ritar side change inverter connection hole from rs485 to CAN, and sure choose another protocols on both sides(in battery and in inverter) so its can be just one universal properly done cable, for both connection types (one pair fror rs485, second pair for CAN, and you will able play with on battery connection hole and protocols on both sides how you want)
-
Ritar battery bms rs485 & CAN pinout
pictures taken from growat and ritar manuals. connect only one pair, another pairs just cut off from one or both sides
-
Ritar battery bms rs485 & CAN pinout
Взагалі зі сторони батарейки рітар можна земулювати будьяку батарейку і відповідний тип підключення. Як я наприклад показував доку де я під'єднав до деї через кан типа як рідну. Цей фокус мені довелось зробити щоб розділити мережу модбас на два сегменти у інвертора своя модбас мережа, у батареек своя, і між ними кан з'єднання як роутер )) бо при паралельній адресації незалежній інвертора по рс485 та батареек по тому ж рс485 з двох різних гейтів були проблеми
-
Ritar battery bms rs485 & CAN pinout
В 28у як я розумію треба айді більше ніж має мастер батарейка або остання батарейка зі звязки. Тобто це як айпі адреса, але в мережі модбас - всі елементи мережі повині мати різні унікальні модбас слейв айді. Мастером модбас зазвичай виступає той свисток або гейт для сервісного підключення і він не має слейв айді, але можк адресувати і бачити всю модбас мережу. Дріт правильно обіжми з кінця інвертора, щоб пара а б з батарейки йшла на пару а б на інверторі перехрестно, тобто контакт а на контакт б. Щодо протокола який треба поставити в самому інверторі - то я вже незнаю, нема ніде гровата поблизу, але коли підключення вже гарантовано вірне - то можна підбирати тупо перемикаючи і чекаючи секунд 20, бо воно не відразу підхоплюе.
-
Ritar battery bms rs485 & CAN pinout
Yes, at this point everything looks correct. Now we need to make sure there's no confusion with the connection holes. On the master battery (DIP ID 1), the IN and OUT are used only for the service software or HomeAssistant integration (IN), and for connecting the next battery, ID 2 (OUT). The RS485 port on the battery should be used for connecting to the inverter (in your case, for the RS485 connection). It works in parallel with the IN for service reading, but is used exclusively for connecting to the inverter. This raises the question of the correct cable crimping on the inverter side. Therefore, you need to check the pinout of the PC485 hole on the battery and the connection hole on the inverter itself. Please note that the picture in the ritar instructions shows the RS485 and CAN holes on the battery incorrectly; in reality, they are marked correctly on the battery. Naturally, the pinout connection should be correct: rs485a->rs485b crosswise, between the contacts in the PC485 on the battery and the hole in the inverter. in inverter also must be setted modbus slave id NOT EQUAL to battery slave id (id 1 setted on master battery by dip switch), because they both will have same id 1 and not work properly. ai tell me what : The default Growatt 5000ES Modbus slave ID is likely set to a specific value, but it is configurable. Users on forums report that the slave ID is set using an "Address setting" on the inverter's display, often found under configuration menu #28. A cold reboot may be necessary after changing the setting. How to set the Modbus slave ID Navigate the menu: Use the physical button to enter Program mode 2 (PM0dE2) and then navigate to the Modbus ID setting page (MOd Id). Enter programming mode: Press and hold the button for a specific duration (5 seconds) to enter the programming mode for this setting. Set the ID: Use the button to select a three-digit value between 001 and 247, as this is the valid range for an individual slave address. Confirm the setting: After setting the ID, save the new value. A cold reboot of the inverter is often required for the new Modbus ID to be recognized. Note: The setting is sometimes labeled "Address setting" and may be found under menu #28. i hope you understand about i say - modbus ids on inverter and battery must be different, on battery id 1 (master battery) on inverter another id NOT 1 about guessing li bms protocol in inverter - its already last thing, before all must be properly connected and setted.
-
Ritar battery bms rs485 & CAN pinout
Also if you use rs485, on master battery what looks on inverter, must be setted by dip switch properly id 1. On inverter side modbus id must be more than last battery setted ( for example id 5, if you have 4 batteries with ids 1-4)
-
Ritar battery bms rs485 & CAN pinout
And only after choosing needed protocol IN BATTERY - you need choose properly answer protocol on inverter side
-
Ritar battery bms rs485 & CAN pinout
And in battery you change rs485 protocol ? Maybe we have alot miss understanding, but IN BATTERY you NEED choose properly protocol too. Thats not stupid one protocol batteries like dyness or deye do. IN BATTERY you can choose from : 0 RITAR_RS485 (RITARV1_8) 1 DEYE_RS485 (Deye BMS Protocol 12), PLY(DEYE,SMK,FIRMAN,Hollandia) 2 GROWATT_RS485 3 VOLTRONIC_RS485, LIB05(VOLTRONIC,XUNZEL,TESLA,GSB SOLAR,PCE) 4 UPOWER_RS485 5 VERTIV_RS485 6 ELTEK_RS485 7 RITAR_MODBUSV1_9_RS485 8 VICTRON_CAN 9 RITAR_CAN 10 SMA_CAN (Deye Protocol 00) 11 MEGAREVO_CAN 12 TBB_CAN 13 SOLIS_CAN 14 INHENERGY_RS485 15 MUST_CAN 16 PYON_CAN 17 LUXPOWERTEK_RS485 18 PHOCOS_RS485
-
Ritar battery bms rs485 & CAN pinout
Confirm please if will have success in growatt protocol guess, i will add this way to documentation into my repository documentation
-
Ritar battery bms rs485 & CAN pinout
Im not specialist in growatts, just not have they close in direct access for ecperiments, but we can try guess conection type and protocol... AI tell me : Based on system logic and user experience: In Deye inverters, "Lithium Mode 00" generally signifies communication via the CAN-bus interface. In Growatt inverters, the protocols for CAN-bus communication are located within the L51-L99 range (in the menu setting 36). The most likely and frequently used protocol that works with many universal/generic batteries is L52 (this protocol emulates the Pylontech CAN-bus communication). Recommended Setup Steps: Set the Battery Type to "LI": In the Growatt menu (Program 5), select LI (Lithium Ion). Select Protocol L52: In the automatically opened Program 36 menu, select L52. This is the most common "universal" CAN protocol. Check the Cable: Ensure you are using a standard, straight-through RJ45 Ethernet cable. A straight-through cable is often used for both Growatt and Deye CAN communication. Monitor the Connection: After selecting the protocol, give the system a few minutes. If communication is established, the inverter display should show the correct State of Charge (SOC), and there should be no BMS error codes. And... Im pretty sure what : https://github.com/mamontuka/ritar-bms-ha/tree/main/software_and_documentation/RS485_adapters_and_ethernet_gates/UNDOCUMENTED_WIRING_WITH_DEYE So, by my logic, you need try find in growatt bms protocol what equal to deye 00 proto (can connection, sma type in ritar battery), and properly pinout for cable to connect with growatt. Or by same logic try find equal proto for rs485 to inverter connection.
mamont
Members
-
Joined
-
Last visited