Habe einen Wunsch, jk-bms Umsetzung auf CAN Victron #24
Replies: 17 comments 48 replies
-
Das ist so machbar und funktioniert prinzipiell auch. Ich empfehle es aber nicht, da du dann keine galvanische Trennung hast. Das ist der Vorteil und der Grund für die BSC Hardware. Folgendes sind die GPIOs für CAN und Serial 0: Serial 0: |
Beta Was this translation helpful? Give feedback.
-
Hallo, grüße |
Beta Was this translation helpful? Give feedback.
-
Ich hab die Erweiterung eingebaut und das ganze gepusht. Du kannst es testen. |
Beta Was this translation helpful? Give feedback.
-
Danke |
Beta Was this translation helpful? Give feedback.
-
Echt 23 und 25? Danke |
Beta Was this translation helpful? Give feedback.
-
Hallo, die strommessung ist um den Faktor 10 falsch. Grüße |
Beta Was this translation helpful? Give feedback.
-
Guten Tag, ich habe da mal eine Beobachtung gemacht. ESP32 Serial port pins:GPIO pins your CAN bus transceiver(TJA1050) is connected to the ESP, note! TX->TX and RX->RX.can_tx_pin: GPIO23 liesse sich bitte bitte eine Version linken, die diese Ports nutzt? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ok, über welche?
Serial 0 nehme ich ja zu Kommunikation mit dem bms.
Viele Grüße
Jens-Uwe Franz
Am 15.02.2023 um 05:39 schrieb shining-man ***@***.***>:
Leider funktioniert das Log-file nicht.
Wie ich geschrieben hatte kommt das Log in dem Fall über die serielle Schnittstelle.
—
Reply to this email directly, view it on GitHub<#24 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPS4UZSKGI2DYLQCBTJ343WXRMZVANCNFSM6AAAAAAUVWU4WQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
👍🏻
Viele Grüße
Jens-Uwe Franz
Am 15.02.2023 um 07:01 schrieb shining-man ***@***.***>:
Den ganz normalen USB-Port von deinem ESP32 Board.
—
Reply to this email directly, view it on GitHub<#24 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPS4U7LZDP5OJXRUAWJNU3WXRWKJANCNFSM6AAAAAAUVWU4WQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Kommt heute Abend, muss heute ins Office ..,
Grüße
Jens - Uwe Franz
Am 15.02.2023 um 07:01 schrieb shining-man ***@***.***>:
Den ganz normalen USB-Port von deinem ESP32 Board.
—
Reply to this email directly, view it on GitHub<#24 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPS4U7LZDP5OJXRUAWJNU3WXRWKJANCNFSM6AAAAAAUVWU4WQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Das Problem mit der Stabilität des CAN- Bus habe ich mit einem neuen Adapter gelöst. |
Beta Was this translation helpful? Give feedback.
-
firmware.zip |
Beta Was this translation helpful? Give feedback.
-
Ich habe noch mal eine Grundsätzliche Frage zur JK-BMS Anbindung. Das JK hat ja direkt eine TTL-Schnittstelle. Also 3,3V. Ist das mit dem BSC berücksichtigt bzw. kann man das entsprechend einstellen? Hatte in der Doku dazu nichts gefudnen oder war zu Blind. Wenn man da mit dem RS485 direkt drauf geht sind es ja meine ich 5V. Hatte das mal versehentlich bei einem USB-TTL Adapter auf 5V eingestellt und da lieferte das BMS zum Teil grütze zurück (Temperaturwerte waren komplett falsch). Oder bin ich gerade Gedanklich ganz falsch abgebogen?! |
Beta Was this translation helpful? Give feedback.
-
Danke für die Antwort. 3,3V wäre ja richtig. Ich selbst benötige tatsächlich wohl alle 3 seriellen Schnittstellen (2x BMS 1x WR Deye). Das heißt, ich müsste dann mit dem Pullup arbeiten. Brauchst noch wen zum testen? :) Ich werde wohl am Wochenende den Deye an die Wand bringen und dann ist das Setup fertig. Die beiden Akkus sind bereits fertig und laufen derzeit noch an einem Victron MP. Wenn ich jetzt alles richtig verstanden habe, könnte ich es in einem Testsetup mit dem bekannten Problem der fehlenden galvanischen Trennung auch alles fliegend aufbauen, sofern ich mir noch einen CAN-Adapter besorge. Die beiden BMS könnte ich direkt verbinden mit dem ESP, da 3,3V. Den Deye bringe ich mit dem CAN-Adapter an den ESP. Software flashen und es könnte funktionieren. Gibt es eine Info, welcher CAN-Adapter getestet funktioniert und einigermaßen verfügbar ist? |
Beta Was this translation helpful? Give feedback.
-
@bennyb21 Dieser esp32 |
Beta Was this translation helpful? Give feedback.
-
Ich nutze die ESP32 Dev Kit C V4 NodeMCU. Ich habe eh noch welche nachbestellt, da ich den letzten aus meinem Fundus genutzt habe. Die kommen auch heute an, werde es einfach noch mal mit einem anderen testen... |
Beta Was this translation helpful? Give feedback.
-
Hallo,
im Wiki steht „Zum Testen kann aber auch ein ESP32-Dev-Kit (z.B. ein NodeMCU mit einem ESP-WROOM-32) genutzt werden“.
An welchem Gpio wird die Uart des jk-bms angeschlossen?
An welchem Gipo wird der CAN Wandler [TJA1050 CAN] angeschlossen?
Ich würde gerne nur eine Teil der Funktion nutzen und zwar Jk-Bms RS232 auf CAN für Victron wandeln.
Warum? Ich möchte mir einen USB Port sparen und mit dem CAN-Head arbeiten.
Ist das machbar?
Danke schon mal fürs lesen.
Grüße
Beta Was this translation helpful? Give feedback.
All reactions