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

Error compiling for board ESP32 Dev Module #1

Open
Diyanderson opened this issue Mar 2, 2020 · 4 comments
Open

Error compiling for board ESP32 Dev Module #1

Diyanderson opened this issue Mar 2, 2020 · 4 comments

Comments

@Diyanderson
Copy link

Dear, ikostoski

I am grateful for your wonderful work.
I also want to recycle the use of the old CLGLCD, but I need to use ESP32.
How can I configure your library for perfect use?
I searched on google, but was not successful ... :(

Thank you for your attention.

@ikostoski
Copy link
Owner

Hi Diyanderson,
Thank you for starring this repository. Code here is very specific to AVR microcontrollers. For similar thing with ESP32, you can try looking here: https://github.com/har-in-air/ESP32-LCD-I2S
Ivan

@Diyanderson
Copy link
Author

Diyanderson commented Mar 16, 2020

Hi Ivan,
Thank you for respost.
These are the LCDs, some were discarded with defective backlight, for recycling, are used in this equipment:
http://www.frankshospitalworkshop.com/equipment/documents/infusion_pumps/service_manuals/Baxter_Colleague_-_Service_manual.pdf
I did not find the pinout in your solution: https://github.com/har-in-air/ESP32-LCD-I2S
ID GLCD: MG1179FR-SCW datasheet not found.
GLCD pinout is: D0-D3, CL1, CL2, FLM, DOFF.
In your code: https://github.com/har-in-air/ESP32-LCD-I2S/blob/master/main/app_main.c
`
void lcd_config() {
#ifdef DOUBLE_BUFFERED
i2s_parallel_buffer_desc_t bufdesc[2];
i2s_parallel_config_t cfg = {
.gpio_bus = {
16, // 0 : d0
4, // 1 : d1
2, // 2 : d2
15, // 3 : d3
13, // 4 : HS
14, // 5 : VS
-1, // 6 : unused
-1}, // 7 : unused
.gpio_clk = 17, // XCK

    .bits = I2S_PARALLEL_BITS_8,
    .clkspeed_hz = 2*1000*1000,//resulting pixel clock = 1MHz
    .bufa = &bufdesc[0],
    .bufb = &bufdesc[1]
};

How should connect to this screen? can you help me?
thanks in advance
Anderson,

MG1179FR-SCW

@ikostoski
Copy link
Owner

Hi Anderson,
The code in https://github.com/har-in-air/ESP32-LCD-I2S is not mine, I just referenced it as similar work. For assistance, please ask the author of that code (har-in-air).
Just as a guess, the signals you need are 13(HS) -> CL1, 17(XCK) -> CL2, 14(VS) -> FLM, plus DOFF as defined somewhere in the code... The ESP32 code is for driving 240x160 LCD, I have no idea what is the resolution of your modules. The row/column driver chips are unmarked, "chip-on-tape" ICs.
You will not get too far without datasheet or reverse engineering the J5 connector on the main board of the "parent" device.
The data you have:

  1. CCFT Inverter Module
    The CCFT inverter module is a high frequency, DC-to-AC inverter that provides up to 260 VAC for the CCFT. The inverter module’s operating power is 10 to 14 VDC, controlled by the On/Off input received from the UIM PCB’s Back Light On circuit. The inverter module provides an isolated 260 VAC output directly to the CCFT via its 4-pin output connector and high voltage (flying) leads.

  2. Main Display
    The Main Display is a self-contained, CCFT backlit, monochrome graphic liquid crystal display (LCD) module. The module contains the following:

  • Liquid crystal display printed circuit board (LCD PCB)
  • Liquid crystal display (glass with frame)
  • CCFT with leads

The Main Display requires only power, data, and control signals as inputs:

  • Power required for operation consists of 5 VDC at approximately 15 mA for logic circuitry, and -18 VDC at 10 mA for the LCD drive.
  • Four data lines provide data to the LCD (D0-D3).
  • Control signals include Scan Start, Framing, Latching Pulse (CL1) and Display Data, and Transfer Clock (CL2). All inputs and outputs are conveyed to and from the module via a 14-pin connector and flat ribbon cables. The UIM PCB Display Controller Circuit drives the Main Display

Ivan

@Rodov
Copy link

Rodov commented Oct 30, 2023

Hi, guys!
I have the same question: I have NODE MCU 1.0 (ESP-12E) with old CLG LCD 240x64 with only these data:
LCD back
LCD front
LCD wiring
and no datasheet on it.
I wondering which pins on ESP module I must use to drive the LCD. Can you add description of the ESP module in clglcd_config.h ? The ESP module has two clocks but it's different SCLK and HSCLK.
nodemcu_pinout
Can I use this ESP module or I need another MCU to drive the LCD?

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

No branches or pull requests

3 participants