Victron Venus OS: 1-Wire Temperatur Sensoren einbinden

Wenn man zusätzliche Temperatur Sensoren in Venus OS einbinden möchte kommt man irgendwann nicht mehr so recht weiter. Natürlich kann man die Sensoren des BMS und des Multiplus 2 nutzen um einige Temperaturen abzurufen. Aber wenn man z.b. die Temperatur eine NEEY Balancers oder der Batteriepole abgreifen will, so stolpert man irgendwann über die Notwendigkeit, 1-Wire dafür zu nutzen. Die folgende Anleitung ist leider nur für Installationen basierend auf dem Raspberry geeignet....

DS2482-100 - Anschluss und Pins des I²C OneWire-Busmasters

Der DS2482 ist ein Busmaster für den 1-Wire Bus welcher via I²C angesteuert wird. Zunächst geht es an den Anschluss. Wichtigste Information ist dabei erstmal “Wo muss welches Kabel hin”, was sich durch den Pinout unten (je nach Bauform) erklärt: High-Level wird das ganze dann so betrieben: Quellen der Erläuterungen und Bilder: DS2482-100 Datasheet  How to Use the DS2482 I²C Busmaster 

1-Wire Bausteine - Übersicht

In den vergangenen Wochen habe ich mich mit einigen (der massiv vielen) 1-Wire Bausteinen intensiv auseinander gesetzt. Diese mächte ich hier mal für mich auflisten und später nach und nach mit weiteren Artikeln ergänzen. Bausteine Name Family Code Beschreibung Artikel DS1982 09 1Kb EPROM memory DS1985 0B 16Kb EPROM memory DS1986 0F 64Kb EPROM memory DS1904 24 RTC DS1920 10 Temperature and alarm trips DS1921GDS1921HDS1921Z 21 Thermochron temperature logger DS1922LDS1922TDS1923 41 High-capacity Thermochron (temperature) and/or Hygrochron (humidity) loggers DS1963L 1A 4Kb NV RAM memory with write-cycle counters DS1971 14 256-bit EEPROM memory and 64-bit OTP register DS1972 2D 1024-bit EEPROM memory DS1973 23 4Kb EEPROM memory DS1977 37 Password-protected 32KB (bytes) EEPROM DS1990ADS1990R 01 1-Wire address only [1] DS1991 02 Multikey iButton, 1152-bit secure memory DS1992 08 1Kb NV RAM memory DS1993 06 4Kb NV RAM memory DS1994 04 4Kb NV RAM memory and clock, timer, alarms DS1995 0A 16Kb NV RAM memory DS1996 0C 64Kb NV RAM memory DS2401 01 1-Wire address only DS2404 04 4Kb NV RAM memory and clock, timer, alarms DS2405 05 Single switch DS2406DS2407 12 1Kb EPROM memory, 2-channel addressable switch DS2408 29 8-channel addressable switch DS2409 1F Dual switch, coupler DS2411 01 1-Wire address only DS2413 3A Dual-channel addressable switch DS2415 24 RTC DS2417 27 RTC with interrupt DS2422 41 High-capacity Thermochron (temperature)/Hygrochron (humidity) logger DS2423 1D 4Kb NV RAM memory with external counters DS2430A 14 256-bit EEPROM memory and 64-bit OTP register DS2431 2D 1024-bit EEPROM memory DS2438 26 Smart Battery Monitor DS2450 20 Quad ADC DS2502 09 1Kb EPROM memory DS2505 0B 16Kb EPROM memory DS2506 0F 64Kb EPROM memory DS2890 2C Single-channel digital potentiometer DS28E04-100 1C 4096-bit EEPROM memory, two-channel addressable switch DS28EA00 42 Programmable-resolution digital thermometer with sequence detect and PIO DS28EC20 43 20Kb EEPROM Interfaces Name Beschreibung DS2480 Serial to 1-Wire Line Driver DS2482 I2C 1-Wire Master DS2483 Single-Channel 1-Wire Master with Adjustable Timing and Sleep Mode Hinweise Kursiv angezeigte Bauteile werden nicht mehr für neue Designs empfohlen....

2016-10-04 342 Wörter 2 Minuten Uli

Verwendung eines iButton an einem Arduino via OneWire

Seit einiger Zeit habe ich mich mal ein bisschen mit 1-Wire auseinander gesetzt und habe dabei auch mal mit iButtons auf der Basis eines DS1990A (Siehe Übersicht) herumgespielt. Doch was sind iButtons eigentlich? iButton ist ein Markenname von Dallas Semiconductor bzw. seit 2001 Maxim Integrated. Ein iButton ist ein IC mit einer Eindrahttechnik-Schnittstelle. Die Gehäuse (Microcan F5 (17,35 x 5,89 mm) und das etwas seltenere flache Microcan F3 (17,35 x 3,1 mm)) bestehen aus 0,254 mm dickem Edelstahlblech und ähneln einer Knopfzelle mit 16 mm Durchmesser....