16x2 LCD showing garbage values after switching relay

I think Don meant LCD where he wrote LED.

Yes I did. I had recently worked on another thread involving a backlight and had LED on my brain.

Maybe you should ask the moderators to move this thread to the "Motors & Power" forum section.

I think this forum is appropriate. Even though the relay and/or the motor could be the cause it is the LCD controller that is susceptible and is being affected.

Don