universam1 / iSpindel

electronic Hydrometer
http://www.ispindel.de
Other
827 stars 324 forks source link

Temp Sensor DS18B20 not working #477

Closed Horcrux82 closed 3 years ago

Horcrux82 commented 3 years ago

Good day,

I am having trouble getting my temp sensor to work, I am using the DS18B20. I have replaced the sensor with a new one just to test and getting the same result, this is the serial output:

FW 6.5.1
2.2.2-dev(38a443e)
Worker run!
mounting FS... mounted!
reading config file
parsed config:
{"Name":"iSpindel000","Token":"","Sleep":900,"Server":"","API":0,"Port":80,"URL":"","DB":"ispindel","Job":"ispindel","Instance":"000","Vfact":191.8,"TS":0,"SSID":"","PSK":"","POLY":"-0.00031*tilt^2+0.557*tilt-14.054","aX":-221,"aY":-45,"aZ":1409}
scanning for OW device on pin: 5
No devices found!
scanning for OW device on pin: 12
No devices found!
scanning for OW device on pin: 116
No devices found!
scanning for OW device on pin: 121
No devices found!
ERROR: cannot find a OneWire Temperature Sensor!
offsets not available
Boot-Mode: Deep-Sleep Wake

Double Reset detected
...........
           ERROR no Wifi credentials

going to Config Mode

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (28):
epc1=0x40209b7b epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>

ctx: sys
sp: 3ffffd60 end: 3fffffb0 offset: 0190
3ffffef0:  00000000 00000000 3ffefdac 40209090
3fffff00:  0031495a 3ffef460 3ffefd88 4020a26a
3fffff10:  80000000 4056a85c 3ffefa68 40202760
3fffff20:  0031495a 3ffef460 3ffefd6c 40203044
3fffff30:  00000000 000000ff 00000000 4022397e
3fffff40:  40253db4 3ffefd6c 3ffef460 402240de
3fffff50:  60000600 3ffefd6c 3ffea268 40253dc1
3fffff60:  40253e06 3fffdab0 00000000 3fffdcb0
3fffff70:  3ffef470 3fffdab0 00000000 00000004
3fffff80:  40000f49 40000f49 3fffdab0 40000f49
3fffff90:  40000e19 00000005 000718e0 00000000
3fffffa0:  00000000 aa55aa55 0000001b 40104c65
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
Horcrux82 commented 3 years ago

Followed this post and got mine working:

https://www.homebrewtalk.com/threads/ispindel-cant-connect-to-wifi-ap.682798/