LCD 20x4 I2C repeatedly turns on and off when powered by the USB connection from the laptop on Arduino Uno

The I2C 20x4 LCD repeatedly turns on and off, indicating voltage or current drops due to using power supply from the laptop. This is necessary as I want to run the program and monitor its output on the Arduino IDE serial monitor. When I switch to using a 5V 3A adapter, this issue does not occur. However, using another microcontroller like the ESP32 with the same LCD, there are no issues whether powered by the laptop's USB or an adapter.

Here is a video demonstrating the issue I'm experiencing. I just want to try running a simple "Hello World" or something similar to see the different responses from this LCD. Please help me with how to address this issue.

https://drive.google.com/drive/folders/16pwLHoMnSBL8quwa8zW7PxjoqRUEDleg?usp=sharing


Can you measure the 5V and GND on the display ? It should be at least 4.5V.

1 Like

Sure. Here's my attempt to measure the voltage on the 5V - GND pins going to the 20x4 Blue Light I2C LCD. I tried this on three microcontrollers, but for some reason, this issue only happens with the Arduino when I connect it to the laptop via USB to run the program. However, when I use an adapter, this issue does not occur.

The video can be found in sections 4, 5 - 5.1, and 6.

https://drive.google.com/drive/folders/16pwLHoMnSBL8quwa8zW7PxjoqRUEDleg?usp=sharing

So where's the problem? It seems pretty clear that you already know what to do - connect Arduino to both PC and 5v 3A adapter, i.e. standard practice.

1 Like

It is easier for us if you just tell what the voltage is.
The 4.5 or 4.6V is too low.
Suppose that the voltage will not drop below 4.6V, then you can add a capacitor (100µF to 1000µF) to 5V and GND. But that would still not be reliable.

By measuring "on" the display, I meant on the pins of the display. Circled in red:
afbeelding

The Arduino Uno might still work at 3.5V, but those cheap displays need at least 4.5V.

When I say that the display should have at least 4.5V, then I say that on basis on my own experience and by others on this forum. It can be 4.0V for one display or 4.8V for another display. I don't know, the 4.5V is just an average guess.

Have you seen other displays ? I wonder if the backlight is too bright.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.