I have a project where I need to acquire data over a very long period of time, so I have established a test system where I generate random values and I store them on a micro SD.
I use an Arduino MEGA board and using a PmodMicroSD.
But when I did an experiment for the duration of one night I turned off the screen and the computer did not go to sleep, and yet I only have 15 minutes of value, while when I left it running during the day (knowing that I work on this same computer) it was well over 15 minutes.
I'm not sure what the problem is, but I'm sure it's a good one, and I'm sure I'll be able to fix it
It sounds like the PC may be removing power from the USB port for some reason. Are you sure that it is not entering a sleep state ?
I am sure I have disabled all the settings of standby, But maybe the PC deactivates the current of the USB ports after a time or we do not use it as you said
Hello jaerod
To prevent the sleep mode send a dummy message to the PC too.
Have a nice day and enjoy coding in C++.
Дайте миру шанс!
I ended up unplugging the card from the PC and leaving only the power supply on, so no more problems.
thanks to you
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.