Це відео не доступне.
Перепрошуємо.
How to interface SPI TFT LCD(ST7735) with RaspberryPi - Part 1
Вставка
- Опубліковано 30 січ 2022
- This video demonstrates how to interface SPI TFT LCD(ST7735) with RaspberryPi
Download the source code from link below
github.com/deg...
Note: This tutorial was tested on 32bit Raspberry Pi OS and may not work on 64 bit version.
Support me - By Me a Ko-Fi
ko-fi.com/praj...
For more exciting projects please visit worldomo.blogs...
Man, you really smash the return key haha
Hello Prajnith, I'm so happy 😊. You made my day! The display works as desired and I am really lucky. Thanks for your video and have a nice day! 👍
Great video, very concise and easy to follow. Please ditch the music though, I don't think you need it.
Hi Adam,
Thank you for the feedback. Yes, you are right about music and I have started to get rid of music in recent videos.
You can disable the audible bell in putty. Please do so.
Thank you for your Inputs, I will surely do that in future videos!
Hello ! Thank you a lot for this video.
I can’t change the speed of the clock wether I change SPI_SPEED_Hz value (scrollin_text.py) or SPI_CLOCK_Hz value (ST7735.py). Have you faced the same problem ?
I haven't tried it, but since it's running over python there could be limitation set in python GPIO library
Hi, I've tried to follow the tutorial but my display only shows white, nothing else
May I ask what am I doing wrong?
Hope you have connected the pins correctly, white screen indicates the LCD is being powered correctly but SPI communication might be a issue, please check comment from @Michael Benn on the SPI pin connections
Where does the A0 go? I dont think you mentioned it anywhere?
It would be great if you could add a chart to the description detailing the pin connections
A0 should be connected to the Pi's MISO pin, which is GPIO 9 (pin 21) for the default SPI port, which is port 0. If you want to enable the second SPI port, which will be SPI port 1, A0 should be connected to GPIO 19 (pin 35). Enable the second SPI port by adding 'dtoverlay=spi1-3cs' to your /boot/config.txt file straight after the 'dtparam=spi=on', which is what turns the first SPI port on. If you don't already have SPI enabled, that line will be commented out, so either remove the hash symobl, or use 'sudo raspi-config' to enabled the SPI interface. HTH 🙂
if pinout was mentioned in a diagram it would have been better
again and again i need to listen to your voice to see the pinout
My screen is 320x240 but the image can only display one corner, why?
Can you help me?
Check wirings
hello sir, can we display the text (8:44) in landscape mode?
you can use draw.rotate(90) before line 82 in scrolling_text.py
also check out advanced tutorial Part 2 below
ua-cam.com/video/dj0WrkpPRho/v-deo.html
this can work with ili9341 ?
Sorry the register mapping in the code is written specially for ST7735 lcd driver.
would it have killed you to include a wiring diagram?
from what worked for me, the connections(not GPIO) are as follows: VCC - any 3.3v pin (i gave to pin 17), GND - any GND pin (i gave to pin 6), CS - Pin 24, RST - Pin 22, A0/DC - pin 18, SDA/MOSI - pin 19, SCK/SCLK - pin 23, LED - pin 1 (3.3v). Note that even a 5v can be used for VCC but i'm slightly worried about over voltage, which may damage the tft. if you are using GPIO pins, refer to the pinout of your raspberry pi and connect accordingly. Have a great time experimenting :)
@@songoku2872 Thank you for your input! You got me working.
@@williamrayburn5623 happy to help! :)
Hello please let me know can I use this display as monitor of raspberry pi.
Actually I want to play a video streaming from website on this display
Unfortunately the SPI interface used here with python is insufficient to play videos with good frame rate
Use this tutorial
m.ua-cam.com/video/cXGnYmMBOGM/v-deo.html
Sir thankyou very for you reply
Sir actually I don't need good frame rate I just want to achieve the goal, I have this display and I want it to display the live camera streaming from raspberry pi.
Regardless of frame rate
Can you please help me out
Waiting for you kind reply 🙂
Can I have your email so that I can explain you better.
Please
@@usmangilani2367 Yes but since we used Python for this whole process and not Linux frame buffer we cannot tap into video stream unless we write that whole code in python.
We may need to do something like mentioned in the website but its still lot of work programsolve.com/python-to-play-video-player-on-terminal-with-source-code/
Sir kindly make the video on that please.
Waiting impatiently
I'm working on it, little busy with main work, facing issue with blinking lcd, hopefully should be able to get it working by this weekend
@@degzero that's really great news for me that you are doing it.
I'm really happy and thankyouu for your efforts.
May God be with you and you will have success for sure.
Thanks again.
Looking forward 😃
I just fried my st7735 display, need to get a new one, will keep you posted.
@@degzero oh no.!
That's really sad.
@@degzero I hope you'll get success soon.
Looking forward 🙂
Please reply me asap
ua-cam.com/video/dj0WrkpPRho/v-deo.html
i get this error and im not sure what to do: disp = TFT.ST7735(
TypeError: __init__() got an unexpected keyword argument 'spi'
Ensure you have enabled spi in config.txt
Also did you install python gpio and spidev library ?
pip install spidev