So, I'm planning to make a (pretty basic) "retro" game console using a 128x64 dot matrix LCD. I already talked about my attempt to get something like this working using a 20x4 character LCD in an earlier post:
After finding out that what I had in mind was not going to work, I have decided to use a 128x64 dot matrix LCD. The exact one I plan on using is this one:
Datasheet here:
After not very much effort looking through the datasheet, I found that it uses a NT7108C driver. I was planning on using either the u8glib or u8g2 library to control it. After looking through some of the library's documentation, I noticed that the NT7108C driver that the display uses is not listed as compatible with the library.
After doing a bit of searching around on the forum, I found this post from April 2020, where they had the same driver on their LCD:
In the post they mentioned that the NT7108 (NT7108C) driver is compatible with the KS0108 driver, which I found is compatible with the u8g2 library.
In summary, I guess my question is: has anyone used a 128x64 LCD with NT7108 driver with the u8g2 or u8glib library? Also, has anyone used the u8g2 library with a Teensy 4.0 Microcontroller? The reason that I ask this is because if at all possible, I would like to use it for this project. (because of it's absolutely crazy amount of memory and excellent Arduino IDE compatibility)
KS0108 controllers use a LOT of wires. But they work fine with U8g2.
Your Teensy4.0 is a 3.3V MCU. The KS0108 should be fine with 3.3V logic. Likewise the backlight is separate from the controller logic.
The backlight should be ok at 3.3V but you can use a higher voltage with a series resistor.
Yeah I saw that too
I believe they use a 8 bit parallel communication plus a few others for output enable and segment select. (and probably a few others that I haven't though of needing to connect yet)
Yeah, I looked to make sure of that too. The minimum voltage for a "high" input is 2v, as far as I understand.
I'll probably have to use a separate 5v regulator to bring my 2s lithium ion battery voltage (7.0 - 8.4) down to power the LCD logic supply voltage, which I believe can only be 5v. I'll also put 5v into the Vin pin on the Teensy. (which can handle 3.6v to 5.5v) The Teensy will bring that down to 3.3v to power the itself and the other stuff I have connected to it.
Yeah, I was just going to connect it to the 3.3v pin on the Teensy, because according to the datasheet, it is rated for a maximum of 3.6V and a typical voltage of 3.5V. It might be a little bit dimer like that, but I'll deal with it.