Powering Arduino Projects: How to Hook a Battery Up to an Arduino for Success
Connect the black lead from the battery connector to the Arduino ground pin. Connect the other lead from a toggle switch to the Arduino Vin pin. Attach the battery to the connector. The Arduino powers on when the switch is closed and turns off when it is open. This setup allows easy control of power … Read more