[FrontPage] [TitleIndex] [WordIndex

Red/Orange 4-Section Alpha-Numeric LED Display with I2C Interface

(HT16K33 module based)

undercon.png

As Supplied:

P1090715rcs.JPG

P1090718rcs.JPG

Post-Assembly & I2C Addr Setting:

P1090741cs.JPG

P1090740cs.JPG

pi@raspiP4B4a-32GbSP:~/pi_tools_etc/i2c_spi_chips-0.0 $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- 76 --                         

Early Tests:

Program "Self-help":

pi@raspiP4B4a-32GbSP:~/pi_tools_etc/i2c_spi_chips-0.0 $ ./src/i2c_ledx_demo
i2c_ledx_demo.c Version 0.02 {Exp}, [04/01/2020], (c) F_Trevor_Gowen
                <--| Package i2c_spi_chips_0.0 |-->
Usage i2c_ledx_demo  [Options]
Options: -a arg_filename[.arg],
         -E      {Echo command-line arguments},
         -I      {Inquire about i2c devices},
         -MX08   {using 0.8in led MatriX module (default)},
         -MX12   {using 1.2in led MatriX module},
         -MXKY   {using KeYestudio 1.2in led MatriX module},
         -MX4AND {using a 4 Alpha-Numeric Digit'MatriX' module},
         -BIT    {Blink Initialisation Test},
         -C4D    {Clear 4 alpha-numeric Digit display**},
         -DIT    {Dimming Initialisation Test},
         -FIT    {Full Initialisation Test},
         -F8x8   {use 8x8 Font - default},
         -F8x5R  {use Rotated 8x5 Font (PCD8544 font)},
         -F8x8JR {use Rotated 8x8 Font (Jupiter ACE font)},
         -FT1    {Font Test #1},
         -FT2    {Font Test #2},
         -FT3    {Font Test #3},
         -QIT    {Quick Initialisation Test},
         -QCT    {Quick font Conversion Test},
         -QDT    {Quick alpha-numeric Digit Test**},
         -S      {use System call methods - default},
         -W      {use Wiring pi i2c methods},
         -PGD    {use PiGpioD i2c methods^^},
                 {^^NB: requires a running pigpio daemon!},
         -X      {eXecute demonstration}.
                 {** implies -MX4AND}

Full Initialisation Test

pi@raspiP4B4a-32GbSP:~/pi_tools_etc/i2c_spi_chips-0.0 $ ./src/i2c_ledx_demo -MX4AND -FIT -X
i2c_ledx_demo.c Version 0.02 {Exp}, [04/01/2020], (c) F_Trevor_Gowen
                <--| Package i2c_spi_chips_0.0 |-->
<i2c_ledx_demo.arg>     fopen: No such file or directory
i2c_ledx_demo.arg not found
ht16k33 chip status:
ADDR 76
CONF 00
DDAP 00
DDCB ff
SSR  21
RISR a0
DSPR 81
DMSR e7
NAME 4AlphaNumDigitMatrix
CRFONT 00000001
       01111110
       10100100
       00100100
       00100100
       00100100
       01000010
       00000000
CCFONT 00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
Using 'C' system call-based methods: ...

P1090719rrgrcs.JPG

Quick alpha-numeric Digit Test

pi@raspiP4B4a-32GbSP:~/pi_tools_etc/i2c_spi_chips-0.0 $ ./src/i2c_ledx_demo -QDT -X
i2c_ledx_demo.c Version 0.02 {Exp}, [04/01/2020], (c) F_Trevor_Gowen
                <--| Package i2c_spi_chips_0.0 |-->
<i2c_ledx_demo.arg>     fopen: No such file or directory
i2c_ledx_demo.arg not found
ht16k33 chip status:
ADDR 76
CONF 00
DDAP 00
DDCB ff
SSR  21
RISR a0
DSPR 81
DMSR e7
NAME 4AlphaNumDigitMatrix
CRFONT 00000001
       01111110
       10100100
       00100100
       00100100
       00100100
       01000010
       00000000
CCFONT 00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
two5421 display status:
Numeric...
SEGS0 3f @00
SEGS1 06 @02
SEGS2 db @04
SEGS3 cf @06
Alpha...
SEGS0 0c @01
SEGS1 15 @03
SEGS2 2a @05
SEGS3 2d @07
Using 'C' system call-based methods: ...
ht16k33 chip status:
ADDR 76
CONF 00
DDAP 07
DDCB 00
SSR  21
RISR a0
DSPR 81
DMSR e7
NAME 4AlphaNumDigitMatrix
CRFONT 00000001
       01111110
       10100100
       00100100
       00100100
       00100100
       01000010
       00000000
CCFONT 00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
       00000000
two5421 display status:
Numeric...
SEGS0 3f @00
SEGS1 06 @02
SEGS2 db @04
SEGS3 cf @06
Alpha...
SEGS0 0c @01
SEGS1 04 @03
SEGS2 00 @05
SEGS3 00 @07

P1090721rrgrcs.JPG

P1090742rrrcs.JPG

P1090748rrcs.JPG

P1090749rrcs.JPG

P1090750rrrcs.JPG

P1090751rrcs.JPG

P1090752rrrcs.JPG

P1090763rrrcs.JPG

P1090753rrrcs.JPG

P1090754rrrcs.JPG



2020-04-30 17:34