Tough coding / Need some help!

I have a box that contains all of my project boards and modules, later, I added two 5v pc power supply fans
to cool it down and to get the moisture out of the box through the veneration holes in the box sides to extend the life the electronics and keep it out of mold and protect it from burning out.

I live in cold weather in the winter and hot weather in the summer, so its critical to have fans to always cool the down the boards the summer and get rid of the moisture in the winter, so, I had the idea of operating the fans for 10 mins every hour, like (10) min ON (50) OFF.

I tried my best to make this happen using Millis() but it didn’t work.

I connected the fans with a relay to control them with the code, please if you can provide any help I will be appreciative.

I tried my best to make this happen using Millis() but it didn’t work.

Show your code.
It’s hard to help if we don’t know what you’ve tried.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.