ESP8266 with I23C OLED and BMP180 crashing
Posted: Fri Oct 27, 2017 5:53 am
Hello,
I have a sketch with an OLED I2V display and a BMP180 attached to D3 and D5. The Sketch works perfectly. However I added a BMP180 sensor (temp, humidity, pressure) and this makes the sketch crash.
D3 = SDA
D5 = SCL
The crash code :
Exception (0):
epc1=0x40106ecd epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff0aa0 end: 3fff0d40 offset: 01a0
>>>stack>>>
3fff0c40: 3ffefaa0 3ffefb10 3ffefaa0 402085ec
3fff0c50: 00000000 00000000 3ffefaa0 40208611
3fff0c60: 3ffefaf0 3ffefb10 3ffefab8 402028f7
3fff0c70: 00000000 00000000 00000000 40205ef8
3fff0c80: 00000000 00000000 3ffefb9c 00000080
3fff0c90: 3ffefb10 00000000 00000000 00000001
3fff0ca0: 3ffefaf0 00000001 3ffefab8 40205944
3fff0cb0: 00000080 3fff405c 00000000 00000000
3fff0cc0: 00000000 00000000 00000001 0000009a
3fff0cd0: 3ffefab8 00000001 3ffefab8 40205bec
3fff0ce0: 3ffee970 00000000 00000000 40205c94
3fff0cf0: 0000b39a 3ffefd0c 402097dc 3ffefd20
3fff0d00: 40201576 0000001b 0000001b 3ffefd0c
3fff0d10: 3fffdad0 00000000 3ffefab8 40202ca6
3fff0d20: 3fffdad0 00000000 3ffefd04 40209828
3fff0d30: feefeffe feefeffe 3ffefd20 40100718
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
When I remove the BMP180 physically, the sketch works fine. Any idea what's wrong ?
Many thanks for your help !
Tony
I have a sketch with an OLED I2V display and a BMP180 attached to D3 and D5. The Sketch works perfectly. However I added a BMP180 sensor (temp, humidity, pressure) and this makes the sketch crash.
D3 = SDA
D5 = SCL
The crash code :
Exception (0):
epc1=0x40106ecd epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff0aa0 end: 3fff0d40 offset: 01a0
>>>stack>>>
3fff0c40: 3ffefaa0 3ffefb10 3ffefaa0 402085ec
3fff0c50: 00000000 00000000 3ffefaa0 40208611
3fff0c60: 3ffefaf0 3ffefb10 3ffefab8 402028f7
3fff0c70: 00000000 00000000 00000000 40205ef8
3fff0c80: 00000000 00000000 3ffefb9c 00000080
3fff0c90: 3ffefb10 00000000 00000000 00000001
3fff0ca0: 3ffefaf0 00000001 3ffefab8 40205944
3fff0cb0: 00000080 3fff405c 00000000 00000000
3fff0cc0: 00000000 00000000 00000001 0000009a
3fff0cd0: 3ffefab8 00000001 3ffefab8 40205bec
3fff0ce0: 3ffee970 00000000 00000000 40205c94
3fff0cf0: 0000b39a 3ffefd0c 402097dc 3ffefd20
3fff0d00: 40201576 0000001b 0000001b 3ffefd0c
3fff0d10: 3fffdad0 00000000 3ffefab8 40202ca6
3fff0d20: 3fffdad0 00000000 3ffefd04 40209828
3fff0d30: feefeffe feefeffe 3ffefd20 40100718
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
When I remove the BMP180 physically, the sketch works fine. Any idea what's wrong ?
Many thanks for your help !
Tony