Quote Originally Posted by Techbuilder View Post
Hi everyone maybe you can help me out
Here's what I have an idea of what I need

1 servo

1 Pic micro controller 16F627A

1 Ir receiver

1 Ir led

and I already know the resistors and caps I need.

Should I go with a different approach for programing or do you think that this sounds like a pretty solid toilet flusher?
Well, you seem to be on the right track except that you need a solenoid valve to make this viable. Instead of the servo, you fit a solenoid valve in series with the flush outlet; of course you have to remove the manual flush valve. This will work on a direct inlet pipe only. No cisterns here.

The other 'political' approach is to do what my little kids do. "If you don't flush, next time, I will not flush"

JF