I've got hold of several bare-glass T218010 LCDs and would like to drive them with a bare MCU (or, rather, an MCU plus a couple latched-output SIPO shift registers such as 74HC595). However, the only useful information I've found on the topic of driving glass-only LCDs is Atmel app-note AVR340, which describes a way of driving a 1/2-bias 4-backplane LCD with logic-level output. The problem with this is that the particular LCDs I happen to have are stated in the datasheet to be 1/3-bias, and I haven't found any useful information on direct-driving those (besides the obvious "buy a driver IC"). Which led me to wonder how big of a problem it really is.

My question, thus, is how significant sticking to the datasheet-specified driving method is and what might happen if one were to violate the specs in that respect. On top of that, any additional knowledge on LCDs, methods of driving them, pointers to useful materials, etc. would be greatly appreciated.

  • \$\begingroup\$ You need to provide the bias as dictated else there'll be a non-zero mean voltage across the segments which will result in permanent damage to the display after a while. \$\endgroup\$ Jul 7 '16 at 12:23
  • \$\begingroup\$ Have you had a chance to look at the ATmega329 et alia yet? \$\endgroup\$ Jul 7 '16 at 12:25
  • \$\begingroup\$ Have you referenced the signal levels of 1/2 and 1/3 bias LCD drivers themselves? What complexity does it take to replicate those with other devices? \$\endgroup\$ Jul 7 '16 at 13:54
  • 1
    \$\begingroup\$ @TisteAndii If I'm not mistaken, the bias fraction refers to the fraction of VCC that the backplane levels are multiples of. i.e. 1/2 bias means that you drive the LCD in steps of 1/2VCC, with levels of 0, 1/2 and 1; 1/3 bias driving uses levels 0, 1/3, 2/3 and 1. In every case the DC component must be less than about 50 mV, which is way smaller than one third of a typical 3-5V supply. It is negated in all driving modes by also driving the segments in waveforms as to bring the average difference close to zero. \$\endgroup\$ Jul 7 '16 at 19:58
  • \$\begingroup\$ @user2943160 replicating the signals would require me to organize an analog output with corresponding number of logic levels. For 1/2 bias it is quite easy to do by adding a high-resistance 1/2VCC voltage divider, grounding the pin for 0, driving it HIGH for 1×VCC and putting it into Hi-Z(input) state for 1/2×VCC (letting the divider take over). For 1/3 bias I'd have to use two pins for each backplane (for an additional 4 GPIO pins) and, possibly, organize a similar arrangement for all the segment pins (thus, 15 more pins and 30 more resistors). \$\endgroup\$ Jul 7 '16 at 20:05

You can map the commons and segments by using an old stepper motor - connect two flying leads from the motor to various connections on the lcd and twiddle the motor shaft to create a brief ac voltage. As segments become visible, you map the connections and segments onto a sheet of paper.

The data sheet for the PIC16F1939 gives the information about 1/2, 1/3 bias. Useful even if you do not use the inbuilt lcd driver peripheral in that particular mpu.

Sorry but I have no experience with Atmel mpu and whether they even contain inbuilt Lcd driver facilities. It will help to choose an mpu with an lcd driver peripheral already built in.

  • \$\begingroup\$ They do not contain any hardware driver, so I was wondering whether I could drive it with software. Thanks for the hack, anyway \$\endgroup\$ Feb 2 '18 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.