Main Site Documentation

Driving Holtek HT1632 chip


#1

May be someone is interested to drive HT1632 chip from HOLTEK, very nice ic capable of matrix led driving.
The code is quite long to put here becouse it includes also a character generator for text display.

This is the base code to write serial data to chip:


...
        void HT1632_writebits(byte bits, byte firstbit)
        {
            while (firstbit != 0)
            {
                pin_WR.Write(false); // = LOW;
                if ((bits & firstbit) != 0)
                {
                    pin_DATA.Write(true); // = HIGH;
                }
                else
                {
                    pin_DATA.Write(false); // = LOW;
                }
 
                pin_WR.Write(true); //= HIGH;
                firstbit >>= 1;
 
            }
        }
...

For entire code I’ll wait reopening of code section.


#2

very cool,
thanks for sharing…


#3

Nice!

Now you need to make a video with some animated text ;D


#4

Look at here … this other panel has 4 Holtek chip, 4x8 modules 32x64 bicolor leds (red, green, red+green = orange). Totally it drains 1.5A at 5V … :smiley: :smiley:
I’m writing graphic functions for this one, but need some more time and some more dc power.

Probably I will need IOP64 board …


#5

The code is on Codeshare now, with complete project.


#6

great, thanks