dhrone / pydPiper

A general purpose program to display song metadata on LCD and OLED devices
MIT License
78 stars 36 forks source link

Winstar OLED WEH001602BWPP5N00000 #124

Open RP250258 opened 3 years ago

RP250258 commented 3 years ago

Hi Dhrone, I have installed this OLED display, but nothing happens, this is the same family off Winstar what goes wrong? I use the Raspdac but want a bigger display

Thanks Dekker

dhrone commented 3 years ago

This is probably a good time to discuss how one of these support requests should be made. When you have a problem with your display, there is a lot of technical detail on your specific configuration that is needed to even begin to understand what may be wrong.

At a minimum you need to provide:

Being more specific is almost always more useful than less.

The good news is the display you have chosen should definitely work. When working on display issues, it is often helpful to get an example program working before attempting to get the full pydPiper system working. I've moved to using the Luma.LCD/Luma.OLED projects to drive the next version of pydPiper. I'd suggest you take a look at the Luma.OLED documentation and try to get a small sample program working with it.

See https://luma-oled.readthedocs.io/en/latest/software.html for instructions on how to install the luma.oled library and https://luma-oled.readthedocs.io/en/latest/hardware.html#parallel for an example of how to wire the display.

Here's a small sample program that should display a message if your display is working correctly.

from luma.oled.device import winstar_weh
serial = bitbang_6800(RS=7, E=8, PINS=[25,24,23,27])
device = winstar_weh(serial)

display.text = 'Winstar Display\nSuccess'

FYI, Getting luma to work correctly on many of the popular music distributions (especiall Volumio) is difficult because most lack direct support for Python3 which is a Luma.oled requirement. I would suggest using RaspberryPi OS for your testing until you get your display working correctly before attempting to get pydPiper running with the distribution you are using.