Quick background: I did a little electronics as a child/teenager, but haven't really done much since. I'm a software engineer by trade so all this analog stuff is a bit of a dark art to me.
I've got a 3D printer, specifically a Wanhao i3+. One thing that's always annoyed me about it is that it has a cooling fan on the hotend that is always on when the machine is powered up, regardless of whether it is actively printing. I want to turn the fan off when the heater is not switched on, but keep the fan on for a minute or two after the heater switches off. The fan output is not hooked to any software controllable output, so I can't do it with code. Instead I've resorted to an old school method of using a 555 as a retriggerable monostable:
The printer runs off 24V which obviously a 555 won't like, so I've used a zener to get me a 12V rail. The heater I'm using as the input trigger is held at 24V when off, and grounded when on. Q1 is used to pull the 12V input trigger to ground when the heater is grounded. Q2 is to retrigger the 555. R4/VR1/C1 are the RC circuit obviously. Q3/Q4 are to actually switch the fan motor. I should maybe be using a MOSFET here(?), but I currently don't have any to hand that aren't physically massive.
So, I was hoping some of you who actually know what you're doing could take a quick look and point out any dumb things I'm doing, or suggest improvements/simplifications? I've built it on breadboard and it all seems to behave as I expect, for what it's worth.
Thanks in advance!
I've got a 3D printer, specifically a Wanhao i3+. One thing that's always annoyed me about it is that it has a cooling fan on the hotend that is always on when the machine is powered up, regardless of whether it is actively printing. I want to turn the fan off when the heater is not switched on, but keep the fan on for a minute or two after the heater switches off. The fan output is not hooked to any software controllable output, so I can't do it with code. Instead I've resorted to an old school method of using a 555 as a retriggerable monostable:
The printer runs off 24V which obviously a 555 won't like, so I've used a zener to get me a 12V rail. The heater I'm using as the input trigger is held at 24V when off, and grounded when on. Q1 is used to pull the 12V input trigger to ground when the heater is grounded. Q2 is to retrigger the 555. R4/VR1/C1 are the RC circuit obviously. Q3/Q4 are to actually switch the fan motor. I should maybe be using a MOSFET here(?), but I currently don't have any to hand that aren't physically massive.
So, I was hoping some of you who actually know what you're doing could take a quick look and point out any dumb things I'm doing, or suggest improvements/simplifications? I've built it on breadboard and it all seems to behave as I expect, for what it's worth.
Thanks in advance!