Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for EastRising (BuyDisplay) ER-OLEDM1602-4Y #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rfmerrill
Copy link

@rfmerrill rfmerrill commented Oct 18, 2020

This is a small change but took a while of banging on it to get it to work.

The ER-OLEDM1602-4Y is much easier to acquire than the WinStar display in the US, and cheaper as well.

The required changes are:

  • Repurpose the blinking LED pin for the RESET line to the display, as it does not seem to have a good POR circuit built in.
  • Slightly different initialization sequence (E starts low, no command required to put it in 4-bit mode, can skip the multiple 0 writes.)
  • Hack around the controller putting the second line at 0x20 instead of 0x40 (note: The display controller datasheet says it should be at 0x40 but I could only get it to work at 0x20).

The display has three solder jumpers BS0-BS2, they should be HIGH LOW HIGH for 4-bit 6800 mode.

The wiring is as follows:

  • E connects to the pin labeled RD
  • RS connects to the pin labeled DC
  • PB1 connects to the pin labeled RES
  • CS should be tied to ground
  • VCC should be 3.3V
  • The rest of the pins (D4-D7, RW, and GND) connect as normal.

Note also that this display appears to be upside-down relative to the Winstar and Adafruit ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant