Hallo zusammen, ich habe nach der Schaltung von lena.franken.de/hardware/temperaturmessung.html einen DS18s20 angeschlossen. Mit der Java-API von maxim habe ich ein Problem. Beim Konvertieren der Temperatur bekomme ich einen Fehler: Exception occurred: com.dalsemi.onewire.OneWireException: Hardware option not available Der Oneviewer und auch digitemp funktionieren wunderbar. Hier mein Log: Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 Adapter ist : {DS9097E} COM1 AdapterVersion ist : DS9097/DS9097E,DS1413,com Speed ist : 0 ==================================================== = Found One Wire Device: CE000800ACCFB610 = ==================================================== = = This device is a DS1920 = Also known as a DS18S20 = = This device has alarms = Maximum temperature (Bereich): 100.0 = Minimum temperature (Bereich): -55.0 = High temperature alarm set to : 28.0 = Low temperature alarm set to : 23.0 = Temperature alarm resolution : 1.0 = Temperature resolution : 0.5 = Resolution is selectable : true = Available resolution 0 : 0.5 = Available resolution 1 : 0.1 = Setting high temperature alarm to 28.0 C... = Setting low temperature alarm to 23.0 C... = Setting temperature resolution to 0.5... = Could not write device state, all changes lost. = Exception occurred: com.dalsemi.onewire.OneWireException: Hardware option not available = Doing temperature conversion... = Could not complete temperature conversion... com.dalsemi.onewire.OneWireException: Hardware option not available Current Time = 1108023813984 Current Time = 1108023814984 (1000ms gewartet) = High temperature alarm set to : 28.0 = Low temperature alarm set to : 23.0 = Reported temperature: 85.0
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.