A
A
Andrew2021-10-17 23:29:26
WiFi
Andrew, 2021-10-17 23:29:26

ESP8266 crashes when working with ADS1015?

I have an ESP8266NodeMcu in my hands in a fully working condition. Perfectly reads information from the temperature and humidity sensor. In a word - it works! When connected to an ESP, ADS1015 using the Adafruit1X15 library gives an error after connecting to the network:

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

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

>>>stack>>>

ctx: cont
sp: 3ffffd10 end: 3fffffc0 offset: 0190
3ffffea0:  3fffdad0 42580000 3ffee7a8 4020410c  
3ffffeb0:  007764f4 0000004f 00000001 1f000000  
3ffffec0:  3feccccc cccccccd 00000018 3ffee9f0  
3ffffed0:  3fffdad0 3ffeeb00 3ffee7e8 3ffee9f0  
3ffffee0:  3fffdad0 42580000 3ffee7a8 40203d7d  
3ffffef0:  000000ad 00000000 3ffee7a8 402014cf  
3fffff00:  00000000 00000002 3ffe8888 40207060  
3fffff10:  3ffe8889 00000020 00000001 40204a5c  
3fffff20:  007a1200 543a3c25 00000000 3ffe8889  
3fffff30:  40204510 3ffe8887 3ffee954 4020451c  
3fffff40:  40204510 3ffe8887 3ffee954 4020477c  
3fffff50:  3ffe85d0 0000000d 3ffee954 40204928  
3fffff60:  6d00a8c0 00ffffff 0100a8c0 402049a8  
3fffff70:  3ffe85d0 3ffee7fc 3ffee954 40201178  
3fffff80:  40209750 6d00a8c0 feefeffe feefeffe  
3fffff90:  feefeffe feefeffe feefeffe 3ffee9f0  
3fffffa0:  3fffdad0 00000000 3ffee9dc 40205a68  
3fffffb0:  feefeffe feefeffe 3ffe85e4 40100c19  
<<<stack<<<

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


The most interesting thing is that when working with the example sketch (without connecting to the network and sending data to the site), everything works and the data is read correctly. The third day I can not find anything on both Russian-speaking and English-speaking forums. There is a suspicion that somewhere at the system level there is a conflict. Tell me, what could be the problem? Perhaps you have already encountered this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nashesolnce, 2021-11-14
@OdAs

I have not encountered this, but others often do. Here are my algorithms for finding a solution in descending order of rating.
1 I change the library
2 I change the ports for connecting peripherals
3 I change the functions in the sketch
4 I free up memory by transferring constants to ROM (I have never used this with the ESP)
4 I change the methods in general ... I completely rewrite the sketch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question