Author Topic: Segmented LCD Driver HT1622/HT1621  (Read 2505 times)

0 Members and 1 Guest are viewing this topic.

Offline Sultanpepper123Topic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: eg
Segmented LCD Driver HT1622/HT1621
« on: October 08, 2019, 08:19:27 pm »
I've been leaning working on using and interfacing a microcontroller with an HT1622 + a custom segmented LCD. IMO the datasheet of the IC is very small and left me confused ; is the interface SPI ? UART ? GPIO and PWM (manually) ? . I've searched alot and found several tutorials and github libraries and they seem to not use the SPI feature.

So far (DATA) is MOSI  , CS is "CS" , WR is SCLK and RD is MISO ?  :-\

 Any helpful advice/thoughts would make a world of difference. Thanks in advance.



Note : I've included some of my findings, hopefully someone might add in the missing pieces.

 1. Datasheet http://file.yizimg.com/332467/2009070510405297.pdf
 2. Arduino Uno example code https://github.com/kuwatay/Arduino/blob/master/Segment_LCD_HT1621/Segment_LCD_HT1621.ino
 3. Arduino tutorial for a chinese HT1621+LCD module http://arduinolearning.com/code/ht1621-6-digit-7-segment-display-example.php
 4. Another Tutorial on module https://www.instructables.com/id/How-to-Wire-the-6-Digit-7-Segment-24-Inch-Ht1621-L/


 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: Segmented LCD Driver HT1622/HT1621
« Reply #1 on: October 08, 2019, 08:30:42 pm »
It's a kind of synchronous serial but rely on RD and WR signals, also you need to handle when is data and when is comand,


This data sheet is very clear

https://www.holtek.com/documents/10179/116711/HT1622v270.pdf
 
The following users thanked this post: Sultanpepper123

Offline Sultanpepper123Topic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: eg
Re: Segmented LCD Driver HT1622/HT1621
« Reply #2 on: October 09, 2019, 06:13:59 am »
It's a kind of synchronous serial but rely on RD and WR signals, also you need to handle when is data and when is comand,


This data sheet is very clear

https://www.holtek.com/documents/10179/116711/HT1622v270.pdf
So its not SPI ? bitbanged IO implementation ?
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3240
  • Country: gb
Re: Segmented LCD Driver HT1622/HT1621
« Reply #3 on: October 09, 2019, 11:18:11 am »
It's a kind of synchronous serial but rely on RD and WR signals, also you need to handle when is data and when is comand,


This data sheet is very clear

https://www.holtek.com/documents/10179/116711/HT1622v270.pdf
So its not SPI ? bitbanged IO implementation ?

Looks like you'll have to bit bang it.  It's somewhat SPI-like but has separate clocks for reading and writing with a common data line.  Pretty stinky tbh.
 
The following users thanked this post: Sultanpepper123


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf