

The 9V battery is a compact power source that provides a nominal voltage of 9 volts. It is widely used in various electronic devices and circuits due to its portability and ease of use. Common applications include powering small electronic projects, smoke detectors, portable radios, and Arduino-based systems. Its rectangular shape and snap connector make it a convenient choice for hobbyists and professionals alike.








The 9V battery has two terminals: a positive (+) terminal and a negative (-) terminal. These terminals are accessed via the snap connector.
| Terminal | Symbol | Description |
|---|---|---|
| Positive | (+) | Supplies the positive voltage |
| Negative | (-) | Provides the ground connection |
The 9V battery can be used to power an Arduino UNO via its DC barrel jack or VIN pin. Below is an example of connecting the battery to the Arduino and running a simple LED blink program.
// Simple LED Blink Program
// This program blinks an LED connected to pin 13 of the Arduino UNO.
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output pin
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Battery Drains Quickly:
Circuit Does Not Power On:
Battery Overheats:
Can I use a 9V battery to power a 5V circuit?
How long will a 9V battery last?
Can I recharge an alkaline 9V battery?
Is it safe to leave a 9V battery connected to a circuit?