Hi, I have a Teensy 3.5 and will be using it to create a simple button box for sim-racing, with about 23 buttons and 4 rotary encoders.
And I also want to use 8 LED lights:
1 of this type: https://www.banggood.com/19mm-Water...2V-p-1181088.html?ID=6287842&cur_warehouse=CN
2 of this type: https://www.banggood.com/19mm-12V-5...Switch-p-1161648.html?ID=229&cur_warehouse=CN
5 of this type: https://www.ebay.com/itm/Diffused-G...hash=item23c0ab1d90:m:m1xgqKNgPw7deAsc6rmJzeA
Each LED will get its own IO-pin and a 150 ohm resistor (except the 12 V LEDs which I assume don't need resistors?), and 4 of the LED will be connected to one GND pin while 4 will be connected to a different ground pin (does it matter if I split them on two GND pins though?).
Here is an approximate schematic.
I have already tested those 12 V (car type) LEDs and they do light up fine. In the description of similar buttons on ebay it says they can be used in both low voltage and high voltage circuits, so I assume the same goes for those buttons on Banggood. I have no idea how many amps they draw though. The 5 "normal" 5mm LEDs are 20mA and 1.8–3.6 volt.
Do you think I'll be able to use all those LEDs without issues? I just want to make sure I don't damage my Teensy 3.5.
And I also want to use 8 LED lights:
1 of this type: https://www.banggood.com/19mm-Water...2V-p-1181088.html?ID=6287842&cur_warehouse=CN
2 of this type: https://www.banggood.com/19mm-12V-5...Switch-p-1161648.html?ID=229&cur_warehouse=CN
5 of this type: https://www.ebay.com/itm/Diffused-G...hash=item23c0ab1d90:m:m1xgqKNgPw7deAsc6rmJzeA
Each LED will get its own IO-pin and a 150 ohm resistor (except the 12 V LEDs which I assume don't need resistors?), and 4 of the LED will be connected to one GND pin while 4 will be connected to a different ground pin (does it matter if I split them on two GND pins though?).
Here is an approximate schematic.
I have already tested those 12 V (car type) LEDs and they do light up fine. In the description of similar buttons on ebay it says they can be used in both low voltage and high voltage circuits, so I assume the same goes for those buttons on Banggood. I have no idea how many amps they draw though. The 5 "normal" 5mm LEDs are 20mA and 1.8–3.6 volt.
Do you think I'll be able to use all those LEDs without issues? I just want to make sure I don't damage my Teensy 3.5.