Comments (7)
Very generic question, can you be more specific?
from luma.lcd.
sure, currently the ST7920 oled screen is unsupported, what changes are required to add support for this screen
from luma.lcd.
ST7920 is an LCD screen rather than OLED.
You would need to find the datasheet for the device, read it and understand how to send data to the display (whether that is via I2C, SPI or parallel bIt-banging). Then use one of the other implementations as a guide, implement a class that extends device
(see https://luma-oled.readthedocs.io/en/latest/api-documentation.html) where its display()
method takes a pillow image and converts the pixels to the correct commands and data for device
from luma.lcd.
Moving to luma.lcd ....
from luma.lcd.
Ok, understood, thank you for your feedback
I will close the issue but leave these notes below
I have found much of that information but, I dont have the depth of understanding at the moment to put it into a implementation.
Will leave it here if anyone else interested.
Datasheet
https://www.lcd-module.de/eng/pdf/zubehoer/st7920_chinese.pdf
Enable SPI mode is simply done by connecting PSB to GND
Enable Parallel mode by connecting PSB to 5V
How th screen works
https://www.instructables.com/id/The-Secrets-of-an-Inexpensive-Ubiquitous-Chinese-L/
U8G2 ports
https://github.com/ribasco/u8g2-rpi-demo
https://github.com/olikraus/u8g2
from luma.lcd.
Related issue: #46
Related PR: #98
from luma.lcd.
I think the PR for this stalled because driving it via parallel bit-banging was going to be awkward.
If this is true:
Enable SPI mode is simply done by connecting PSB to GND
then it might be straightforward to getting it working
from luma.lcd.
Related Issues (20)
- ST7735 inverted colors HOT 18
- HD44780 with I2C backpack HOT 6
- Stray pixels when using diff_to_previous with ILI9341 HOT 20
- test_ili9341 hangs HOT 3
- Error trying PWMBacklight with ili9341 HOT 23
- Help with speed difference between SBCs HOT 15
- ili9341 and PWM support? HOT 1
- Thoughts on Bridgetek EVE (Embedded Video Engine) HOT 11
- Support for ili9486 HOT 9
- Trying to get this to work with Spotpear LCD HOT 20
- ST7789 - maximum height and width? HOT 9
- Multiple TFT Screens (ST7735) HOT 2
- Standard 'gpio_LIGHT' pin causes crash of I2S HOT 1
- Support ILI9488 3.5" (320x480) displays HOT 4
- The function device.backlight(False) turns on the lights, instead of device.backlight(True) HOT 7
- DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01)
- RuntimeError: This module can only be run on a Raspberry Pi! HOT 2
- Comment error: HT1621 may actually 1/3 bias HOT 2
- ILI9341 issue?
- st7735 white screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luma.lcd.