Posted by: pasanlaksiri | February 18, 2010

HT1632 successfully interfaced with PIC MCU


I successfully interfaced HT1632 chip with PIC mcu today. The data sheet does not contains that much literature. Because of that interfacing this module makes little harder.

Pics

youtube video link http://www.youtube.com/watch?v=3dAQV2urDHQ

Some of the blurb:

2416 Dot Matrix Red Display Information Boards is manufactured by Sure Electronics. It can be driven by SPI like interface. It can be easy interfaced to any microcontrollers. It can be widely used in panel meter, big clocks and any other information display usage.
It’s a memory mapping LED display board and driven by HT1632 LED display controller. The device supports 16-gradation LEDs for each outline using PWM control with software instructions. A serial interface is conveniently provided for the command mode and data mode. Only three or four signals are required for the interface between the host controller and the information board. The display can be extended by cascading the information board for wider applications.

Main Feature

* Size: 4inch×2.5inch display area.
* 2416 dot matrix on each board.
* LED emitting color is Red.
* Operating voltage and current: 5V, 350mA (Max.), 200mA(Avg.)
* 16-level PWM brightness control.
* Each board contains 6 pieces of 0808 LED dot matrix boards.
* Serial MCU interface—-CS, RD*(optional), WR, DATA.
* Cascading function for extended applications (up to 4 boards possible).
* Power can be supplied and command data can be transmitted by IDC sockets from microcontrollers.
* Auxiliary power supply terminal blocks may be needed when connected to next LED matrix board.

Sure Electronics Link >> http://www.sureelectronics.net/goods.php?id=979


