Author Topic: Interfacing a unknown LCD  (Read 596 times)

0 Members and 1 Guest are viewing this topic.

Offline NeptuneTopic starter

  • Newbie
  • Posts: 4
  • Country: fr
Interfacing a unknown LCD
« on: April 15, 2023, 12:16:33 pm »
Recently, to learn, I wanted to recover the projector from a alarm clock to interface it with an arduino. However I can not determine the protocol used nor the controller of the LCD. I have the following outgoing pins marked on the PCB:
WR, DA, CS.
I already tried to analyze the signal with a logic analyzer but no clues, i'm a newbie.
It looks like a serial communication but I don’t know any more.

Do you have any ideas?
Thanks.

(sorry for the blurry image, tell me if you need a better picture)
« Last Edit: April 15, 2023, 03:01:21 pm by Neptune »
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 12577
  • Country: ch
Re: Interfacing a unknown LCD
« Reply #1 on: April 15, 2023, 01:00:58 pm »
That’s probably SPI. DA=data (i.e. MOSI), CS=chip select, WR=write mode.
 

Offline redkitedesign

  • Regular Contributor
  • *
  • Posts: 111
  • Country: nl
    • Red Kite Design
Re: Interfacing a unknown LCD
« Reply #2 on: April 15, 2023, 01:26:48 pm »
You've got 5 wires going into the board. Start with finding out which ones are power and ground.

There is also an LED for illumination. Find out (follow the traces) if it is always on, controlled by an IC on the board or by one of the 5 wires.

All unidentified wires: Trace them and see if they go into the IC under the black blob.

Protocol to control that IC can be I2C, RS232, SPI, or something propriatary.

If you can probe the wires while its operational, check them all.
If it toggles regularly, but low-frequent: Its a chip select.
if it has regular, but short spikes: Its either an acknowledge or an frame-sync
if if toggles fast but regular (fixed frequency, 50% duty cycle): its a clock
if it toggles irregular, its data.
"Regular", "infrequent" and "short" are all relative to the other signals.

Lookup patterns of I2C (clock+data), SPI(clock+data+chip select), RS232 (only data) on the internet and you'll see that you can easily identify them.

Once you know the protocol, deduce the data being sent. Correlate that to the image produced and you'r done!
 

Offline NeptuneTopic starter

  • Newbie
  • Posts: 4
  • Country: fr
Re: Interfacing a unknown LCD
« Reply #3 on: April 15, 2023, 01:39:53 pm »
thank you for your answers, I have already identified power and ground. The LED is controlled by the IC (I think). Thank you for your advice I will trace every track of the PCB since this PCB is not very complex.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6227
  • Country: es
Re: Interfacing a unknown LCD
« Reply #4 on: April 15, 2023, 01:48:16 pm »
Sorry for the blurry image?
Was the effort of making decent pictures so hard? Half of the board missing...  ::)
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline NeptuneTopic starter

  • Newbie
  • Posts: 4
  • Country: fr
Re: Interfacing a unknown LCD
« Reply #5 on: April 15, 2023, 02:11:07 pm »
Didnt see it was cut sorry, I added a better one  ;)
btw this clock was VERY cheap and PCBs are not good
« Last Edit: April 15, 2023, 02:15:21 pm by Neptune »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6227
  • Country: es
Re: Interfacing a unknown LCD
« Reply #6 on: April 15, 2023, 02:43:01 pm »
But make at least make a picture where part numbers and traces can be seen  :-DD.
Do you have the usual 24MHz cheap analyzer?
« Last Edit: April 15, 2023, 03:27:33 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline NeptuneTopic starter

  • Newbie
  • Posts: 4
  • Country: fr
Re: Interfacing a unknown LCD
« Reply #7 on: April 15, 2023, 02:58:44 pm »
Nop, i dont have a "real" 24MHz analyzer, i got one coming soon. For now im only using an Arduino  :-\.
For the picture the PCB is really small, im trying my best.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6227
  • Country: es
Re: Interfacing a unknown LCD
« Reply #8 on: April 15, 2023, 03:29:03 pm »
Now we're talking, decent pictures there! :-+
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf