Author Topic: EEVblog #1074 - Custom LCD Design - Part 2  (Read 12337 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37661
  • Country: au
    • EEVblog
EEVblog #1074 - Custom LCD Design - Part 2
« on: April 13, 2018, 11:31:30 pm »
Part 2 of designing your own custom LCD display.
Looking at the manufacturers datasheet for approval, and test design considerations.

 
The following users thanked this post: SeanB, Ian.M, mk8038

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12807
 
The following users thanked this post: ANTALIFE

Offline Brumby

  • Supporter
  • ****
  • Posts: 12288
  • Country: au
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #2 on: April 14, 2018, 03:58:00 am »
I did a mapping of the LCD driving signals for a scale to understand how it was done for the 4 x 12 matrix of this scale.  I came up with the table below.

The top table contains a summary of all the signals, displayed in Volts with respect to ground.
The four tables beneath are an expansion of that, showing the voltage across each segment

When a segment is NOT to be turned on, it has an alternating voltage of either (a) +1 and then -1 or (b) -1 and then +1.  What is interesting is where you see (a) or (b)...

NOTE: This is for a simple scale LCD - NOT Dave's custom Microsupply display!
« Last Edit: April 14, 2018, 04:49:53 am by Brumby »
 
The following users thanked this post: EEVblog

Offline Le_Bassiste

  • Frequent Contributor
  • **
  • Posts: 282
  • Country: de
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #3 on: April 14, 2018, 09:26:28 am »
@ dave:
i was wondering about the mechanical diagram of the display that you show at the end of the video:  there is a "viewing direction" arrow pointing at the _solder_ side (back side) of the display. i would have expected that arrow to point onto the top side (front side) of the dispaly. what am i missing here? :-/O

An assertion ending with a question mark is a brain fart.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #4 on: April 14, 2018, 09:31:48 am »
Does the DC driven LCD still works?

Alexander.
Become a realist, stay a dreamer.

 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13694
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #5 on: April 14, 2018, 09:40:54 am »
@ dave:
i was wondering about the mechanical diagram of the display that you show at the end of the video:  there is a "viewing direction" arrow pointing at the _solder_ side (back side) of the display. i would have expected that arrow to point onto the top side (front side) of the dispaly. what am i missing here? :-/O
That arrow is referring to the main front-view, not the side-view. It indicates the 6 o'clock bias of the view angle.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: Le_Bassiste

Offline Cliff Matthews

  • Supporter
  • ****
  • Posts: 1910
  • Country: ca
    • General Repair and Support
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #6 on: April 14, 2018, 12:39:22 pm »
Looking good! Seems capable of some limited branding at boot-up as well  :-+

*edit - Oops! Forgot a letter..
« Last Edit: April 17, 2018, 06:06:52 pm by Cliff Matthews »
 
The following users thanked this post: EEVblog, NivagSwerdna, Arek_R

Offline Cliff Matthews

  • Supporter
  • ****
  • Posts: 1910
  • Country: ca
    • General Repair and Support
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #7 on: April 14, 2018, 06:14:28 pm »
Does the DC driven LCD still works?

Alexander.
Yes, amazing it still works  :-+  I guess you were sleeping IIRC, Dave mentioned that during the live scope draw
 
The following users thanked this post: firewalker

Offline dgtl

  • Regular Contributor
  • *
  • Posts: 183
  • Country: ee
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #8 on: April 14, 2018, 06:38:48 pm »
There are some STM32-s with segment LCD controllers, going up to 8x40. For example, STM32L151. Perhaps it is better to drive the LCD directly from the uc? The LCD is 8x30 (actually 8x29 as pins 18 and 27 could be tied together). If the LCD manufacturer would fit the design into 8x28, there would be even more STM32-s.
 

Offline Arek_R

  • Regular Contributor
  • *
  • Posts: 76
  • Country: gb
  • Polish guy living in the UK
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #9 on: April 15, 2018, 12:41:02 am »
Dave, would be nice if you would sell ithis LCD separately, could be used in many different DIY PSU or electronic load projects!
 
The following users thanked this post: Cliff Matthews

