Anyone has any experience with HT1632C LED display drivers?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Hi

    Have a look here http://www.picbasic.co.uk/forum/showthread.php?t=11871

    I played with Sure modules way back - late 2000s and used 2 modules to make a nice large clock and where the digits change by scrolling upwards with the new one scrolling in from the bottom.

    It took a while to design the dot matrix data for the characters and for doing the vertical scroll.

    But it all started from the above link.

    I see the chip is EOL. But modules are still available on Ebay though not the Sure ones I used, but as the current Ebay modules use the same chip and control lines, the code should work.

    I will have a look for my old early codes (not well documented!) and perhaps post one, it will be a few days !!

  2. #2
    Join Date
    Feb 2013
    Posts
    1,156


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Thanks!
    Chip might be EOL, but it's clones are still widely made.
    The main reason I want to use it, that I have some compact 8x8 led dot matrix modules (2mm dot pitch) and I want to make 32x8 array from them. If I use MAX7219, the IC itself is larger than the dot matrix module, so PCB tracing will be harder, and also it will occupy more space, so I decided to seek an alternative.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Here is test code - it just counts 0 - 9 in clock type format wth colon between 2nd and 3rd digit.
    eg 55:55 66:66 etc

    I have ordered a display module from Ebay - so will see if current code works. Delivery probably a few weeks though.

    Code:
    '****************************************************************
    '*  Name    : 0832test.bas                                      *
    '*  Author  : aerostar                                          *
    '*  Notice  : Copyright (c) 2021 [select VIEW...EDITOR OPTIONS] *
    '*          : All Rights Reserved                               *
    '*  Date    : 04/01/2021                                        *
    '*  Version : 1.0                                               *
    '*  Notes   :                                                   *
    '*          :                                                   *
    '****************************************************************
    '****************************************************************
    
    '****************************************************************
    
    'Sure electronics module 0832 led matrix
    '
    'connect RD on module to +5v
    'connect OSC on module to GND
    
    'Sure electronics module 0832 led matrix
    '
    
    
                'displays XX:XX  COUNTING 0 TO 9
    
             DEFINE OSC 20	
    @ device PIC16F628A,HS_OSC,BOD_ON,MCLR_ON 
    
    TRISA = 0
    TRISB = 0
    
                   'change your ports to suit
    
    CS var PORTB.7		'Connect this to CS1 (set dip switchs to 1 = on 2/3/4 = off)
    WR var PORTA.4		'connect this to wr ACTUALLY CLOCK BUT HOLTEK CALL IT WR
    DATALINE var PORTA.1	'connect this to DATA
    
    'connect RD on module to +5v
    'connect OSC on module to GND
    				
    
    ALOOP    VAR BYTE
    COUNTER	var	byte
    ADDRESS	var	byte
    COMD	var	byte
    ENDBIT	var	bit
    CHARACTERS	var	byte [5]
    SENDDOTS	var	byte
    NUMBER VAR BYTE
    
    
    ' NUMBERS 0 TO 9  COLUMNS
    data @0, %00000000,%01111100,%10001010,%10010010,%10100010,%01111100,%00000000,%00000000
    data @8, %00000000,%00100010,%01000010,%11111110,%00000010,%00000010,%00000000,%00000000
    DATA @16,%00000000,%01000010,%10000110,%10001010,%10010010,%01100010,%00000000,%00000000
    DATA @24,%00000000,%10000100,%10000010,%10100010,%10110010,%11001100,%00000000,%00000000
    DATA @32,%00000000,%00011000,%00101000,%01001000,%11111110,%00001000,%00000000,%00000000
    DATA @40,%00000000,%11110100,%10100010,%10100010,%10100010,%10011100,%00000000,%00000000
    DATA @48,%00000000,%01111100,%10010010,%10010010,%10010010,%01001100,%00000000,%00000000
    DATA @56,%00000000,%10000110,%10001000,%10010000,%10100000,%11000000,%00000000,%00000000
    DATA @64,%00000000,%01101100,%10010010,%10010010,%10010010,%01101100,%00000000,%00000000
    DATA @72,%00000000,%01100100,%10010010,%10010010,%10010010,%01111100,%00000000,%00000000
    
    
    CLEAR
    
     CMCON=7
    
    
    
    PAUSE 500
    
    '---------------- SENDS COMMANDS-------------------------------------
    
    
    COMD = %00000100	'Comand mode
    ADDRESS = %00000001	'osc on
    GOSUB COMANDSEND
    ADDRESS = %00000011	'led on
    GOSUB comandsend
    ADDRESS = %10101111	'pwm 16/16
    GOSUB comandsend
    ADDRESS = %00011000	'RC int clk sourse on
    GOSUB comandsend
    
    
    '---------- SENDS IMAGE DATA TO DISPLAY-----------------------------
    
    COMD = %00000101	'Data Mode
    NUMBER=0             'SET NUMBER TO 0
    
    SHOWNUMBERS:
    
        ADDRESS = 0      'DIG 1 0, DIG2 16, DIG3 32, DIG4 48
        FOR ALOOP =0 TO 3     ' 4 DIGITS
    
        FOR COUNTER = 0 TO 7    ' NUMBER OF COLUMNS  PER DIGIT
    
        read (NUMBER*8)+COUNTER,SENDDOTS
        IF ALOOP=1 AND COUNTER = 7 THEN
        SENDDOTS=%00101000 'COLON IN COLUMN 7
        ENDIF
        
     	GOSUB DATASEND 
    	ADDRESS = ADDRESS + 2     ' ADRESS INCREMENTS BY 2 EACH COLUMN
        NEXT COUNTER         
        NEXT
    
    
        PAUSE   1000
        NUMBER=NUMBER+1
        IF NUMBER =10 THEN
        NUMBER=0
        ENDIF
        GOTO SHOWNUMBERS
    
    
    
    
    '----------------- sends infomation to display ----------------------
    DATASEND:
    
    	LOW CS
    	SHIFTOUT DATALINE,wr,1,[COMD\3]		'send lower 3 bits of COMD byte
    	SHIFTOUT DATALINE,wr,1,[ADDRESS\7]	'send lower 7 bits of adress byte
    	SHIFTOUT DATALINE,wr,1,[SENDDOTS]		'send led data
    	HIGH CS
        RETURN
    
    COMANDSEND:
    
    	LOW CS
    	SHIFTOUT DATALINE,wr,1,[COMD\3]		'send lower 3 bits of COMD byte
    	SHIFTOUT DATALINE,wr,1,[ADDRESS]	'send command byte
    	SHIFTOUT DATALINE,wr,1,[ENDBIT\1]	'send 1 ENDBIT
    	HIGH CS
        RETURN
    
    END

  4. #4
    Join Date
    Feb 2013
    Posts
    1,156


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Thanks!
    I also ordered it, see who's will arrive faster

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Mine arrived 30mins ago Jan 16th about 10:00 UK time, - connector pins a bit bent, although packing was good. Here it is running with the code above



    You will only be able to use the link above as it is unlisted.

    Works without a connection to RD pin, SYNC and COS pads

    Also looks much better with red filter in front
    Last edited by aerostar; - 16th January 2021 at 11:57.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Anyone has any experience with HT1632C LED display drivers?

    Forgot to mention the Ebay item number for anyone interested (Other suppliers are available)


    eBay item number:
    401111914275

Similar Threads

  1. HT1632C 32X8 & 24X16 Dot Matrix Driver
    By Mucit23 in forum General
    Replies: 0
    Last Post: - 11th November 2011, 21:47
  2. 16-Channel LED Drivers
    By Sponge Bob in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 16th February 2009, 05:48
  3. 64 led display problems
    By battousai923 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 29th November 2007, 10:19
  4. DMX512 and PWM LED Drivers
    By Bronx68 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th September 2007, 05:53
  5. Replies: 0
    Last Post: - 4th September 2007, 19:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts