Greetings everyone, I have a small problem that I could use your help with.
Me and my father were building a bathroom for my apartment. During my time in draft, he built walls with cables in them for the shower room, which is all well and good. The devices that consume power are the water heater, the lamp and the fan to suck the moisture out, but there is one problem, he only pulled seperate cables for the water heater and lamp only, unless we destroy the walls we have to run the fan from the lamp wiring. I would hate to have the fan on an "on mode" while the lamp is active, my apartment is rather small and it will surely suck all the air out in no time at all, leaving me to die while i shower.
Long story short, I came out with a small solution, I would like your input on this. When turning the lamp switch on, some cheapo mains nokia switching charger with a battery will feed power to the mcu. There is a sensor on the mains line that will give input data to the mcu, when I rapidly flip the lamp switch from an on-off-on state in an interval of 1 second or so, the mcu will open the gate of the triac and feed power to the fan. The fan will work only when I flip the lamp switch rapidly and will remain off at other times.
In your opinion, is this a practical solution, a too complicated way of doing it or is there an easier way ? If this is a feesable way, what kind of a sensor would guys recommend me ? Bathroom moisture could cause some problems, I was thinking of housing the electronics in a small plastic box with decent sealant around it, any input about moisture ?
Feel free to bash me and this idea (excuse the ms paint aswell)
Me and my father were building a bathroom for my apartment. During my time in draft, he built walls with cables in them for the shower room, which is all well and good. The devices that consume power are the water heater, the lamp and the fan to suck the moisture out, but there is one problem, he only pulled seperate cables for the water heater and lamp only, unless we destroy the walls we have to run the fan from the lamp wiring. I would hate to have the fan on an "on mode" while the lamp is active, my apartment is rather small and it will surely suck all the air out in no time at all, leaving me to die while i shower.
Long story short, I came out with a small solution, I would like your input on this. When turning the lamp switch on, some cheapo mains nokia switching charger with a battery will feed power to the mcu. There is a sensor on the mains line that will give input data to the mcu, when I rapidly flip the lamp switch from an on-off-on state in an interval of 1 second or so, the mcu will open the gate of the triac and feed power to the fan. The fan will work only when I flip the lamp switch rapidly and will remain off at other times.
In your opinion, is this a practical solution, a too complicated way of doing it or is there an easier way ? If this is a feesable way, what kind of a sensor would guys recommend me ? Bathroom moisture could cause some problems, I was thinking of housing the electronics in a small plastic box with decent sealant around it, any input about moisture ?
Feel free to bash me and this idea (excuse the ms paint aswell)
Attachments
-
25 KB Views: 25