<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.m-2065249604915083731msoplaintext, li.m-2065249604915083731msoplaintext, div.m-2065249604915083731msoplaintext
        {mso-style-name:m_-2065249604915083731msoplaintext;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:DE;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hallo Frank,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>leider nein, einfach keine Zeit momentan </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>L</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Liebe Grüße,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Chris<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Frank Richter [mailto:frank.richter83@gmail.com] <br><b>Gesendet:</b> Donnerstag, 8. Februar 2018 15:40<br><b>An:</b> volkszaehler.org - users<br><b>Betreff:</b> Re: [vz-users] Mehr 1-Wire Eingänge<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Christian,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>bist du weitergekommen mit dem DS2482-800?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Grüße<o:p></o:p></p></div><div><p class=MsoNormal>Frank<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Am 23. Januar 2018 um 13:16 schrieb Christian Wulff <<a href="mailto:christianwulff@gmx.de" target="_blank">christianwulff@gmx.de</a>>:<o:p></o:p></p><div><div><p class=m-2065249604915083731msoplaintext>Habe gerade mit I2Cdetect angehängtes Ergebnis bekommen.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>…ich hatte eher was wie „0x78“ erwartet :-/<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Wie man das umrechnet konnte ich allerdings nicht rausfinden.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Lieben Gruß,<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Chris<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>-----Ursprüngliche Nachricht-----<br>Von: Christian Wulff [mailto:<a href="mailto:christianwulff@gmx.de" target="_blank">christianwulff@gmx.de</a>] <br>Gesendet: Dienstag, 23. Januar 2018 13:00<br>An: '<a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler-users@demo.volkszaehler.org</a>'<br>Betreff: AW: [vz-users] Mehr 1-Wire Eingänge<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Moin,<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>ob ich den Strong Pull Up brauche weiss ich nicht, sonst würde ich ja nicht fragen.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Wofür ist denn der Strong-Pullup da?<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Aktuell habe ich nur ne Menge DS18S20 Temperatursensoren auf dem(/n) Bus(sen).<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Zukünftig aber wahrscheinlich noch andersartige Sensoren (Luftfeuchtigkeit,Co2 Sensor,I²C Umsetzer, 1-Wire Schalteinheit, usw.) Da will ich mir jetzt noch schon den Weg verbauen mit der Wahl des Busmasters.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Als Busleitung habe ich EIB/KNX J-Y(St)Yh2x2x0,8 Die Sensoren sind 3-adrig angeschlossen.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Insgesamt möchte ich 4 Stück 1-Wire Busse haben.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Das würde ja durch den Einsatz von 1x DS2482-800 (anstatt / oder zusätzlich zu dem vorhandenen DS2482-100 auf Udo's Erweiterung) oder durch 3x DS2482-100 (zusätzlich zu dem vorhandenen DS2482-100 auf Udo's Erweiterung)<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Ich wollte jetzt nicht auf der über 25,-€ teuren DS2482-800 Platine draufrumlöten, die Pullups auslöten und dann am Ende feststellen, dass es zwar irgendwie geht, aber nur mit Einschränkungen und nicht so gut, diesen Plan dann verwerfen und dann doch lieber 3x die DS2482s-100 Platinen verwenden.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Deswegen hätte ich gerne vorher gewusst welche Lösung die bessere sein wird ohne es selber auszuprobieren und die Kohle zu versenken.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>In den älteren Versionen von Udo's Erweiterung sind ja auch mehrere DS2482-100 verwendet worden anstatt ein DS2482-800.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Das muss ja irgendeinen Grund gehabt haben vermute ich?<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Ich bin ja leider kein Elektroniker, sondern Maschinenbauingenieur. Trotzdem hab ich mal versucht mich durch die Datenblätter der beiden Varianten zu lesen und zu verstehen. Beim Verstehen hapert es leider, weil ich da einfach nicht vom Fach bin.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Wenn ich das richtig verstanden habe, müssen die strong pull ups in den Configuration Registern eingeschaltet werden (Seite 5/6 in den jeweiligen Datenblättern). Tut das der Volkszähler? (Sonst wäre die Strong-Pullup Hardware ja unnütz?!).<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Des Weiteren habe ich im -800erter Datenblatt gelesen (Seite 6 von 23), dass jeweils nur ein 1-Wire Kanal aktiv ist, und dieser ebenfalls in den Configuration Registern mit einem Channel Select Command umgeschaltet werden muss. Tut das der Volkszähler? Wenn nicht, dann müsste der Volkszähler ja angepasst werden (wo und wie auch immer, denn von Linux hab ich noch viel weniger Ahnung als von Elektronik!)<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Ich habe zwar die Kapitel "Slave Adresse" in beiden Datenblättern gefunden, jedoch wurde mir daraus nicht klar, welche Adressen ich z.B. an den DS2482-100 einstellen kann.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Nun ist ja noch die DS3231 RTC auf Udos Erweiterung am I²C angeschlossen. Auch von der kenne ich die I²C Adresse nicht, so dass ich nicht weiß, ob die eventuell mit einer zusätzlichen Adresse eines weiteren DS2482-100 kollidieren könnte.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Gibt es eine Möglichkeit die bereits verwendeten I²C Adressen auf dem Raspi auszulesen?<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Hier nochmal die beiden zur Diskussion stehenden Platinen:<o:p></o:p></p><p class=m-2065249604915083731msoplaintext><a href="https://www.amazon.de/ClosedCube-DS2482-800-8-Channel-1-Wire-Breakout/dp/B01GBTI2LC" target="_blank"><span style='color:windowtext;text-decoration:none'>https://www.amazon.de/ClosedCube-DS2482-800-8-Channel-1-Wire-Breakout/dp/B01GBTI2LC</span></a><o:p></o:p></p><p class=m-2065249604915083731msoplaintext><a href="https://www.artekit.eu/products/breakout-boards/ak-ds2482s-100/" target="_blank"><span style='color:windowtext;text-decoration:none'>https://www.artekit.eu/products/breakout-boards/ak-ds2482s-100/</span></a><o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Sorry für die vielen Fragen, aber ich würde gerne vorher abwägen welches die bessere Variante in meinem Fall ist, bevor ich es ausprobiere.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Ich hoffe nochmal auf eure fundierte Hilfe!<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Liebe Grüße,<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Chris<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>-----Ursprüngliche Nachricht-----<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Von: Udo1 [<a href="mailto:udo1@gmx.net" target="_blank"><span style='color:windowtext;text-decoration:none'>mailto:udo1@gmx.net</span></a>]<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Gesendet: Montag, 22. Januar 2018 15:24<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>An: <a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank"><span style='color:windowtext;text-decoration:none'>volkszaehler-users@demo.volkszaehler.org</span></a><o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Betreff: Re: [vz-users] Mehr 1-Wire Eingänge<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Moin,<o:p></o:p></p><div><div><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Am 22.01.2018 um 13:42 schrieb Christian Wulff:<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> „wenn du die Pull-Ups drin lässt, darfst du den Chip nur mit 3,3V <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> versorgen, auf keinen Fall mit 5V!“<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> Ääääähhhhh   hhhmmmmmm, ich hätte ihn jetzt genauso angeschlossen wie <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> auf Udo’s Erweiterung…….also die Pull-up‘s doch raus?!<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Die beiden 10k PullUps müssen raus.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> Brauchst du den strong pull up überhaupt, oder hast du deine Sensoren eh dreiadrig angeschlossen?<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Der strong pullup ist nicht nur für parasitär angeschlossene Sensoren gut.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Lt. Datenblatt hat der DS2482-800+ anscheinend eine eingebaute strong pullup Funktion.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>> Inzwischen habe ich folgendes breakoutboard gekauft: ClosedCube DS2482-800+ I²C to 8-Channel 1-Wire Bridge Breakout.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Ja, dann nimm das Board doch. Löte die Pullups R1 und R2 aus. VCC kommt an 5V des Pi und GND an GND.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Gruß<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Udo<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Brauchst du den strong pull up überhaupt, oder hast du deine Sensoren eh dreiadrig angeschlossen?<o:p></o:p></p></div></div><p class=m-2065249604915083731msoplaintext>Probier's doch mal mit dem 800er, wenn du ihn schon gekauft hast.<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Gruß<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Frank<o:p></o:p></p><p class=m-2065249604915083731msoplaintext> <o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Am 22.01.2018 13:56 schrieb "Christian Wulff" <<a href="mailto:christianwulff@gmx.de" target="_blank"><span style='color:windowtext;text-decoration:none'>christianwulff@gmx.de</span></a>>:<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Jetzt hab ich grad noch das hier gefunden:<o:p></o:p></p><p class=m-2065249604915083731msoplaintext><a href="https://www.artekit.eu/products/breakout-boards/ak-ds2482s-100/" target="_blank"><span style='color:windowtext;text-decoration:none'>https://www.artekit.eu/products/breakout-boards/ak-ds2482s-100/</span></a><o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Vielleicht ist es sogar besser davon 4 Stück zu benutzen, anstatt einen mit dem DS2482-800, weil diese Platine schon die ganze Peripherie dabei hat?<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Lieben Gruß,<o:p></o:p></p><p class=m-2065249604915083731msoplaintext>Chris<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>