things
New Member
Hey guys, I built a temperature controller to switch on and off an airconditioner condenser unit (Compressor and fan). I am using an ATMega168. Attached is a LM335 temperature sensor, 2 switches, and LCD and a relay (Thru a MOSFET)
I have the circuitry mounted inside the condenser unit.
Now, I am having a problem with the microcontroller "glitching" when it fires the relay. I have a video of it here: YouTube - Temp controlled oversized water cooler problem
I have tried many things to fix the problem, but nothing seems to help. Things I have tried:
Diode and capacitors on relay, both on the relay itself and on the control PCB.
Adding a heap of capacitors to the power supply.
Moving the wires coming off the PCB away from the mains wires.
Triggering the relay from a seperate PSU.
Powering the whole circuit from a seperate PSU.
And so far, nothing stops it glitching.
The ONLY other thing I can think of, is an EMP radiating from the compressor and fan wiring, and entering my circuit thru the LCD wires, or even just directly on the PCB.
**broken link removed**
Nothing I have tried helps. About the only thing I haven't tried is shielding all the circuitry, which is going to be very annoying.
Is there anything else you suggest I try? I'm completely out of idea's and theories as to why this keeps glitching like that.
Cheers,
Dan
I have the circuitry mounted inside the condenser unit.
Now, I am having a problem with the microcontroller "glitching" when it fires the relay. I have a video of it here: YouTube - Temp controlled oversized water cooler problem
I have tried many things to fix the problem, but nothing seems to help. Things I have tried:
Diode and capacitors on relay, both on the relay itself and on the control PCB.
Adding a heap of capacitors to the power supply.
Moving the wires coming off the PCB away from the mains wires.
Triggering the relay from a seperate PSU.
Powering the whole circuit from a seperate PSU.
And so far, nothing stops it glitching.
The ONLY other thing I can think of, is an EMP radiating from the compressor and fan wiring, and entering my circuit thru the LCD wires, or even just directly on the PCB.
**broken link removed**
Nothing I have tried helps. About the only thing I haven't tried is shielding all the circuitry, which is going to be very annoying.
Is there anything else you suggest I try? I'm completely out of idea's and theories as to why this keeps glitching like that.
Cheers,
Dan
Last edited: