How many UNO and ht16k33 i need for my project

Hello,

My project need to have the follow buttons, 14 segment displays and pot, etc..

  • 30 x buttons
  • 3 x Pots
  • 5 x (4 x 14 segment displays)(Common Cathode)
  • 3 x (1x 14 segment displays) (Common Cathode)
  • 7 x 8 segment display

How many UNO and ht16k33 i need for my project?

thx for reading this post, appreciate for any helps.

lamal:
How many UNO and ht16k33 i need for my project?

UNOs? None! Zero. Zip. Unsuitable for serious projects.

Use one Nano which can be put in a breadboard or with the pins not fitted, soldered directly to your wiring, or mounted on your own custom PCB. Also has a full eight analog inputs, more than you need it seems.

Apparently you can only use one HT16K33 on an I2C bus.

Not sure about your starburst displays.

Paul__B:
Apparently you can only use one HT16K33 on an I2C bus.

Please take a look at https://cdn-shop.adafruit.com/datasheets/ht16K33v110.pdf "Slave Addressing"
The chip has 3 address-pins -> you can use 8 of them on one I2C-port.

But only if you are using the 28-pin version - which conveniently Adafruit does.

(Mind you, who would want to use the 20 or 24-pin versions anyway? :astonished: )

30 Buttons
from the Datasheet:
A configuration example is shown below. In this configuration, 1 to 39 ON switches can be
recognised.

--> one HT16K33

5 x 4 x 14 = 280
3 x 1 x 14 =  42
7 x 8 =       56
           -----
            376 LEDs around 3 Chips

but to make things easier

I would use one COM for each Module

5 * 4 + 3 = 23 COM's needed ... gives you

23/8= 3 Chips for the 14 segments

1 One for the single 8 Segment

in total (with the keys) 5 Chips.

3 pots on the ADCs
2 ports for I2C

if you are happy with the RAM of a UNO ... go for it.

To be more serious ... start programming with two HT16 ... one for some 14segments and one for buttons ... and then check your RAM consumption.