Pages: [1]   Go Down
Author Topic: 16x2 LCD displays junk charac and no refresh after 230V relay operation  (Read 371 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In my application i need to turn ON/OFF a 1kw filament heater through a 230V relay contactor. My board has a 12v pilot relay which drives the 230V relay. Even without heater load and with 3 times switching (in 3 seconds) of the 230v relay, the 16x2 LCD corrupts and the display refresh done every 1 second does not help. After that display scrolls junk characters for some time and after that no display, power to the board has to be reset to bring the display back in original state. In case of one operation of the 230v relay per 10 secs every thing works fine, only multiple switching causes problem. Without 230V relay there is no issue, so i confirm only 230v relay causes issues.

Is it possible to reset the LCD alone through arduino code instead of complete power off and on? 
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is it possible to reset the LCD alone through arduino code instead of complete power off and on? 
Yes, but why not fix the cause of the problem which is electrical interference from the relay?

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes i should provide suitable filter components to eliminate conductive noise. I will try that in parallel, since the PCB need to house in a small box, i have a restriction for adding more components. I will also try to keep the relay away to check the influence of radiated noise.

I felt that the control through Arduino is more reliable at all noise ranges than passive components.
Logged

NSW Australia
Offline Offline
Edison Member
*
Karma: 33
Posts: 2312
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I felt that the control through Arduino is more reliable at all noise ranges than passive components.

Not sure about that.  Not sure at all!

It may depend on how far your LCD is from the Arduino board.  Start by putting a 0.1µF (ceramic) and a 10µF capacitor across the Vcc and Ground terminals of the LCD itself.

Now the circuit that the pilot relay (which of course has a "snubber" diode connected across the coil) switches is in no way connected to the Arduino, is it?  Because if it is (connected), it provides no isolation.  If the contactor is actuated by DC, it should have a "snubber" diode as well, or if it is AC, it should have a resistor across the coil to draw about 1/10 of the current that the coil does.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As a first step i tried to switch the 230v relay frequently (by door switch press), more problem on LCD when placed closer to 230V relay coil supply wire, less problem (1/10th) when kept away (300mm far).

As a second step connecting a 0.1uF near the 5V regulator and the LCD connector the effect has reduced. But still the issue is not closed.

Next step I will place a 0.1uF on the LCD across supply and ground and will check it.
+
As a logical step i had added a 1.5Sec delay after the relay deactivation due to door open. (logically door switch should not operate several times in 1 second). This way the 230 v relay can only turn ON after 1.5secs after clearing all the faults.

Thanks for the support!

Regards
Ramesh
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Adding capacitor or adding delay had postponed the display corrupting but has not solved fully.

Is there a command to clear the LCD/reset the LCD?

Regular clear command is not helping at the moment.

Thanks.
Regards
Ramesh
Logged

Pages: [1]   Go Up
Jump to: