<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 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:"Calibri",sans-serif;}
.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="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoPlainText>Moin,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>satte 2,5 Jahre später geht’s nun endlich weiter <span style='font-family:"Segoe UI Emoji",sans-serif'>😊</span><o:p></o:p></p><p class=MsoPlainText>Nachdem mein Volkszähler jetzt über ein Jahr ausgefallen war, habe ich es heute nun endlich geschafft die Hardware zu bauen und ein aktuelles Image zu drauf zu ziehen.<o:p></o:p></p><p class=MsoPlainText>Ich bin nach Anleitung vorgegangen und habe am Ende auch die Updates gezogen.<o:p></o:p></p><p class=MsoPlainText>Jetzt wird es allerdings "spezial":<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Ich habe auf meinem RPi3 Udos "RaspberryPi-Erweiterung mit Schaltausgängen_Rev.1"<o:p></o:p></p><p class=MsoPlainText>Darauf ist eine RTC DS3231.<o:p></o:p></p><p class=MsoPlainText>Ebenfalls ist ein DS2482-100 verbaut.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Nun habe ich noch einen DS2482-800 verbaut, und diesen erfolgreich von x018 auf 0x19 umgebaut, außerdem habe ich die beiden Pull-Ups wie empfohlen ausgelötet.<o:p></o:p></p><p class=MsoPlainText>Dann habe ich diesen in der rc.local eingetragen:<o:p></o:p></p><p class=MsoPlainText>sudo nano /etc/rc.local<o:p></o:p></p><p class=MsoPlainText><span lang=EN-US>echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>(unter der bereits vorhandenen "echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device")<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText>Wenn ich nun “ls /sys/bus/w1/devices/” in der Konsole eingebe bekomme ich als Antwort:<o:p></o:p></p><p class=MsoPlainText><span lang=EN-US>w1_bus_master1  w1_bus_master2  w1_bus_master3  w1_bus_master4  w1_bus_master5  w1_bus_master6  w1_bus_master7  w1_bus_master8  w1_bus_master9<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText>Juhu, das scheint zu funktionieren <span style='font-family:"Segoe UI Emoji",sans-serif'>😊</span><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Nun habe ich an zwei der Busmaster bereits jeweils einen DS18b20 angeschlossen.<o:p></o:p></p><p class=MsoPlainText>Müssten nicht bei Aufruf von "ls /sys/bus/w1/devices/" die UUIDs der angeschlossenen DS18b20 Sensoren zu sehen sein?<o:p></o:p></p><p class=MsoPlainText>Die werden leider nicht angezeigt?!<o:p></o:p></p><p class=MsoPlainText>Oder ging das irgendwie anders?<o:p></o:p></p><p class=MsoPlainText>Spielt es eine Rolle, ob in den Interfacing-Options ("sudo raspi-config") das 1-Wire Interface aktiviert ist oder nicht? (Ich vermute das kann aus bleiben, weil 1-Wire ja über den i²C Bus angesteuert wird.)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Ich wollte mal die I²C Adresse scannen, um zu sehen welche Adressen die DS3231, DS2482-100 und DS2482-800 wirklich haben.<o:p></o:p></p><p class=MsoPlainText>Leider gibt "i2cdetect -y 1" nur "-bash: i2cdetect: Kommando nicht gefunden." zurück.<o:p></o:p></p><p class=MsoPlainText>Woran liegt es?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Lieben Dank und liebe Grüße,<o:p></o:p></p><p class=MsoPlainText>Chris<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span style='mso-fareast-language:DE'>-----Ursprüngliche Nachricht-----<br>Von: Udo1 <udo1@gmx.net> <br>Gesendet: Montag, 22. Januar 2018 15:24<br>An: volkszaehler-users@demo.volkszaehler.org<br>Betreff: Re: [vz-users] Mehr 1-Wire Eingänge</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Moin,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Am 22.01.2018 um 13:42 schrieb Christian Wulff:<o:p></o:p></p><p class=MsoPlainText>> „wenn du die Pull-Ups drin lässt, darfst du den Chip nur mit 3,3V <o:p></o:p></p><p class=MsoPlainText>> versorgen, auf keinen Fall mit 5V!“<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> Ääääähhhhh   hhhmmmmmm, ich hätte ihn jetzt genauso angeschlossen wie <o:p></o:p></p><p class=MsoPlainText>> auf Udo’s Erweiterung…….also die Pull-up‘s doch raus?!<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Die beiden 10k PullUps müssen raus.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> Brauchst du den strong pull up überhaupt, oder hast du deine Sensoren eh dreiadrig angeschlossen?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Der strong pullup ist nicht nur für parasitär angeschlossene Sensoren gut.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Lt. Datenblatt hat der DS2482-800+ anscheinend eine eingebaute strong pullup Funktion.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> 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=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>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=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Gruß<o:p></o:p></p><p class=MsoPlainText>Udo<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p></div></body></html>