Need help with ESP32 project: standalone database write worked, but code fails when all sensors are connected

Could you please provide details on the following points? This information is essential for understanding the situation.

  1. What is the exact model number of the ESP32 chip or development board you are using?
  2. Could you share the contents of your platformio.ini file? (This is very important information.)
  3. Regarding the statement, “it stops working completely and throws errors”:
  • Could you provide more context? What exactly happens when it “stops working completely”?
  • What specific errors are occurring? (Please include the exact error messages, as well as information on which component is reporting the error and to whom it is being reported.)
  1. Have you tried having an AI proficient in code analysis examine the code you provided?
    If there are any logical contradictions that could lead to a deadlock, an AI skilled in code analysis (such as Claude) might be able to identify them.
  2. Is this related to your other post (ESP32 + PlatformIO: Upload succeeds but Serial Monitor cannot open port (COM4) + Firebase stopped working - #6 by ito_giken)?