LCD problem

Hello! I'm a fan of arduino, and I love it! Congrulations to all the people envolved in creating it and updating, etc...

This is my first time participating on this forum, and I'm hooping you guys can give me a help on a problem that I'm having in my latest arduino project.
I have a standard LCD (16x2) working with the standard library, connected to the recommended pins on the ATmega 328, it work fine here in my house most of the time... But when connected on the place it was made to work on it fails. The arduino is controlling a pump (very powerful one) that uses 3x 250 volts to work, my arduino is powered via a transformer connected to one of the 250volt lines. The LCD go crazy almoust every time the pump turns on or off. But the arduino is still working well, I can operate it with no problems and the pump is still controlled properly by the arduino. I need to restart the arduino to get the LCD back. I have vreg after the transformer regulated to 5volts, to power the ATmega and LCD. Any suggestions?

LCD before
http://db.tt/U91Ocl7d

LCD after
http://db.tt/TAxLqb5k

Thank you all!

It is something in your setup or layout or shielding or power supply.
Can't really isolate the problem without pictures and schematics.

JoeO:
It is something in your setup or layout or shielding or power supply.
Can't really isolate the problem without pictures and schematics.

The possibility of improper shielding or interference is high. My personal experience: I have a desk lamp like this one:

http://www.target.com/p/Extender-Halogen-Desk-Lamp-Blue/-/A-10317514

I connected an LCD via an old IDE hard drive cable and the cable was pretty close to the desk lamp's base. Every time I turn on or off the lamp, my LCD goes nuts. This type of lamp has a transformer in the base that can cause EM interference with wires nearby. Same lamp knocks out my mouse and keyboard because I used a cheap usb exension cable with no shields. I have to wait 10 seconds before the keyboard and mouse comes back again. Definitely provide how you are connecting the LCD.

Hello! Thank you for your fast help!
Very nice tip, I'm using a cable like mentioned, IDE like... I'm using it to connect the main bord to the LCD, maybe that cable is picking interfearence from the large coils of the hight power contactors. What do you guys recommend I do? Is there a way to shield the cable? Or replace the cable? What the kind of cable to use?

Thanks a lot!