lamal
November 7, 2018, 2:43am
1
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.
Paul_B
November 7, 2018, 7:01am
2
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 I2 C bus.
Not sure about your starburst displays.
Rintin
November 7, 2018, 8:07am
3
Paul__B:
Apparently you can only use one HT16K33 on an I2 C 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.
Paul_B
November 7, 2018, 10:49am
4
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? )
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.