LCD Module in 4-bit Mode


Posted on Feb 7, 2014

In many projects use is made of alphanumeric LCDs that are driven internally by Hitachi`s industry-standard HD44780 controller. These displays can be driven either in 4-bit or 8-bit mode. In the first case only the high nibble (D4 to D7) of the display`s data bus is used. The four unused connections still deserve some closer attention. The data li


LCD Module in 4-bit Mode
Click here to download the full size of the above Circuit.

nes can be used as either inputs or outputs for the display. It is well known that an unloaded output isne, but that a‚oating high-impedance input can cause problems. So what should you do with the four unused data lines when the display is used in 4-bit mode This question arose when a circuit was submitted to us where D0-D3 where tied directly to GND (the same applies if it was to +5 V) to stop the problem of‚oating inputs. The LCD module was driven directly by a microcontroller, which was on a development board for testing various programs and I/O functions. There was a switch present for turning off the enable of the display when it wasn`t being used, but this could be forgotten during some experiments. When the R/Wline of the display is permanently tied to GND (data only goes from the microcontroller to the display) then the remaining lines can safely be connected to the supply (+ve or GND). In this application however, the R/Wline was also controlled by the microcontroller. When the display is initialised correctly then nothing much should go wrong. The data sheet for the HD44780 is not very clear as to what happens with the low nibble during initialisation. After the power-on reset the display will always be in 8-bit mode. A simple experiment (see the accompanying circuit) reveals that it is safer to use pull-down resistors to GND for the four low data lines. The data lines of the display are congured as outputs in...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    LED Dice II
    High Voltage Pulse Generator Electronic Circuit
    Simple Emergency Lamp
    Charging capacitor bank with current limiting circuit
    markII
    hv dc dc converter
    adjustable current limit for dual power
    phone hold circuit
    NTSC RGB Cable Schematic
    why doesnt this circuit oscillate
    Multicolor HD LED
    Intelligent fire alarm telephone alarm circuit - finger circuit



    Top