Hello I am working on a project and need to run it with a battery for compatibility/wearability.
I have a tiny 12V battery. With my research I have seen the - goes into GND and the + into VIN
I have a switch attached on the + side of the battery. When connected the Nano lights up yay! (I also have a resistor on the - side/ground to the battery)
But now is where it gets weird. I then go to attach my LEDS to the GND, 5V and pin 6 and the Arduino goes off. The moment I put in the 5V pin. I also have a resistor on my pin 6 lead.
What is going on? It took my ages just to figure out how to get a battery attached but now I still need my LEDS to light up.
The idea is to just be able to switch on and off the LEDS.