

A battery is a device that stores electrical energy in chemical form and converts it into electrical energy to power electronic circuits. Batteries are widely used in various applications, ranging from small electronic devices like remote controls and smartphones to larger systems such as electric vehicles and renewable energy storage.
Common applications and use cases include:








Batteries come in various types, sizes, and chemistries. Below are general specifications for common battery types:
| Parameter | Description |
|---|---|
| Voltage Range | Typically 1.2V to 12V for small batteries; higher for specialized batteries |
| Capacity | Measured in milliampere-hours (mAh) or ampere-hours (Ah) |
| Chemistry | Common types: Alkaline, Lithium-ion (Li-ion), Nickel-Metal Hydride (NiMH) |
| Rechargeability | Rechargeable (e.g., Li-ion, NiMH) or non-rechargeable (e.g., Alkaline) |
| Operating Temperature | Typically -20°C to 60°C, depending on the battery type |
| Shelf Life | Varies by type; up to 10 years for some non-rechargeable batteries |
Batteries typically have two terminals: positive (+) and negative (-). The table below describes these terminals:
| Pin/Terminal | Symbol | Description |
|---|---|---|
| Positive | (+) | The terminal where current flows out of the battery in a conventional circuit |
| Negative | (-) | The terminal where current flows into the battery in a conventional circuit |
To power an Arduino UNO with a 9V battery, follow these steps:
Here is an example Arduino sketch to blink an LED while powered by a battery:
// Blink an LED using a battery-powered Arduino UNO
const int ledPin = 13; // Pin connected to the onboard LED
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Battery Drains Quickly:
Device Does Not Power On:
Battery Overheats:
Corrosion on Terminals:
Q: Can I use a higher voltage battery than specified for my circuit?
A: No, using a higher voltage battery can damage your components. Always match the battery voltage to the circuit's requirements.
Q: How do I know when to replace a battery?
A: Replace the battery when the device shows signs of low power (e.g., dim LEDs, slow operation) or when the battery voltage drops below the recommended level.
Q: Can I mix different types of batteries in the same device?
A: No, mixing battery types (e.g., Alkaline and NiMH) can cause uneven discharge and damage the batteries or device.
Q: Is it safe to recharge non-rechargeable batteries?
A: No, attempting to recharge non-rechargeable batteries can cause leakage, overheating, or explosion. Only recharge batteries labeled as rechargeable.