Hi, I am currently making an incubator, using an Orpat fan heater. I have an Arduino Uno, connected to an LM35. the readings are displayed on a 16x2 LCD. I have no problems upto now. The problem starts when i connect a 5v 20mA relay to the circuit.
I have connected a transistor SL100 through a 1k resistor to the arduino. The emmiter is grounded, while the collecter is connected to the 5V supply through a diode.
Across the diode is connected the relay.
I have put the relay's Normally closed and common across the live wire of the power lines of the heater.
Everytime i switch on the power to the heater, the LCD begins showing garbled digits....while my LM35 fluctuates within a 10-15 degree range.
Is this a programming problem or a physical one ?. If its a physical problem, what changes should i make to handle this ?