Hot answers tagged

6 votes
Accepted

rPi3 I2C-LCD, do i need a logic level converter?

You can't just write to an I2C bus. The SCL line is an output from the master (Pi) but the SDA line is an input and an output. The LCD should not have pull-ups to 5V on board but many do. Perhaps ...
joan's user avatar
  • 70.4k
6 votes

Rpi3B/Rpi4B ILI9341 / XPT2046 SPI 2.8" Touch TFT LCD Connection / Driver Problem

Question ILI9341 SPI 2.8" Touch TFT LCD Arduino Shield Rpi3B+ OK? How to connect? Short Answer (S1) Yes, it is OK to use the ILI9341 Arduino Shield for Rpi. The following is the wiring ...
tlfong01's user avatar
  • 4,625
4 votes

Kuman 7 inch LCD touchscreen compatible with Raspberry Pi Zero?

It's working with my zero. However you will need to adjust the settings to use the entire screen, just researching that now. The Kuman screen (which should come with the proper cable) is: Kuman ...
Paul C's user avatar
  • 41
4 votes
Accepted

SPI vs 8-bit TFT

I assume you are talking about connecting a display on the GPIO of the PI. GPIO bandwidth Here are some speed benchmarks for the GPIOS: github page, and one can toggle a GPIO on the PI 3 at 65.8Mhz. ...
pim's user avatar
  • 622
3 votes
Accepted

Help in understanding how to use Raspberry Pi's "official" 7 in. LCD from Python script

I'm sure there are many, many ways of doing this but one of the easiest would be to create a GUI with python's built in tkinter module. Size the GUI window to the size of the LCD screen and when the ...
Matt's user avatar
  • 426
3 votes
Accepted

How to connect 6 LCD 16x2 to a Raspberry Pi 3?

If its one of the standard i2c 16x2 controllers it should have 3 pairs of address pads labelled A0,A1,A2. Jumping these according to the table below changes the i2c address. http://www.ardumotive....
CoderMike's user avatar
  • 6,727
3 votes

Will either of these displays work on the Raspberry Pi DSI connector?

They won't work. The only supported display is the one created by the Raspberry Pi Foundation and sold by their usual distributors.
Dougie's user avatar
  • 5,251
3 votes

Rpi3B/Rpi4B ILI9341 / XPT2046 SPI 2.8" Touch TFT LCD Connection / Driver Problem

I do not know if you fixed issues already but you cannot connect your 8bit paralel tft display via SPI. SPI interface uses less wires for connection as 8-bit parallel which is yours case. At first ...
tuto ruto's user avatar
2 votes
Accepted

What's the proper method for connecting a parallel LCD display to an RPi 3?

It looks like a HD44780 device to me, a standard LCD parallel display which needs multiple GPIO (probably 8 if driven in 4 bit mode). See https://www.arduino.cc/en/Tutorial/HelloWorld as an example ...
joan's user avatar
  • 70.4k
2 votes
Accepted

Python - 16X2 LCD display error loading driver without sudo

With the recent Raspbian releases from raspberryi.org the pi user may be added as a member of the gpio, i2c, and spi groups, to grant access to those peripherals. You don't mention the operating ...
joan's user avatar
  • 70.4k
2 votes
Accepted

Potentiometer on 16x2 LCD, does it need to be connected to VCC?

Both way you described (either using a potentiometer as a voltage divider, or connecting a resistor between the contrast control pin (Vo) and ground) are valid configuration. The contrast of the LCD ...
hcheung's user avatar
  • 825
2 votes
Accepted

Pygame run on external screen using ssh

I found this thread. I tested the solution between two of my personal computers, both running Linux. To find out the value of $DISPLAY, use a keyboard hooked directly to the pi. Then in the terminal ...
Hunter Akins's user avatar
2 votes
Accepted

LCD showing garbage sometimes using RPLCD

This should be fixed in version 1.2.1: https://github.com/dbrgn/RPLCD/pull/91 If you've been experiencing the described issues with garbled text occasionally on initialization/use of the display, try ...
Danilo Bargen's user avatar
2 votes
Accepted

