dht11 with comparators

I wanna turn the servo on for 20 secs when humidity is lower than 40%. Anyone?

You don't "turn on a servo". Please describe exactly what you mean by that. While you are thinking about it, look at the blink without delay example.