Hello,
I am new to Arduino and need some help.
I am trying to build an Arduino Nano-powered wristwatch contraption that when a button is pressed, an LED is turned on, and vice versa. However, I am having a hard time powering the Nano, as the small space required limits the use of a USB cable.
I am using a 2s 500 maH LiPo battery, and have tried to power it through the 5v pins and the GND pin. It powers the Nano on, but when I press the button, the board turns off.
Here is the wiring diagram and code that I am using: Control an LED with Arduino and a Pushbutton Switch | Make:
Any help would be appreciated!