rm-hull / luma.lcd

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs
https://luma-lcd.readthedocs.io
MIT License
158 stars 57 forks source link

Add support for Sharp LS013B4DN04 memory display #61

Open rm-hull opened 6 years ago

rm-hull commented 6 years ago

Implementation Notes

image

image

Pinouts

LCD Pin LCD Name RPi Pin RPi Function Remarks
1 VIN P01-01 3V3 3.3V Power
2 3V3 P01-01 3V3 3.3V Power
3 GND P01-06 GND Ground
4 SCLK P0-23 GPIO 11 (SCLK) Serial Clock
5 MOSI P01-19 GPIO 10 (MOSI) Serial Data
6 CS P01-24 GPIO 8 (CE0) Chip Select
7 EXTMD P01-14 3V3 External mode (ON = external clock)
8 DISP P01-16 GPIO 23 Display ON/OFF signal
9 EXTIN P01-12 GPIO 18 (PWM0) PWM clock - external clock when EXTMD = ON
rm-hull commented 6 years ago

References: http://www.makerdyne.com/blog/category/electronics/breakout-boards/

Well I have it working with some C code against my RPi-Zero from the above site:

image

Turns out it is 'not-quite' SPI in-as-much the chip select line is active high - normally CS is active low; not certain that the underlying py-spidev supports this, but at least it's some progress nonetheless.

cc: @Stefal

CRImier commented 9 months ago

I'm interested in adding support for Sharp Memory displays to luma.lcd, currently looking at the #63 code. Would such a contribution be interesting to upstream?

thijstriemstra commented 9 months ago

Would such a contribution be interesting to upstream?

I think so!