Hot answers tagged

6

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 connect it to 5V and ground and then measure the voltage on the LCD's SDA pin. If it's 5V you definitely should use a level converter.


6

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 for using SPI mode interface. ILI9341 Touch LCD Arduino/STM32 Shield to Rpi3B+ GPIO Wiring V0.1 The following GitHub driver by juj has a comprehensive tutorial ...


4

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 Capacitive 7" inch Touch Screen TFT LCD module HDMI 800x480 for Raspberry Pi 2 and RPi 1 Model B B+ BB BLACK SC7B This page helped: 7-Inch-800x480 Display Kit(...


4

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. This is the speed for toggling one bit. If you want to drive a 8-bit parallel bus, you will need to drive the 8-bits of data + the control bits (at least the ...


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.com/i2clcden.html


3

They won't work. The only supported display is the one created by the Raspberry Pi Foundation and sold by their usual distributors.


3

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 IR signal name is received, code a label with name received to be displayed on the GUI.


2

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 interface. SPI would not be suitiable.


2

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 system you are using. Try the following then logout and log back in for it to take effect. sudo adduser pi i2c


2

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 using ssh and cd to the location where you downloaded the driver and executed ./LCDxx-show previously and run the command sudo ./LCD-hdmi


2

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 setting the parameter compat_mode=True, which allows for better interoperability with slower displays. self.lcd = CharLCD(pin_rs = 15, pin_e = 16 \ ...


2

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 to a RasPi.


2

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, without any new LCD driver installed. Then install your correct LCD driver. Long answer You can fiddle with the Raspbian config files to remove wrongly ...


2

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 (and Linux) you may deal with some compatibility challenges, while node-dht-sensor was updated two months ago. You can search the npm repository for other modules ...


2

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 float, or a double. If you only want one decimal point, use %.1f: mylcd.lcd_display_string(“Pressure: %.1f%s hPa” % (pressure,chr(32)), 4) There is lots of help ...


2

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 sensor and configure this light sensor hardware to the RPi by this link - Using the BH1750FVI I2C Digital Light Sensor. Next. For the brightness control ...


2

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²C device provided it has no pullups to 5V. The Pi has on-board I²C pullups to 3.3V. I²C outputs are open-drain and you can safely connect devices to the Pi (...


2

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 to be damaged. It looks like it was shorted. It could have been me, but I doubt it as I was very careful in wiring, especially as I know the damage that can be ...


1

Raspberry Pi does not use a structured boot loader like grub or lilo or usable U-boot and Berryboot. It is seen as an embedded system and typical for this the boot procedure is very hardware-dependent. I think it's not an easy task to modify it. To get an idea you may have a look at the Boot flow to find the right place for your insertion.


1

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=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150 The parameters for the framebuffer (width and height) could be a problem, try commenting them out by adding ...


1

This is NOT an "Arduino LCD" - if you search you will find a number of questions about interfacing similar devices to the Pi. You CAN interface to the Pi, however this uses several GPIO pins, and you will need to provide a potentiometer to control the LCD backlight. A better option is to use a similar devices with an I²C interface which only uses 2 GPIO ...


1

Possibly. The only concern is that all the Pi GPIO are 3V3 whereas Arduino GPIO are typically 5V. You need to power the device with 5V. Typically for a signal to be seen as logic 1 rather than logic 0 its voltage must be at least 70% of the supply voltage. That means you need to supply at least 3V5 from a Pi GPIO which can't be done. You may get lucky ...


1

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 connected components. You can just try it with Pi Zero.


1

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 and flip the polarizer, but most times, it's glued onto the glass. It's up to you if you find it worth a try. — You end up with blue text on black then, of ...


1

As you say you have done everything else correctly the only possibility is that the contrast on the LCD screen is wrong. There should be a contrast adjustment.


1

Try to change the rows of ui file: background:url(:/bellimages/roundGould.jpg)</string> <string notr="true">background-image: url(:/bmps/beldan.bmp);</string> to: background:url(roundGould.jpg)</string> <string notr="true">background-image: url(beldan.bmp);</string> Reading the code you posted I think that the .jpg and ...


1

Add to config.txt: lcd_rotate=3 This is presuming the LCD is attached by DSI ribbon cable. That should also rotate the touch coordinates too. 1 = 90° 2 = 180° 3 = 270° https://www.raspberrypi.org/forums/viewtopic.php?t=166959


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