Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Ocsav
#87213 Hi,

I have 2 questions related to the Arduino IDE

I'm doing the basic temperature+pressure sensor that reads the sensors and print data to Serial. Then it goes to deep sleep for 1 minute and do it again, in the future this data will be sent for a server via wifi, but for now I'm just writing it to Serial.
I was using the Arduino IDE tool Serial Plotter, however, after I started using the deep sleep when the module reboots it writes debug info to Serial, this disturbs the Serial Plotter and it's not able to plot my data any more.

I'd like to ask if there is a way to disable the debug info totally, the settings

Code: Select allDebug Port: Disabled (tested too Debug Port: Serial1 as I don't have a serial1 but results are the same)
Debug Level: None

Still produce the text

Code: Select all10:33:28.728 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
10:33:28.728 ->
10:33:28.728 -> load 0x4010f000, len 3456, room 16
10:33:28.728 -> tail 0
10:33:28.728 -> chksum 0x84
10:33:28.728 -> csum 0x84
10:33:28.728 -> va5432625
10:33:28.728 -> ~ld
10:33:28.762 -> V2
10:33:28.762 -> Mo
10:33:28.899 -> 98233.91     <== that's my info.

I'm using an ESP01S module, by same miracle I was able to solder a wire from gpio16 to rst and ESP.deepSleep(60000000UL); is working as expected.

2) From the versions of the SDK offered by the IDE, witch one should I choose ? My only requirement is that TCP with static ip address and deep sleep works and uses as little power as possible.

    nonos-sdk 2.2.1+100 (190703)
    nonos-sdk 2.2.1+119 (191122)
    nonos-sdk 2.2.1+113 (191105)
    nonos-sdk 2.2.1+111 (191024)
    nonos-sdk 2.2.1 (legacy)
    nonos-sdk pre-3 (180626 known issues)

thanks in advance.
User avatar
By QuickFix
#87489 At startup you're in the POST which is always using serial: you can't turn that off.
You might think "Maybe I could use the second UART to send data to the plotter", but unfortunatly this one is a duplicate of UART0 at boot.

The only solution would be using a free GPIO-port and software serial or disconnecting serial temporarilly from the ESP (with some electronic switch controlled by a GPIO?) until POST is finished.