Arduino Micro turns off when without input

Hello,

first I want to mention, that this is my second project with Arduino, so please be patient with me :D.

Now to the problem itself. I am trying to make my own sim racing handbrake.
I followed tutorial from YT (HOW TO MAKE A USB ANALOG HANDBRAKE | SIM RACING DIY EBRAKE - YouTube)

I manage to follow the whole tutorial. After all steps, Arduino is recognized as a gamepad. But if I stop using input it turns off after 5s-10s.

Here is a video of a problem.

If someone has any ideas on how to fix this. I would be really thankful.

Cheers

Probably Windoze suspending the USB device to save power. You can disable the feature - do an internet search to find instructions how.

Thanks for your advice, but unfortunately Arduino still turns off. :frowning:

It is not the Arduino that is turning off; the power is being cut to it by the PC. You need to find out why.
Which instructions did you follow to disable the suspend behaviour?

arduarn:
It is not the Arduino that is turning off; the power is being cut to it by the PC. You need to find out why.
Which instructions did you follow to disable the suspend behaviour?

This may be happening if you set the screen saver timeout to a low value. Disable the screen saver and see if the problem goes away.

Paul