Skip to main content
3 of 3
Removed broken link.
goldilocks
  • 60.1k
  • 17
  • 115
  • 230

Start/stop Fan at certain time

I have connected a fan to my raspberry pi with a transistor that sits on pin 5 ( GPIO 5 ).' I followed an online "guide" to make it.

I would like to make a script that makes it run during the day, say from 9 in the morning to 9 in the evening.

I want to use python and the GPIO library, but how would I set it up?

Nicolaid
  • 11
  • 1
  • 2