Stef Weicks hello Apparently we exceed th elenght of you discussion thread :) How

@Stef_Weicks for me you have a defect on your boards to last 1 year on stand by this means your board should consult 2.85 micro amp on stand by it looks more like 20mA according to what you say do you have the reference of this board

I supplied the module now with a external power supply … and measured about 150mA with 1,5V on the battery-input side, this is an amazing power consumption!!!

but this could not be or ?

it´s this one:

@Stef_Weicks that is a lot !!! What too much !!! Something is wrong with this do you have an sd on it too ?

yes i have … its a datalogger-shield
but i bought 2 of this… the other one has the same result

@Stef_Weicks I meant do you have the sd card plugged in ?

i i had it plugged in … but i measured no difference if its in or not.

this is cracy because it needs the 150mA also if it is not plugged in , in the controller

@Stef_Weicks that is not normal even the esp32 when In sleep mode does not consume that much current.

i hope someone of the supplier is writing back soon …

but i also don´t know which component should need so much current

@Stef_Weicks sorry i can’t help you here

no problem … at the moment i am writing with the support of RobotDyn

he sayed:
30-40 mA the currency
but this battery designed for watches
you need to use a external power bank cause wifi consumes a lot of current

i could imagine this is for a temporary short bridging if there was a short blackout…hm

@Stef_Weicks this board has WiFi included ?
Can’t you find another rtc module less hungry for power ?

@Stef_Weicks indeed 30mA for 25mAh is less than an hour

but its strange that i only measure this on the battery input … and on the 3V and 5V inputs are a few milliamps??

for the moment i let it … it is like it is … if i get no other solution i will buy an other one or i will do an extra small power supply for this.

i have an other question maybe you know how to solve it… its not as important but a bit annoying.

… i am doing my network over an external wifi-router. My PC is in connection with this router and shares the internet (which is possible for blynk) from a Lan.

so if i switch on the LED-screen…after a few seconds the LEDscreen connects to the wifirouter wich already has no internet before the pc gets the connection to the router.

so if there is no connection to the internet > the LED-Screen has wifi but no internet. The ledscreen stops doing something … also if i did a connection to the internet (wifi-router to pc) afterwards.

@Stef_Weicks normally the default option of the program is to read from the SD. Connecting to the wifi does not switch to the artnetwifi
but as soon as the wifi connects there is a tentative to connect blynk => maybe that is the issue that there is no timeout for the blynk connect hence blocking the board. that would be my guess

the problem is also if the wifi lost the connection to the internet because i switch off my pc (with internet). The screen stops working… clock freezes.

do you think its possible with some delays or loops after trying to connect blynk … like you did it with the wifi?

@Stef_Weicks I will need to have a look at the code to see when you are calling the internet function like the clock server to implement timeouts. But I am in Germany most of the day I will not be able to look at it before late afternoon.

no problem … at the time i am also not at home … would be nice if this would work someday :slight_smile:

suddenly i found the failure of my rtc module … unbelievable but the protection diode made a short circuit. It is the same problem on all 3 newly purchased modules!! … after I removed it, it works without issues … can you imagine this?!

well, if you buy cheap you can have such problems!

hey @Yves_BAZIN
i have only one question and if you have time you can answer it … for me its also very interesting because of understanding :wink:

i did a new version of the code with some tiny modifications.
my concern is: i want to switch off Wifi if its 22:30 o´clock.
i did it like in this code: with line 699 > WiFi.mode(WIFI_OFF);
but in the background the second CPU is working with connecting to the Wifi… so i did it with wifistatus=false; or true …
with this code from below it doesn´t connect to wifi anymore … i thought the “if” query should be in the while(1) loop of line 234: the void checkWifiTask(void *pvParameters)

@Stef_Weicks hello
In the function that checks_wifi you have a while (1)
Just do something like this
While (checkwifi)

Define.
bool checkwifi=true;

Once it’s 22h30 just turn off the WiFi and do checkwifi=false.

Just don’t forget to move back checkwifi=true at some point in your code :slight_smile: