Pages: [1]   Go Down
Author Topic: LCD text corrupts after Arduino runs for length of time  (Read 1681 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

   

In my project i am connecting the LCD 16x2 same in Inductive load and it gets corrupt some times when valve switches ON/OFF , i put TVS in DC bias ,Snubber at AC side nothing worked out for me . though it is a product i cant use seperate supply lines for motors , AC valves and AC/DC converter .  Any robust solution , plz suggest .  -prag smiley-roll-blue
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Decoupling capacitors in gay abandon around the  display and processor.
Logged


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

I put Coils TVS diodes, Decaps of tantalum , this issue i am seeing associated with HD44870 only .   Lot of posts they discussed this issue but no hopeful solution yet ,
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Low value ceramic decoupling capacitors like 100nF for the high frequency stuff.
Logged


Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2892
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just a quick tought... try a 470 uF cap from 5V to LCD/Gnd, power device from mains source other than what the relay is controlling... It's possible that you are coupling a line transient through the PSU ground from the surge when the device turns on from the relay control. It is possible that your issue is something coupled into the  device through a lack of shielding... possible that you need an earthed (grounded) metal case as a shield. one last question... Where is the Arduinno powered... from the USB or a separate PSU into DC In?

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

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

Thanks doc,   The board is powered from computer SMPS ,  I try putting high value caps in LCD area also .  In the system whenever Relay is getting switched off and ON it is happening .  some time SMPS also gets switched off ,all well grounded  , no earth leakage
Logged

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

I have experienced similar issues with the lcd of my coffee machine controller when I flicked the mains switches. I found it helped to keep the LCD cables short and very tightly bundled together (read this somewhere but can't remember the technical background)....
Logged

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

This i tried once i helped me , but not so much , LCD gets corrupted after some time later , i need rugged solution . 
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2892
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Since the Arduino drives the display use a 4K7 pull down on all the data and control leads. I think your issue is a floating port pin. In a quiet atmosphere it wouldn't make much different But a motor, particularly an inductive motor being switched on with a regular contactor is a very noisy thing. If the load hits at the right part of the cycle it is terrible... Right before the peak of the cycle and turning them off is no joke either as the energy stored in the motor's magnetic field has to go somewhere. 4K7 ohms will have minimal effect of the operation of your device and it's operation. you might welll be able to install them right on the back of the LCD itself.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

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

//My problem got sorted out after i made the PCB with display soldered and processor is very close to the display .//

No still corrupting some times ,even i put 4.7k ressitors on control and data lines ,still the same issue i am facing , plz suggest some rugged idea , i pullup all the unused pins too . 
« Last Edit: July 03, 2012, 05:52:00 am by ariesprg » Logged

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

I connected 1N4148 diodes to all data and control lines with respect to ground .  the issue got  sorted out 100%  . also the EMI filter i connected between the critical valve which produces the EMI . Thanks DOC . smiley-cool
Logged

Pages: [1]   Go Up
Jump to: