Alright, the circuit uses a vibration switch to trigger a 555 timer which runs for about 3.5 minutes. The output of the 555 drives a 5VDC 1A relay to a load. I know that the 555 timer cuts off, but the relay does not, retriggers the 555 output I think. I have put the required 1N4004 and 1N4148 diodes as seen in other circuits, but this does not address the problem.
Any ideas on what else I can do or perhaps some ideas to improve the circuit? I do need to use the 555 and would prefer not to swap to a different IC.
If your vibration switch is still open when the 555 times out, the output will stay high until the switch closes. If this is the case, you need a differentiator between the switch and pin 2, so the input pulse is shorter than the expected output pulse. A differentiator for this circuit needs special attention, or it can destroy the 555 with overvoltage on pin 2 when the switch closes.
A couple of suggestions. 1. Connect a 47 uF electrolytic capacitor between pins 1 & 8. + of the capacitor to pin 8. I have seen 555 timers act erratic with out a bypass capacitor from the Vcc to ground pins. 2. Change on the 33uf capacitor to a low value like 4.7 or 10 uf and see if the relay deenergizes after 28 sec or 60 sec. Some times the leakage current of electrolytic capacitors on the 555 prevent the capacitor from fully charging. If the relay operates normally with a small value the larger capacitor could be the problem.
A couple of suggestions. 1. Connect a 47 uF electrolytic capacitor between pins 1 & 8. + of the capacitor to pin 8. I have seen 555 timers act erratic with out a bypass capacitor from the Vcc to ground pins. 2. Change on the 33uf capacitor to a low value like 4.7 or 10 uf and see if the relay deenergizes after 28 sec or 60 sec. Some times the leakage current of electrolytic capacitors on the 555 prevent the capacitor from fully charging. If the relay operates normally with a small value the larger capacitor could be the problem.
I think you may have hit the nail on the head. Unfortunately, if you make C smaller, R has to be larger, and you may have the same problem. One way to guarantee that the circuit will time out (although it will be shorter than predicted) is to put the timing capacitor in parallel with the timing resistor. The leakage now aids the resistor, instead of fighting it.
I've tried putting a bypass capacitor across +ve and -ve terminals of the 555 timer but still the relay sometimes does not cut off.
I've also reduced the capacitor to a 15uF tantalum capacitor and the circuit appears to work sometimes, but doesn't work at other times.
Interestingly though, whenever I touch my multimeter's -ve probe to the gnd pin of the battery, the relay clicks and cuts off straightaway. So I can't even measure what's going on. The other thing is, if I leave my -ve probe of my mulitmeter connected to the circuit, it works 100% of the time.
So, I still can't figure it out. Do I need to put an npn transistor into drive the relay from the 555 timer? Is that the problem?
I just can't work out why at some times... it works... then at other times... it doesn't... the relay seems to have a mind of its own. Problem is that the behaviour is not repeatable! Battery voltage stays between 5V and 6V as the 4AA's run down after awhile.
Pin 5 - CONTROL - not connected to anything. I read that if noise is not a problem, this pin need not be connected to anything, but if noise is a problem, then cap is required.
Interestingly though, whenever I touch my multimeter's -ve probe to the gnd pin of the battery, the relay clicks and cuts off straightaway. So I can't even measure what's going on. The other thing is, if I leave my -ve probe of my mulitmeter connected to the circuit, it works 100% of the time
The load draws about 250mA (max) but fluctuates between about 180mA to 250mA whilst operating.
I will change both diodes to 1N4004.
I will also try to put a NPN transistor to drive the relay. I've got some BC548 NPN transistors. What size resistor should I put for the base? Would a 1k2 resistor be correct?
So collector connected to Vcc, relay coil connected to collector via 1N4004. Base connected to 555 output via 1k2 resistor and emitter connected to ground.
I will also try to put a NPN transistor to drive the relay. I've got some BC548 NPN transistors. What size resistor should I put for the base? Would a 1k2 resistor be correct?