Change back from LCD driver

Read the last part of the Step 3 from RAEDME.md file of the GitHub repo you are referring to. If you need to switch back to the traditional HDMI display sudo ./LCD-hdmi Login into your pi ...
Ravi Mali's user avatar
  • 144
2 votes

Earliest place in boot for output to I2C LCD (not HDMI)

Here's an example of a project which starts custom executables directly from a RAM disk image (/boot/initrd). It's certanly not the earliest place possible, but at least it happens before the root ...
Dmitry Grigoryev's user avatar
2 votes
Accepted

Is it possible to connect a Nintendo DS screen to a Raspberry Pi?

Based on the pinout of the DS screen, there isn's a controller for the display, it appears to be a parallel RGB display. It would be a significant task to design a driver for it to be able to attach ...
Wendall's user avatar
  • 211
2 votes

HELP, undo code that was for another touch LCD screen. Now it won't boot all the way

Question Rpi can no longer boot after installing wrong LCD driver. How to fix? Answer Short answer A quick and dirty fix is: Use a new SD card with a freshly downloaded Raspbian image, ...
tlfong01's user avatar
  • 4,625
2 votes

Newcomer to RPi from web developing (HTML/CSS/Javascript). Do I have any advantages?

Yes you can talk to some sensors entirely JavaScript, e.g. npm install raspi-sensors npm install node-dht-sensor That first library was last updated three years ago, so as is typical with the Pi (...
jdonald's user avatar
  • 2,884
2 votes

Display a value on a i2c 20x4 LCD with one decimal point

If I understand correctly, this is not a Pi problem, but a C programming issue. In C printf (and variants), %d means 'Output an integer' - which is what you are getting. You need %f to output a ...
Peter bill's user avatar
2 votes
Accepted

Adjust display brightness to ambient light

turn itself off when the room is dark. So now I need something to check a light sensor and control screen brightness. In this part, you need to do the next two steps. First. Buy a BH1750FVI I2C ...
M. Rostami's user avatar
  • 4,285
2 votes
Accepted

Need Help with Controlling Some LEDs with a Raspberry Pi

If anyone is running into the same problem and is reading this post: I ended up fixing it and it's working just fine now. All I had to do was change the brightness down on the LEDs. I did some math (...
user2323030's user avatar
2 votes

Is it safe to power 5V display from 3.3V line from GPIO?

Although your question does not make it clear how the display is connected I guess I²C. Like most devices on Amazon there is no meaningful documentation. It is quite safe to connect to a 5V powered I²...
Milliways's user avatar
  • 58.2k
2 votes

I2C not detecting PCF8574

I'm now certain there is an issue with the backpack or board. After further inspection, I noticed that the plastic insulation at the base of the ground pin on the backpack and on the LCD board appear ...
Pokebab's user avatar
  • 86
1 vote

Raspberry pi3 TFT screen setup

This looks promising: https://www.raspberrypi.org/forums/viewtopic.php?t=143581 The screen in your link uses a XPT2046 chip. Seems that this line is required in the /boot/config.txt file: dtoverlay=...
janui's user avatar
  • 11
1 vote

SPI access via C# .NET Core console app

Copy your app, i.e. whole publish directory mentioned above, to the Raspberry Pi and execute run ./helloworld to see Hello World! from .NET Core running on your Pi! (make sure you chmod 755 ./...
Thodoris Koskinopoulos's user avatar
1 vote

Is splitting a wire off of a single 5V pin the same as using two 5V pins?

On the breadboard all the 5V connections are in series with a single 5V pin No they're not, they are in parallel. They were using same 5v source but the current draw will be shared by those ...
bgsuello's user avatar
  • 166
1 vote

16x2 lcd display to raspberry pi black text instead of white

Those HD44780 driven LCDs don't have reverse characters in their character set. If yours is displaying black text on the background, you are stuck with that. — Well, you could undo the display frame ...
Janka's user avatar
  • 1,698

Only top scored, non community-wiki answers of a minimum length are eligible