Equip your Genius
Welcome to the Parallax Discussion Forums, sign-up to participate.
Learn with BlocklyProp
BS2p24 to CrystalFontz 2X16 LCD display - Hello world Init Sequence
Dear Parallax Forum,
sharing the code, schematics, and full details to wire and initialize a CrytaFontz 2X16 4-bit parallel bus LCD display to a BS2P24.
3264 x 2448
Thanks for sharing Chris.
Thanks for sharing that!
Adding a follow-on comment:
I've connected the CrystalFontz LCD panel using a straight ribbon cable - about 10" long. One thing i've noticed is that reloading and running the code 10X in a row sometimes cause only Row 1 to be initialized. The top LCD row will become far darker when this happens. The solution to ensure both rows are active is to repeat the command to initialize two rows with a "PAUSE 500" between them. This seems to reliably result in two rows being initialized.
I suppose there is some debouncing going on on one of the lines....I"ve tried longer pauses but the only reliable solution is to repeat the commend twice. The other possibility is that there is capacitive charging on the line where the TTL value is in the middle ground. I've seen this happen as well with the Parallax outputs lines as well. Which root cause is to blame is unclear without an oscilliscope.
Either way, this is a quick fix and sharing so everyone can benefit!
Do you have a 4.7k to 10k pull down resistor on the E wire?