@Stef_Weicks What the program does it’s erase the current file playing and charge the next file.
What do u mean ‘if I scroll to the next file it is already available’
@Stef_Weicks the file is still present on the card ?
Can you add this below myFile.close()
Serial.println(myFile.name());
And show me the serial output ?
@Stef_Weicks the way I get the file is by opennextfile() not like open (filename) I will need to check in the FS library if the function fills out this
i don´t know if you are the right one for my next problem …i have a problem with my RTC module … i put in a new battery 1,5 or 3 v there is no difference … and after an hours it´s empty. i tried it also with my second module … with the same results.
as far as I read this in the net … if the controller is powered the module should be also powered by the controller. And only if the controller is not powered the battery is needed
So far I have not figured out if it really is like this…could it eventually be that each time setting which is made in the loop needs so much power???
maybe you have an idea
(by the way i also contacted the manufacturer, until now without success )
@Stef_Weicks if you plug it via the 5/3.3v pins then once the esp32 will not be externally powered it will try to draw power from the battery of the RTC because these pins are bid directional either they can supply power if you power the board or are used to power the board.
You need to put a diode in serie of the eps and the rtc on the + side to block the current to flow from the rtc to the esp
I cannot do much wrong because the RTC dataloggermodul is for the d1 mini (esp12) and fits exactly in the d1 mini (esp32) module. I controlled also the input and outputs of rtc and the controller … it should fit …
And i made a small test: I unplugged the module from the controller and tested it standalone, with the same problem
I must say I didn’t test it very long in stan alone so I could not say the battery would be empty there was only a voltage drop … but i will check and report tomorrow!
Good night!
… i tried it now with diodes but i always get the same result …
i can´t imagine that this could be because people write that a coin cell in the 1307 should hold minimum 1 or two years…
and the datalogger can also not consume some current…
i measured over a 100 Ohm resistor the input current on the batteryside it is 22mA.
doesn´t matter if the modul is sticked in the controller or not, the voltage on the battery drops from 3 to 0,7V on the batteryside if it´s sticked in.