Seeeduino stalker v3 sleep mode

Hi



I want to get my seeeduino stalker v3 and v3.1 in sleep mode, but i can’t do that.



I’m using that library: https://github.com/rocketscream/Low-Power



This is the sketch:

[code]// **** INCLUDES *****
#include “LowPower.h”

void setup()
{
Serial.begin(9600);
Serial.println(“Setup”);
}

void loop()
{
// Enter power down state for 8 s with ADC and BOD module disabled
Serial.println(“Start”);
//Please set D0,D1 as input before going into sleep mode
pinMode(0, INPUT);
pinMode(1, INPUT);
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
Serial.println(“end”);
delay(1000);
// Do something here
// Example: Read sensor, data logging, data transmission.
}[/code]


and this is the output from the serial interface:

</s>⸮⸮Y]]\C⸮*⸮X.]CBY⸮⸮⸮ ⸮*⸮X.]CCY⸮⸮ ⸮*]XY⸮C⸮Y⸮VH⸮⸮*]X.]C⸮Y[⸮C⸮⸮*]Xy⸮C⸮Y⸮VH⸮⸮*]X9⸮C⸮YW⸮C⸮⸮*]X\⸮C⸮Y_⸮C⸮⸮*]X⸮⸮⸮ end ⸮*]X.]C⸮Y⸮VH⸮⸮*]X⸮⸮ end ⸮*]X⸮⸮⸮ end ⸮*]X⸮⸮C⸮Y[⸮C⸮⸮*]X⸮⸮⸮ end ⸮*]X⸮⸮C⸮Y[⸮C⸮⸮*]X]⸮C⸮Y⸮VH⸮⸮*]X.]C⸮Y⸮VH⸮⸮*⸮X.]C⸮Y⸮VH⸮⸮*⸮X.]C⸮Y⸮⸮H⸮⸮*]X.]CEY⸮⸮ ⸮*W,.]C⸮Y⸮⸮H⸮⸮*]XY⸮C⸮Y⸮VH⸮⸮*W,.⸮C⸮Y⸮VH⸮⸮*W,.]C⸮Y⸮⸮H⸮⸮*W,.]CBY⸮⸮⸮ ⸮*⸮X.]CEY⸮⸮ ⸮*]XY⸮C⸮Y⸮VH⸮⸮*W,.]C⸮Y⸮⸮H⸮⸮*⸮X.]CCY⸮⸮ ⸮*⸮X.]CAY⸮⸮ ⸮*]X\⸮C⸮Y⸮VH⸮⸮*W,.⸮C⸮Y⸮⸮H⸮⸮*]X.]C⸮Y⸮VH⸮⸮*]XY⸮C⸮Y⸮VH⸮⸮*]X.]C⸮Y⸮VH⸮⸮*W,.]C⸮Y⸮VH⸮⸮*W,.⸮C⸮Y⸮VH⸮⸮<e>

Dear Customer, Please try to change the baud rate to Serial.begin(57600).

Here is the output.

--------------------------

Setup

Start

end

Start

end

Start

end

Start

-------------------------

Seeed techsupport team. thanks.

I will try, thanks.



but why should i set this baud rate for working?



regards

yout solution doesn’t works well…



but i have solved put a Serial.flush(); BEFORE LowPower.powerDown



best wishes