Quote Originally Posted by Techbuilder View Post
Well I do want the simplest
but I don't have very much money either.
I have a book that kind of describes what I want to do but it is in assembly or c,
I can't tell but it's not in basic.
What would you describe the level of difficulty of the programming going with the cheap option?
A momentary switch bolted to the door frame connected to a solenoid that throws the flush handle and/or lifts the trap at the bottom of the tank.
Door opens one way, it brushes the lever, but it's the wrong way to close the contacts. Maybe the lever is on a one-way hinge so it can flip the one way without a problem.
Door closes the other way, it brushes the lever, and it's the right way to close the contacts.
The solenoid is bolted to the wall behind the toilet. The arm of the solenoid is connected to a cable that pulls the trap at the bottom of the toilet tank.
Use a solenoid like one from a trunk release of a car, or door lock or something...anything.

I think that's about as simple as you can get...1 12v battery pack + small charger, 1 level switch and attaching hardware, 1 junk solenoid from a salvage yard, some wires and a piece of cable.

No programming, no PIC, no nothing, just a bit of hardware...done...
That and kicking your roommates square in the ding-ding.
I mean, that's just plain nasty...