cms
Member
After finding the cheapest transmissive graphic LCD on eBay, I've been trying to get it going with my Teensy 3.0. Following the u8glib thread where Bill Perry posted about his openGLCD library, I've attempted to apply Hoss' modifications and other tips in the thread, but to no avail.
My board is made by ETT in Thailand. They furnished a data sheet after I emailed them, as strangely the online resources are in Thai only. It's controlled by dual SED1520s, with 61*32 each. The display handles backlight/contrast internally.
Curiously, the data sheet seems require a 2KHz clock and an E pin. openGLCD's SED1520 device file states SED1520 does not need an E pin, nor does it have clock support. In an effort to get it going, I tried it high, low, and floating.
Following the wiring diagram in the openGLCD manual, I've set Teensy (GLCD) pins:
16 to 23 (10 to 17) for D0...D7
RW (9) is 8
DI (4) is 9
CS1 (5) is 3
CS2 (6) is 2
GLCD pin 8 is E, which is constant high.
GLCD pin 18 is also set high to select M68 bus style.
openGLCD ManualConfig_sed1520-vk5121_Panel.h (modified) config attached.
View attachment ManualConfig_sed1520-vk5121_Panel.h
MTB-368 English datasheet attached.
View attachment User's Manual of GLCD MTB-368.pdf
As you can see from the clip below, the above wiring produces a series of mostly horizontal lines. Note that I used Bill P. and Paul S.'s quick and dirty technique of 10K Ohm resistors in series with each GLCD and Teensy pin, as the GLCD is 5V logic. I'm awaiting delivery of a 5V AVR-based board to do more testing.
Does anything stand out to you immediately, or might this particular display require some finessing of the libraries? Thank you for your time and assistance.
- Chris
My board is made by ETT in Thailand. They furnished a data sheet after I emailed them, as strangely the online resources are in Thai only. It's controlled by dual SED1520s, with 61*32 each. The display handles backlight/contrast internally.
Curiously, the data sheet seems require a 2KHz clock and an E pin. openGLCD's SED1520 device file states SED1520 does not need an E pin, nor does it have clock support. In an effort to get it going, I tried it high, low, and floating.
Following the wiring diagram in the openGLCD manual, I've set Teensy (GLCD) pins:
16 to 23 (10 to 17) for D0...D7
RW (9) is 8
DI (4) is 9
CS1 (5) is 3
CS2 (6) is 2
GLCD pin 8 is E, which is constant high.
GLCD pin 18 is also set high to select M68 bus style.
openGLCD ManualConfig_sed1520-vk5121_Panel.h (modified) config attached.
View attachment ManualConfig_sed1520-vk5121_Panel.h
MTB-368 English datasheet attached.
View attachment User's Manual of GLCD MTB-368.pdf
As you can see from the clip below, the above wiring produces a series of mostly horizontal lines. Note that I used Bill P. and Paul S.'s quick and dirty technique of 10K Ohm resistors in series with each GLCD and Teensy pin, as the GLCD is 5V logic. I'm awaiting delivery of a 5V AVR-based board to do more testing.
Does anything stand out to you immediately, or might this particular display require some finessing of the libraries? Thank you for your time and assistance.
- Chris