This is another illustration how to wire the HT621 driven 6 Digit 7 Segment LCD Display on Microcontroller. This module is widely used in multi-meter, voltage monitor, solar power monitor, clock, thermometer, electronic measuring device, automotive, etc. this module is compatible in your favorite Microcontroller using 3 wire SPI communication and it has a backlight suitable in dark environment. This module runs on 4.7~5.2V DC 0.4mA without back-light and 4mA with back-light.

Required Components

  • Arduino Microcontroller, ESP8266 12, 12E, ESP8266 NodeMCU, ESPDuino, WeMos, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY85 16/8 MHz (Note: The Diagram below is using NANO. If your using other MCU please refer to the respective pin-outs
  • 6 Digit 7 Segment 2.4 Inch LCD Display Module
  • Jumper Wires / DuPont Wire

Wiring Guide

Source Code

 

Wiring the 6 Digit 7 Segment 2.4 Inch HT1621 LCD Display Module on Microcontroller
Facebooktwitterredditpinterestmail
Tagged on:             

JLCPCBPCBgogoPCBway4pcb

13 thoughts on “Wiring the 6 Digit 7 Segment 2.4 Inch HT1621 LCD Display Module on Microcontroller

  • at
    Permalink

    Greetings!
    I have a Display of this but it is with 5 digits and I would like to do something, like a clock but I do not have enough knowledge; I would like some code and / or some help; Thank you

    Reply
    • at
      Permalink

      Hi Daniel,

      Just look for the matrix address on each segment. for example if it is 5 digital you just going to change char to display to 5 digit. see below example. look also the datasheet of your LCD for your reference because each device has its own address and mapping, depends on the manufacturer.
      Change this to 5 digit >>c har dispnum[5]={0x00,0x00,0x00,0x00,0x00};

      Reply
      • at
        Permalink

        OK friend! I’ll try; I would like a clock code with arduino but thanks for the reply!

        Reply
      • at
        Permalink

        Greetings friend!
        I did as you told me, but all I can see on the Display is only a Segment (risk) in one of the Digits; Could you give me more tips?
        I would like to use this Display to show the Time but I do not have enough knowledge!

        Thank you very much

        Reply
  • at
    Permalink

    Yes Enrico! That way it worked with this code but, and to make a simple clock with the flashing dots like I would? Thank you

    Reply
  • at
    Permalink

    Hello how can we turn down the LED brightness? It is way to bright.

    Reply
  • at
    Permalink

    Hello,
    I am using the HT1621B with a plain glass LCD, 3.5 Digit. This display had only 1 COM , whereas the HT1621 had provision for 4 COMs. Can you suggest what Init parameters would be suitable ?
    #define RCosc 0x30 //1000 0011 0000
    I dont know if this is an error, but as per datasheet for internal OSC it should be 0x18
    Cheers !!

    Reply

Leave a Reply to 14core Editor Cancel reply

Your email address will not be published. Required fields are marked *