Responses

  1. Hi,

    I search pic examples to use two HT1632 because it’s ok for one but nothing on second ?

    Sincerely
    Eric

    • I am sure you haven’t select the second one properly.

      • Hi
        tel me hoe to inetrface8051+ht1632c

      • Hmm I don’t know much about 8051s. But ht1632c is just a simple serial interface. So just look at my code for pics and then try to convert it to 8051.

    • Can I have a copy please… I’ve been trying for a few days and would appreciate the start-off.. I’m going to make an airhockey game using these panels I hope. 16f723 or 877a.

      tq
      Neal

      • Okay check your mails. I have used 877a. so it will be easy for you to convert my code to your job.

  2. What PIC do you use?

  3. Hi, I have this LED display too, but i’m not able to make the display to work, could you send me the code of the proyect you made?, it would be very helpful.

    Thanks! :D

    • Sure. At the moment I am logged on using my notebook. I’ll send it to you later. bye.

    • Check your mails. Hope you get some idea how to use the display

  4. Hi there!

    I would love to get a copy from the code too..
    I am trying to get some light out of those boards.

    • Please check your mails. Code sent out.

  5. Hi,
    I buy HT1632 display board from sure electronic. I m usint atmel controller to drive this pcb but I am totally stuck. Could you please guide me after initilization of HT1632 display driver and i have enter all the data but there is no display. Data sheet has not enough information. Is there any refesh data time. Please help me I shall be very thankful to you.
    Best Regards
    Abdul

    • I have sent you the code. Please check your mails.

  6. Hi,

    At first, congratulations about your blog and your projects.
    There are great projects and I would like knowing to do some
    kinf of stuff … perhaps in a few years !!

    I’m a french hobbyist in electronics.
    I bought some LED matrix from Sure Electronics (0832 & 2416)
    a few weeks ago. I’m using PIC16F/18F MCUs and HITECH PICC
    compiler.
    But I can’t do anything on these displays. The HT1632 datasheet
    doesn’t seem very clear.

    I found a project on your blog with Sure Electronics Matrix and
    a PIC (which ?).
    I would be very cool if you could help me by sending some
    information like your source code and your schematic.

    Thanks a lot,

    Mike.

    • Thank your for the Comment mike.

      ” perhaps in a few years !” In few years you will be a master.

      Check your mails I sent the code. But I haven’t drawn any schamatics.
      Look at the HT data sheet and try to understand the code.

      But yor comment sounds like you are a beginner.
      So I think your going to start it from the wrong place.
      First do some classic LED on off testings. Read some e-books and
      do some google.

      • Dear Sir,
        I wonder if I might ask for a copy of your code for the PIC and HT1632 interface,

        I have seen code for arduino but would just like a kickstart with an pic ’887.

        Many regards
        markhodsman1301@googlemail.com

  7. I have a 24×16 led dit matrix by Sure Electronics but I am unable to make it work. Can you send me the code please? Thnx in advance.

  8. Thanks a lot man!

  9. i have using ic ht1632c for dot matrix 8*8 led display for atmel ic 89s52.
    i need c code for driving ht1632c with 89s52

    • can you send me a code please…

  10. hi, can you help me with code for an 16F628 ?
    thank you in advance, and congratulations for all you projects !

    • I have sent you the code for 877A. So you easily can adopt it to 628.

  11. Please send me PIC and HT1632C interface code using SPI commuication Thanks
    Dinesh
    dineshtamil24@yahoo.com

    • K. Check your mails now.

      • Thanks for your Reply….I will cantact soon…

      • You’re Welcome

    • I have completed the interface between HT and 8051 (16*24).But all led’s are not glowing.Please send me hardware Circuit based on your PIC development program. How much current is require for the all(384) LED .s glowing….
      dineshtamil24@yahoo.com.

      • I have completed the interface between HT and 8051 (16*24).But all led’s are not glowing.Please send me hardware Circuit based on your PIC development program. How much current is require for the all(384) LED .s glowing….

        dineshtamil24@yahoo.com.

        Please reply as soon as possible

      • Dineshkumar.M : But all led’s are not glowing.

        You are using the LED module or u have built one for your self using HT1632. If you do check the hardware first. If your using the prebuilt module then I am pretty sure double check your program.
        If you interface it successfully then it must work. As you know its a ram mapping LED driver. Each LED represent a bit of a internal ram. So how do you say when u set a bit LEDs are not glowing. It must work. Please check again your protocol.

      • thanks for your reply and support.

        I have one doubt..COM0-R0-…..R24 working properly.but COM1….Com15 is not working.Address is incrementing properly.That means The Ram data are not incrementing…Please guide me
        Thanks in Advance

        regards
        Dinesh

  12. Can you please send me the code for 877a?
    tyvm!

  13. Hi!

    Please send me PIC and HT1632C too.

    Thanks!

  14. Can you send me the code as-well. I tried reading the datasheets. But there is not much information given. I am trying to code for last 15 days but not able to glow a single led. I am writing code in avr-studio. But your pic code will do for me. As I will convert it. Kindly help me. My is as follow:
    dudedevil100@gmail.com

    Regards,
    Pratik

    • Hello Pratik,

      Yeah you simply can adopted my code to AVR. Plz check your mail inbox. Happy to help some one like you. :) Bye

      Pasan.

  15. I got the code. Thanks. I will check the sure-electronic board working and will post my queries .

    Regards,
    Pratik .R. Bhagat

  16. Hi,
    I converted the code to avr32 using avr-studio. Now my problem is I need to turn on both cs1 and cs2 dip switches of the sure-elec-board. And only 8×24 upper half portion leds are lighting up.

    • Your sending data separately to both modules or both connected as a chain. Check your dip config again.

  17. Thanks for your reply and support.

    My doubt is, COM0 – R0 ….R24 is working good.but COM1…COM15 is not working properly.Address is incrementing (ROW)properly but data(COM) is not incrementing properly.Please guide me
    Thanks in advance.

    Regards
    Dinesh

  18. hye there!..

    I am interested in your project. I am a university student and I am conducting my project “led moving display 5×7 size with speed controller”. i see one of your project in youtube “YouTube – LED MATRIX Test 3″..Can you help me, because I have the circuit diagram and it’s hard to understand. my speed controller not working and the output is not as I expected. Can you guide me by giving circiut diagram one of your projects successful. what I need is a basic circuit. I strongly appreciate it.

  19. Can I get some code. Some problem with my coding. Also can we blink only one or two leds by writing on there addresses. I mean is it neccessary to write all ram address before displaying or we can write to any address and blink the led. Also pasan kindly send me commented code as I am noob in display drivers.
    Waiting for your response.

    shree

  20. Hi! pasanlaksiri, Since I have one of 8×32 de-dp105 sure led module can you send me the code?
    I would be very gratefulI !!!

    mAx

  21. Hi, could you send me the code too. I am working with Proton BASIC.. I would like to study it and adapt it for Sure0832 display module.

    regards

  22. Hi,
    Please send me your PIC/HT1632 code.

    Thanks
    George.

  23. Hi i am interfacing 12f675 with HT1621.I didn’t understand the driver datasheet could you send me your code according to that i will do.

  24. Hi, I am successfully interface the HT1632c with the LED, its working fine. The brightness of the LED’s is not quite well in the daylight. Do you know any good company for Brighter LED even in the daylight also please send me the part number and data sheet?
    Thanks in advance.

    • Hi, that LED modules does not have any power handling drivers. They just drive the LEDs directly from the chip. So the brightness is not so good.
      How about you modd the display..! U could make a new PCB using high bright LEDs with power handling drivers on board. If you do, you might be able to sell couple hundred PCBs on eBay right away. :)

  25. Hi, i am Enrique, Great work!

    could you help me? i have pic 16f628A too, but i dont understad the code to interface it with HT1632, could you send me a code example.
    Thanks and best regards

    • I can help you. But I need to see the attempts that you took to interface the chip. So I can easily correct you. And you will learn something in that way.

  26. hi i’m trying to interface ht1632 to my pic microcontroller (16f887)but i’m not able to do it
    can anyone help.

    thanks,

  27. Hi, I tried to use the sure electronic’s code in 18f2523 and 16f886,

    but does not display nothing, could you send me any pic code to
    make some test.

    thanks
    best reguards

  28. Hi, Can you send me the code. I tried reading the datasheets. But there is not much information given. I am trying to code but not able to glow a single led. :(

    Thanks!!

  29. Hi,
    I tried to improve the brightness of the through the drivers as suggested on the HT1632c datasheet but still the brightness is not well.
    1) Can you please suggest me the High power driver circuit also send the circuit or suggest any drivers?
    2) I am trying to control the PWM but by default its taking only one value. How to control it?

    Thanks in advance

  30. Hi,
    I tried to increase the brightness of the LED using the drivers as suggested in the HT1632c datasheet but the its not increased.
    1) Could you please send the high power drivers to make LED brighter
    2) Unable to control PWM, constantly its taking only one value.
    How to get rid of this?

    Thanx in advance

    • Hi,

      1) I’ll check it and get back to you.
      2) Hmm what u mean by unable to control PWM? Even if you control the brightness is same or ?

  31. hi sir ..
    for HT 1632c external crystal oscillator hardware circuit and with software otherwise how increase HT processing speed?

    thank u!!!!!!!!!!!!!!!!!

  32. hi sir ..
    for HT 1632c external crystal oscillator hardware circuit and with software I’ll need because HT scrolling speed low otherwise how increase HT processing speed?

  33. Hello Sir,

    I want to interface PIC16F1937 and LED matrix from Sure Electronics (0832 & 2416). Last few days I am trying a lot but nothing happened on Display.
    Please help me . if possible send me your code for reference.

    Thanks .

  34. Hi pasanlaksiri sir,
    I had done 7×80 matrix using shift register and pic 16f887,now i had seen a wonderful ic ht1632c , I want to code with this please help.
    Please send me PIC and HT1632C interface code using SPI communication
    thanks

  35. hi sir ..
    for HT 1632c external crystal oscillator hardware circuit and with software otherwise how increase HT processing speed?

    thank u!!!!!!!!!!!!!!!!!

  36. Hi,
    How can i enable HT1632c external Clk. Is there any sequence to enable? Suggest me please.

    Thanks


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.

Join 460 other followers