Offline Brumby

  • Supporter
  • ****
  • Posts: 12288
  • Country: au
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #10 on: April 15, 2018, 02:29:32 am »
There are some STM32-s with segment LCD controllers, going up to 8x40. For example, STM32L151. Perhaps it is better to drive the LCD directly from the uc? The LCD is 8x30 (actually 8x29 as pins 18 and 27 could be tied together). If the LCD manufacturer would fit the design into 8x28, there would be even more STM32-s.

Dave did actually discuss this very aspect - and made two very significant points as to why a separate LCD driver was beneficial...

The first was that you could place the micro and the LCD driver wherever was optimal for each on the PCB and you only had 3 traces for SPI to route between them.  The second was the cost for two separate chips against that for an integrated unit.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37661
  • Country: au
    • EEVblog
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #11 on: April 15, 2018, 04:08:14 am »
Does the DC driven LCD still works?

Yes.
Likely impossible to say if any "damage" has been done though.
 

Offline Harb

  • Regular Contributor
  • *
  • Posts: 244
  • Country: au
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #12 on: April 15, 2018, 05:52:57 am »
Can you let us Know who you are using for this Dave (LCD manufacturer)......I have a little job I need doing and these guys seem good to deal with...... also will they copy existing LCD screens? I have a heap of the same gear all with bleeding displays that are no longer supported......?


 

Offline mk8038

  • Newbie
  • Posts: 3
  • Country: pl
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #13 on: April 15, 2018, 11:22:11 am »
Mr Jones,

Several months ago I tinkered a bit with HOLTEK HT1621.
I encountered some "traps for young-players" I would like to make you aware of:
1. Clock speed - in case of 3V3 operation, the clock speed must be reduced below 150kHz in WRITE mode and below 75kHz in READ mode, otherwise the driver chip remains unresponsive.
2. Writing a command code requires 13-bits long word to be sent to the chip and in block write mode a 9-bits long command/address word needs to be sent prior the data. This may render SPI module in your system controller useless for this task and may force you to write an appropriate bit-banging code (which happened in my case).
Hope this will shorten your "time to public"
Apart of these, HT162x is an excellent choice and it is cheap as a dirt and that prevails.

 
The following users thanked this post: EEVblog, thm_w, CrosseyeJack

Offline Cliff Matthews

  • Supporter
  • ****
  • Posts: 1910
  • Country: ca
    • General Repair and Support
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #14 on: April 15, 2018, 12:35:56 pm »
Can you let us Know who you are using for this Dave (LCD manufacturer)......I have a little job I need doing and these guys seem good to deal with...... also will they copy existing LCD screens? I have a heap of the same gear all with bleeding displays that are no longer supported......?
Harb, check back in Part 1 - Episode 1055 (How to Design a Custom LCD)
here, he didn't want to recommend anyone just yet.. but he shows us how easy it is  :-+
 

Offline Harb

  • Regular Contributor
  • *
  • Posts: 244
  • Country: au
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #15 on: April 15, 2018, 01:44:49 pm »
No worries Cliff........

I have a stack of Radio Gear in big pile, that all have bleeding displays, which make them all completely useless......probably 20 of them, and I know there are many more across the globe that suffered the same fate......this may be an option to fix these no longer supported bits of gear.
 

Offline Arek_R

  • Regular Contributor
  • *
  • Posts: 76
  • Country: gb
  • Polish guy living in the UK
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #16 on: April 15, 2018, 06:05:46 pm »
this may be an option to fix these no longer supported bits of gear.
I wonder why no one made replacement LCD displays for all that agilent gear with VFD displays yet, currently you have to pay like $70+ to get one from remaining old stock.
People would be ok to pay like up to $30 for this, where display would cost about $3 to maufacture + $2 some DC/DC converter for backlight.
 

Offline jquinchi

  • Newbie
  • Posts: 1
  • Country: co
Re: EEVblog #1074 - Custom LCD Design - Part 2
« Reply #17 on: June 20, 2018, 09:28:12 pm »
Hi.

I've designed a custom lcd, recently, too. It uses the HT1621 controller, I've created all the libraries to control it from a microcontroller, but apparently every time I load the data it remember only the last common enabled. Later it fades away.

Is there any setup in the controller that I'm missing?

Any idea?

Thanks in advance.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf