# Help. LCD Stopped working when DC Motor is connected

**URL:** <https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164>\
**Category:** Displays\
**Created:** [March 25, 2014, 1:41am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164 "2014-03-25T01:41:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 25, 2014, 1:41am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/1 "2014-03-25T01:41:21Z")

</div>

I'm building an alarm clock on a motorized vehicle. Vehicle moves and buzzer sounds when alarm goes off.

I programmed the clock and it is displayed on an Arduino LCD. The display and buzzer work fine.

When I add the two DC motors into the mix, they spin when the alarm goes off, however, the LCD goes fuzzy simultaneously.

I'm using an Arduino Rev3 Motor Shield.

The whole project is powered by 4 AA batteries (6V). I though maybe it was not enough voltage so I tried a 9V and with that when the alarm sounds the LCD resets itself.

Any thoughts guys and gals?? This is a school project due in a week!

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [March 25, 2014, 2:16am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/2 "2014-03-25T02:16:58Z")

</div>

> Any thoughts guys and gals?? This is a school project due in a week!

You could try searching this forum for other similar cases. The same problem crops up with relays, solenoids, and anything else that's basically a coil of wire.

The search function provided with this forum software is slightly better than useless. Try a Google search using this syntax:  
--\> _search phrase_ site:arduino.cc

Don

---

<div class="post-metadata">

**Author:** ![Trixi](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/trixi/32/216181_2.png) [@Trixi](https://forum.arduino.cc/u/Trixi)\
**Post date:** [March 26, 2014, 10:56am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/3 "2014-03-26T10:56:50Z")

</div>

How do you connect the motor ?  
Seems that you got an "Out-of-Power"-Error 😉

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 26, 2014, 3:54pm UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/4 "2014-03-26T15:54:30Z")

</div>

I have the motor leads going into the Motor Shield channels. The Arduino board is powered by a 9v battery and the LCD is powered by a separate 9V battery.

I also tried connecting a capacitor across Vcc to ground on the board to help eliminate a drop in current when the motors turn on but still no luck.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 26, 2014, 3:55pm UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/5 "2014-03-26T15:55:44Z")

</div>

Thanks for the tip Don I found some similar situations on the forum tried a few things people have done but still getting the same error.

---

<div class="post-metadata">

**Author:** ![Trixi](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/trixi/32/216181_2.png) [@Trixi](https://forum.arduino.cc/u/Trixi)\
**Post date:** [March 26, 2014, 4:05pm UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/6 "2014-03-26T16:05:30Z")

</div>

> but still getting the same error.

Try to connect at least the motor power with an own power supply/batterie

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [March 26, 2014, 9:31pm UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/7 "2014-03-26T21:31:04Z")

</div>

You have a complex problem here.

I am not sure what you mean by "the LCD is powered by a separate 9V battery" because you would have to be regulating the LCD supply to 5V for it to work, presuming it to be a common 1602-type display which requires 5V; not 6V and preferably not 4.5V though that might _just_ work.

You need to run the motor shield supply from 6V, four AA should be OK, but _nothing else_ runs from this supply.

Now powering the Arduino gets a trifle tricky. You need either 7V to the regulator - 9V will do but the tiny 9V common sort of batteries will probably not last too long - or 4.5V (three AA batteries) directly to Vcc without the regulator. If you do the latter, you can run the LCD backlight from it as well, so you could use a little 9V battery and regulator to power the LCD (or you might get away with 4.5V given some difficulty with the contrast).

That sounds like three separate batteries to provide for the three different requirements of those parts, but that may be the best way to have it work for the present.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 27, 2014, 12:29am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/8 "2014-03-27T00:29:09Z")

</div>

Sorry my explanation was a bit confusing. I have the the motor shield and the the Arduino board running on two different power supplies and the Arduino supplies the LCD with power. I'm starting to think that maybe its a software issue rather than hardware. Because the backlight of the LCD remains on even though the display goes blank.

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [March 27, 2014, 2:49am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/9 "2014-03-27T02:49:06Z")

</div>

> Because the backlight of the LCD remains on even though the display goes blank.

The backlight is a completely separate system from the LCD.

Don

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [March 27, 2014, 5:20am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/10 "2014-03-27T05:20:16Z")

</div>

> floresta:  
> The backlight is a completely separate system from the LCD.

The backlight is less critical in terms of the voltage, and immune to transients.

As is so often said, I think we will need a photograph of the "fuzzy" LCD, need a description of whether it recovers correctly afterward, and really, a photograph overall. Attached here (icon to the left of the "world") in a reasonable resolution (1024 by 768 maximum), perfectly focused.

And presumably, this problem happens only when the motors are actually connected, but not when not connected but the same code?

---

<div class="post-metadata">

**Author:** ![amrita\_lv](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@amrita\_lv](https://forum.arduino.cc/u/amrita_lv)\
**Post date:** [April 7, 2019, 10:36am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/11 "2019-04-07T10:36:26Z")

</div>

you need to add a capacitor across the motor

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [April 7, 2019, 1:58pm UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/12 "2019-04-07T13:58:53Z")

</div>

I think the problem has probably been resolved by now.

Don

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 3:31am UTC](https://forum.arduino.cc/t/help-lcd-stopped-working-when-dc-motor-is-connected/222164/13 "2021-05-06T03:31:05Z")

</div>


