Replies: 2 comments 5 replies
-
Hallo Stefan, ich habe mir Deinen Schaltplan angeschaut und mit meinem Schaltplan und Unterlagen verglichen. Zunächst habe ich dabei in meinem eigenen Schaltplan zwei Fehler gefunden. Ich habe eine Korrektur meines Schaltplans bereits hochgeladen. Und einige Verbesserungsvorschläge: Den MCP2515 kannst Du in Deinem Layout weglassen. Das ist bei meiner Laborkarte ein Überbleibsel aus der Entwicklungszeit. Ich verwende den MCP2515 nicht. Hingegen die Vorbereitung für die WS2812 und ein OLED Modul finde ich super. NRF Modul Anschlüsse sind OK. Den OLED Port würde ich noch um eine Reset-Leitung ergänzen. Ich verwende ein großes OLED Display mit SSD1309 Chip. Den Treiber dazu habe ich in meinem Fork eingebunden. Funktioniert einwandfrei. Dafür benötigst Du einen GPIO Pin mit Output Funktion. Frei sollte noch GPIO. An den RTU_RX Pin noch einen 10kOhm PullUp vorsehen. In der Schaltung vermisse ich noch den 2. RS485 Port sowie den 2. MAX3485 Chip. Hier ein Zusammenfassung aller GPIO Pins: Software Serial Port (GPIO0 funktioniert in Verbindung mit meiner Änderung in der Lib EspSoftwareSerial) Hardware Serial Port 1 ESP32 CAN Port ESP SPI Port ESP I2C Port GPIO15 - WS2812 GPIO32 - InCurrLimit (Pre Charge) Nun zu Deinem Vorschlag des LM5069. Wie willst du den Shunt Widerstand realisieren. Aus den Unterlagen des Chips entnehme ich einen 5 milliOhm Widerstand. Das wird schwierig. Gruß Andreas PS: Ein neues Release habe ich heute hochgeladen. |
Beta Was this translation helpful? Give feedback.
-
Hallo Andreas, ich bin Deine Anmerkungen einmal durchgegangen und habe soweit alles umgesetzt. Den Software Serial Port (RTU) mit RS485 bzw. ADUM1201 (Jumperbar) habe ich noch hinzugefügt. Das mit den Lastwiderständen auf der Drain Seite hätte mir auch auffallen müssen:-) Bei dem 120 Ohm Widerstand am RS485 das selbe... Bei den WS2812 LEDs habe ich die Erfahrung gemacht, dass je nach Charge mal 3,3V Pegel am Din funktionieren und mal nicht. Dem OLED Port habe ich noch eine Reset Leitung verpasst. Im Layout werde ich für das OLED eine Befestigungsmöglichkeit (4 Distanzbolzen) vorsehen und habe mich dabei für dieses Display entschieden: Als nRF Modul wird bei mir das ebyte zum Einsatz kommen: https://www.amazon.de/dp/B07P8TTHZH?ref=nb_sb_ss_w_as-reorder_k1_1_6&=&crid=AYQVDTJISWMB&=&sprefix=ebyte+ Was den Soft-Start angeht werde ich bei Deiner Lösung mit den Widerständen bleiben. Könntest Du noch einmal schauen, ob das mit dem MISO für den NRF so passt? In Deiner Auflistung hängt er an GPIO12, bei den meisten (und in meiner Schaltung) aber auf GPIO19. Was ist besser/richtiger? Bei GPIO39 bin ich mir auch nicht sicher. Bei mir habe ich ihn auf Pin 4 vom ESP32 Modul gelegt (Bezeichnung VN). Bei Dir hängt er an SP (bzw. VP). Das wäre bei mir Pin 3. Was ist richtig? Die Steckverbinder in meiner Schaltung sind noch vorläufig. Ich habe eine Krimpzange für JST XH Steckverbinder, daher tendiere ich für die seriellen und dem Stecker für das Display zu dieser Type. Für die Leistungsspannung finde ich die Wago Hebelklemmen ganz praktisch. Mit den üblichen MC4 6mm² Kabeln kann man da direkt drauf gehen. Als Gehäuse hatte ich mir bei Reichelt dieses mitbestellt und die Leiterplattenform darauf angepasst: https://www.reichelt.de/industriegehaeuse-134-7-x-134-7-x-60-1mm-ip65-lichtgrau-6u07141406437-p340531.html?&trstct=pos_0&nbc=1 Die aktualisierte Schaltung habe ich bei mir abgelegt: https://github.com/Asselhead/OpenDTU-OnBattery-MW-Edition/blob/main/Schematic_V02.pdf Würde mich freuen, wenn Du noch einmal drüber schauen könntest und mir Feedback geben würdest. Vielen Dank! Gruß |
Beta Was this translation helpful? Give feedback.
-
Hallo Skippermeister, ich habe nun teilweise Deine Schaltung "my_very_speical_board" übernommen und leicht modifiziert.
Ich habe mich auf die Funktion mit Pylontech Batterien über RS485 und Meanwell NPB Ladegeräten über CAN beschränkt.
Den zusätzlichen MCP2515 habe ich weggelassen und stattdessen einen Stecker für den Anschluss eines I2C OLED und einen Stecker für den Anschluss von WS2812 LEDs eingefügt. Das Schaltnetzteil habe ich zunächst weggelassen, damit mögliche "Nachbauer" nicht mit Netzspannung in Berührung kommen. Stattdessen habe ich vorgesehen, das Board über ein USB Netzteil mit Strom zu versorgen. Dafür ist der USB-B Anschluss gedacht. Als Pylontech Anschluss habe ich den RJ45 übernommen. Bitte hier einmal die Pinbelegung kontrollieren (RS485 A/B). Ich hatte zwar auch einmal in Deine platformio_override.ini geschaut, bin mir aber nicht 100%ig sicher, ob ich alle Pins am ESP32 Modul auch so nutzen kann, wie ich sie verdrahtet habe. Da wäre ich über eine Rückmeldung sehr dankbar. Die Schaltung ist noch nicht final. Es soll eher einen Stand darstellen, in den gerne noch Wünsche und Verbesserungen einfließen können. Beim PCB habe ich nur einmal die wesentlichen und größten Bauteile draufgesetzt um zu schauen, wie es aussehen könnte. Es wäre total klasse, wenn Du mal einen Blick auf die Schaltung werfen könntest und gerne Wünsche und Anmerkungen hinterlassen könntest. Die Frage ist auch, ob wir die fetten Widerstände für Einschaltstrombegrenzung der Hoymiles WR benötigen, oder ob die in einer US*000C Batterie verbaute Soft-Start Funktion reicht. Leider gibt es dazu nicht viele Informationen. Darüber hinaus hatte ich überlegt einen kleinen Hot-Swap Controller LM5069 für den Zweck einzusetzen. Dann kann man sich den kleinen FET und die Widerstände sparen. Freue mich auf Feedback. Hier findest Du die Schaltung: https://github.com/Asselhead/OpenDTU-OnBattery-MW-Edition
Gruß Stefan
Beta Was this translation helpful? Give feedback.
All reactions