So I have 2 projects going on here. First is adding a circuit of LED's to my helmet using an Arduino Nano. Second is a much simpler LED circuit for one of my gauntlets also using an Arduino Nano. This is my first attempt at anything like this. I have more mechanical knowledge than i do electrical so this is a big jump for me and so far I'm having fun with it.
Helmet: I purchased a couple of Bluetooth LED name tags that I plan to mount on the inside of each ear cap. There are also 10 other slots that I would like to fill with LED's programmed with the Arduino as well. Bellow are pictures, sketch and diagram using Tinkercad.
>>>>>
https://www.tinkercad.com/things/0vYTIZy0fou<<<<<
int counter;
int counter2;
int counter3;
int counter4;
int counter5;
int counter6;
void setup()
{
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(2, OUTPUT);
}
void loop()
{
for (counter = 0; counter < 5; ++counter) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(3, HIGH);
for (counter2 = 0; counter2 < 2; ++counter2) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(4, HIGH);
for (counter3 = 0; counter3 < 5; ++counter3) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(2, HIGH);
for (counter4 = 0; counter4 < 2; ++counter4) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(3, LOW);
for (counter5 = 0; counter5 < 1; ++counter5) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(4, LOW);
for (counter6 = 0; counter6 < 1; ++counter6) {
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(13, LOW);
delay(200); // Wait for 200 millisecond(s)
}
digitalWrite(2, LOW);
}




Gauntlet: Simple 3 LED circuit modeled off this
tutorial. Bellow are pictures, sketch and diagram using Tinkercad.
>>>>>
https://www.tinkercad.com/things/f9gNUJS0OWt<<<<<
int leds[6] = {8,9,10,11,12,13};
void setup(){
for (int jj; jj<sizeof(leds)/sizeof(int);jj++){
pinMode(leds[jj],OUTPUT);
delay(10);
}
}
void loop(){
digitalWrite(leds[random(0,sizeof(leds)/sizeof(int))],HIGH);
delay(random(20,200));
digitalWrite(leds[random(0,sizeof(leds)/sizeof(int))],LOW);
}

Questions:
Am I on the right track?
Any suggested changes in wiring or code?
What is the best way to wire up the Arduino Nano's? (They have no soldered pins or any other connectors and I am also new to soldering)
What is the easiest/best way to add switches to each of these? (Plan is to power each of these with their own 5v power banks also have hold switch for the gauntlet)
Thanks for the help!