ich habe eine Frage zur Auslegung der S0-Schnittstelle und hoffe, in der richtigen Kategorie gelandet zu sein. Falls nicht, gebt mir bitte ein kurzes Feedback, damit ich das ändern kann.
Also: Ich habe mir von der Fa. B+G e-tech den Wechselstromzähler FLWS45 gekauft, da dieser u.a. über eine S0-Schnittstelle verfügt.
Laut Hersteller ist hier ein Optokoppler "mit Open-Kollektor" eingebaut.
Ich habe jetzt so alles mir mögliche versucht, was dazu führt, dass ich am S0+-Ausgang ein Signal abnehmen kann, es will mir einfach nicht gelingen. Ich bin noch nicht einmal soweit einen ESP32 oder Raspi anzuschließen, ich habe bei einem erwarteten Pegel von 3,3 Volt nur einen Logic-Analyzer von az-delivery angeschlossen. (Siehe Stromlaufplan unten).
Kann mir jemand damit helfen, was tatsächlich im Zähler verbaut ist oder mir mit einer funktionierenden Beschaltung helfen?
Ich danke im Voraus für Eure Hilfe und wünsche wegen dem konkreten Datum allen alles gute für die Weihnachtsfeiertage!
Please use English on the international part of the forum.
There is a separate very active German section too.
Hello Arduino community,
I have a question regarding the S0 interface and hope I've posted in the right category. If not, please give me some feedback so I can change it.
So: I bought the FLWS45 AC meter from B+G e-tech, as it has an S0 interface.
According to the manufacturer, it uses an open-collector optocoupler.
I've tried everything I can think of to get a signal from the S0+ output, but I just can't get it to work. I haven't even gotten to the point of connecting an ESP32 or Raspberry Pi; I've only connected a logic analyzer from az-delivery, which I expect to receive a signal of 3.3 volts. (See circuit diagram below).
Can anyone help me identify the actual components inside the meter or provide a working circuit diagram?
Thank you in advance for your help, and I wish everyone a very happy Christmas!
You don't need to know those components, however the basic idea of your circuit should work, as long as GND is connected to the ESP32. Here is how I would do it:
many thanks for your feedback in this short time. But this is exatly the problem: In the manual are only the standard information. I have connected the S0 port with my layout on the topic on the post, but this is so not working.
That circuit probably destroyed the input pin on the ESP32. When the sensor output is off (high impedance), 12V is applied to the ESP32 input. That is, assuming that the GND connection is the ESP32 GND.
many thanks for your feedback.
But this is my problem: "Here is how I WOULD do it"
Do you have tested your layout? It is working?
I check it immediately and give you a status of my results.
thanks for your perfect support!!!
It were essential for me that it is working on your side.
At first it is not working. But then I have changed both ports of the S0 connection --- voila, it is working!!!
It is possible that description in company manual is not perfect, there is one mistake in a picture and I have saw it not correct.
But now it is working fine and I say thanks again.