Now I am a little confused.
The circuit simply needs to...
- turn on fans when the temp goes over 28 and
- turn off when the temp drops below 28 again.
So whenever the tank is hot fans are on and whenever it is not fans are off.
Is this what the first circuit will do?
Thx Daren
-----Original Message----- From: Terry Pinnell [mailto: snipped-for-privacy@THESEdial.pipex.com] Posted At: Sunday, 28 November 2004 10:35 AM Posted To: sci.electronics.design Conversation: Temperature Relay Circuit Required Subject: Re: Temperature Relay Circuit Required
Darren: Sorry, I briefly saw your email but it was then accidentally zapped with the spam before I could reply! And I'm not sure if I have your valid email address, so I'll post here too. Please either resend, or just post it here in sed. That way you stand to get wider help.
From what I did see, you were asking whether a 1M feedback resistor was necessary. Try it, maybe on a breadboard, and see which you prefer. From your spec, IMO hysteresis wasn't required. IOW, I thought you were not asking for the relay to close as the aquarium temperature rose through
28 deg only to open again if the temperature dropped to say 27 or 26. So I reckon you'll be happier with that simple, sensitive circuit I suggested. I've used it myself and it works well.
If there *is* some 'chatter' (oscillation of the relay contacts), first just try a 10 nF cap from the NPN base to ground.
There will be inherent 'inertia' in the relatively large volume of water in an aquarium, so the temperature is likely to be smoothly continuous.
If you decide you *do* want some hysteresis, follow Andrew's suggestion. The larger the feedback resistor, the smaller the hysteresis. So 10M or
4.7M would give you very little, while adding some useful 'snap action' to the relay.
Actually, for a circuit with hysteresis, I might drop the op-amp approach and instead use a circuit based on 1/2 a CMOS Quad NOR 4001 (or NAND 4011), like this:
formatting link
The downside to any circuit with hysteresis is that it takes a fair bit of trial and error to get set up the way you want. It's all too easy to get more hysteresis ('slack') than you want. Too much, and your guppies or goldfish could see hypothermia before your relay sees its contacts open again!
-- Terry Pinnell Hobbyist, West Sussex, UK