But now I will try to externally power the BME680.
Bro make an effort please.
I said to power every sensors externally
I also talked to you about the RAM...
If you keep answering to not even the half of the questions/advices, I'll provide half of advice myself it'll be quicker for all of us
Thanks, it seems that putting the strings in the F macro did the trick, I am now getting the expected results.
No, anything over 70~80% for dynamic memory is likely to be a problem. Did you not also see a message like "Low memory available, stability problems may occur" ?
Looking at your code, I am a little surprised that so much dynamic memory is getting used. I can't see anything that uses large amounts, like big arrays can, for example. So I guess it must be lots of smaller amounts adding up. That's why using the F() macro helped: for some strange reason the compiler is unable to figure out that these strings don't need to be in dynamic memory. The F() macro tells the compiler that they can be kept only in Flash (program) memory.
I didn't get any message or warnings when compiling, I am using the second newest version of the ide(sorry, I can't tell you the exact version as I am on the phone). Thanks for enlightening me on the memory limits of Arduino and helping me through this proccess.