Author Topic: How to drive manually HT1621B LCD driver IC?  (Read 335 times)

0 Members and 1 Guest are viewing this topic.

Offline q12Topic starter

  • Contributor
  • Posts: 19
  • Country: ro
How to drive manually HT1621B LCD driver IC?
« on: December 20, 2024, 07:30:55 am »
 - Im trying to figure out how to drive (manually-bitbang) a HT1621B LCD driver IC. It is capable of driving multiplexed LCDs. They are very cheap, but only in smd form, which is a bit of a challenge to solder all its tiny 48 pins. See https://youtu.be/xwRXpbxjLcw  - you can skip through the movie since it's a long one. I actually managed to drive them using a special library in arduino, and they work beautifully but...I want manual drive. Why? because I can use only logic ICs like nand gates,multiplexers, FF's, etc 40 and 74 series, and also my favorite very easy to drive 12F508 PIC, and why not even an EEPROM. And I can also add custom characters or shapes or symbols.
 - I read their datasheet a couple of times and STILL, I can not decipher the real way of driving them. I also find 2 AN's (AppNotes) AN2343-Cypress and AN0468e HT162x Application Guidelines -HOLTEK. They helped a little but not completely.
 - Here is a list with all my LCD movies I made so far:  https://www.youtube.com/playlist?list=PL6NJF1kQFOAI0-AstwH5YHuOHenjLtkbS, including this HT1621B IC. Again, skip through their content since Im showing you what I tried and how high I could reach.
Thank you very much.
« Last Edit: December 20, 2024, 08:45:37 am by q12 »
 

Online xvr

  • Frequent Contributor
  • **
  • Posts: 542
  • Country: ie
    • LinkedIn
Re: How to drive manually HT1621B LCD driver IC?
« Reply #1 on: December 20, 2024, 11:51:31 am »
Quote
- I read their datasheet a couple of times and STILL, I can not decipher the real way of driving them.
Did you see timing diagrams on page 7? It is a quite clean way to interface to HT1621
 

Offline q12Topic starter

  • Contributor
  • Posts: 19
  • Country: ro
Re: How to drive manually HT1621B LCD driver IC?
« Reply #2 on: December 20, 2024, 12:05:21 pm »
Please write down what to try.
Im bitbanging using arduino uno R3 board, with direct wire links to the IC pins.

I have no idea how to resize this image, to make it smaller than this.
So this is a working setup, that is using
lcd.begin(0, 2, 3); // (cs=0, wr=2, Data=3)
where, cs=0 means that IC cs pin is linked to pin0 on arduino. , The same logic applies for the other pins.
in the arduino code + library.
Im using a test program to reassure everything is connected and working correctly.
Next is to actually find a way to bitbang this IC input pins. Those 3 mentioned.
 

Online xvr

  • Frequent Contributor
  • **
  • Posts: 542
  • Country: ie
    • LinkedIn
Re: How to drive manually HT1621B LCD driver IC?
« Reply #3 on: December 20, 2024, 12:29:04 pm »
You should look inside Arduino Library. All interfacing implemented there.

Or implement diagrams from blank page - from page 7 of datasheet.

Initial state: CS is 1, WR in 1

Write cycle:

Set CS in 0
For each bit of output:
  Set Data to desired value
  Set WR to 0
  Set WR to 1
Repeat
Set CS to 1
 

Offline q12Topic starter

  • Contributor
  • Posts: 19
  • Country: ro
Re: How to drive manually HT1621B LCD driver IC?
« Reply #4 on: December 20, 2024, 02:44:33 pm »
If it helps, these are the 5 links in the image:
//HT1621B pin = Arduino pin
//cs=0, wr=2, dt=3, rd=1,irq=4
https://forum.allaboutcircuits.com/attachments/ht1621b-pin-assignment-jpg.338524/
The red links in the image, were the easy wiring I made the first thing after I soldered the IC.
The harder links are the cyan ones that needs programming data.
 

Offline q12Topic starter

  • Contributor
  • Posts: 19
  • Country: ro
Re: How to drive manually HT1621B LCD driver IC?
« Reply #5 on: December 22, 2024, 11:31:28 am »
I managed to make it work !!!
If you want to see some awesome code and some advanced programming discussion, then check this link: https://forum.arduino.cc/t/how-to-drive-manually-ht1621b-lcd-driver-ic/1334073/54
 

Offline q12Topic starter

  • Contributor
  • Posts: 19
  • Country: ro
Re: How to drive manually HT1621B LCD driver IC?
« Reply #6 on: December 22, 2024, 10:05:44 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf