Below is the complete schematic update suggestion that incorporates 32 LED-resistor pairs arranged in a Charlieplex configuration using 7 designated I/O pins of the ATmega328. Each LED is the 0805 SMD type, and each resistor is an 0805 220Ω device. The wiring is arranged so that the resistor is placed on the side that will be driven HIGH and the LED’s cathode is connected to the pin that will be driven LOW, ensuring correct polarity.
General Purpose Thick Film Standard Power
and High-Power Chip Resistor
47 kOhms ±5% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) Automotive AEC-Q200 Thick Film
Features:
- RMCF – standard power ratings
- RMCP – high power ratings
- Nickel barrier terminations standard
- Power derating from 100% at 70ºC to zero at +155ºC
- RoHS compliant, REACH compliant, and halogen free
- AEC-Q200 compliant
A momentary or non-latching switch which causes a temporary change in the state of an electrical circuit only while the switch is physically actuated. SWITCH TACTILE SPST-NO 0.05A 24V