I got a 16x2 LCD display but I have no clue if it's 5 volt or 3.3 volt logic. I'd like to use it on a Raspberry Pi but I'm afraid to just plug it into the 3.3 volts if the display is 5 volt. The only marking on the display reads


but googling that didn't help any. Is there a way that I'm unaware of to know if the LCD is 5 v or 3.3 v? Or will it damage the display if it is 5 volts and I try to run it with just 3.3 volts?

  • You won't do any harm by powering from 3V3. If it needs 5V it simply will not work. If it needs 5V make sure NOT to connect any OUTPUT pin from the device to a Pi INPUT. – joan Oct 2 '17 at 10:48

As Joan suggested 3.3V shouldn't damage the display. However I did find a datasheet for a 1602A which suggests it is a 5V display: https://www.openhacks.com/uploadsproductos/eone-1602a1.pdf (pdf). It says that the minimum input voltage for a logical high is 2.2V so if it powers up on 3.3V it may work with the Pi.

Otherwise you would have to connect it to 5V and make sure the display's output pin voltages are dropped to 3.3V using a voltage divider as in the image below. Here the LCD's pin is connected to one of the Pi's ground pins through two resisters and the pin on the Pi that you choose to read input from the LCD is connected between the two resistors. As suggested here on Sparkfun.

You would need to have a separate divider for each Data pin.

Voltage Divider

The Raspberry Pi assumes a voltage input of > 1.3V is a logical high so you can use different combinations of resistors if you don't have the exact ones (3.3K Ohm, 1.7K Ohm) so long as the Pi sees a voltage in the range 1.3-3.3

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.