Add support for EastRising (BuyDisplay) ER-OLEDM1602-4Y #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
RESET
line to the display, as it does not seem to have a good POR circuit built in.E
starts low, no command required to put it in 4-bit mode, can skip the multiple 0 writes.)0x20
instead of0x40
(note: The display controller datasheet says it should be at0x40
but I could only get it to work at0x20
).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 labeledRD
RS
connects to the pin labeledDC
PB1
connects to the pin labeledRES
CS
should be tied to groundVCC
should be 3.3VD4
-D7
,RW
, andGND
) connect as normal.Note also that this display appears to be upside-down relative to the Winstar and Adafruit ones.