GP AAA 24G R03 Carbon Battery 1.5V Non-rechargeable (Pack of 2)
GP AAA 24G R03 Carbon Battery 1.5V Non-rechargeable (Pack of 2)
The GP AAA 24G R03 Carbon Battery is a non-rechargeable, primary cell battery designed for use in a wide range of IoT devices, toys, and other applications. This pack of 2 batteries provides a reliable and long-lasting power source for devices that require a consistent 1.5V voltage.
The GP AAA 24G R03 Carbon Battery is designed to provide a steady flow of electrical energy to power devices such as |
IoT sensors and modules
Remote controls
Toy devices
Smoke detectors
Alarm systems
Other low-power applications
The battery's primary function is to convert chemical energy into electrical energy, allowing devices to operate for an extended period.
Snap connector
Not specified
Not applicable (Non-rechargeable)
2 years from date of manufacture
UL (Underwriters Laboratories) Certified
Compliant with IEC 60086-1, -2, and -3 Standards
Compliant with European Union's RoHS (Restriction of Hazardous Substances) Directive
When using the GP AAA 24G R03 Carbon Battery, ensure that the device is designed to operate within the specified voltage range (1.5V). It's essential to follow proper installation, handling, and storage guidelines to maintain the battery's performance and lifespan.
The manufacturer provides a limited warranty for the GP AAA 24G R03 Carbon Battery. For warranty information, technical support, and documentation, please contact the manufacturer or authorized distributors.
The information provided is subject to change without notice. It is essential to verify the specifications and features with the manufacturer or authorized distributors before integrating the component into your design.
GP AAA 24G R03 Carbon Battery 1.5V Non-rechargeable (Pack of 2)
Overview
The GP AAA 24G R03 Carbon Battery is a non-rechargeable, 1.5V AAA-sized battery designed for use in a wide range of applications, including Internet of Things (IoT) projects. This pack of 2 batteries provides a reliable power source for devices requiring a stable voltage supply.
Technical Specifications
Voltage: 1.5V
Capacity: 1000mAh
Chemistry: Carbon
Size: AAA
Non-rechargeable
Operating Temperature: -20C to 50C
Shelf Life: 2 years
Code Examples
### Example 1: Arduino IoT Project - Reading Sensor Data with Battery Power
In this example, we will use the GP AAA 24G R03 Carbon Battery to power an Arduino Uno board, which will read sensor data from a DHT11 temperature and humidity sensor.
Hardware Requirements
Arduino Uno board
GP AAA 24G R03 Carbon Battery (x2)
DHT11 temperature and humidity sensor
Breadboard and jumper wires
Software Requirements
Arduino IDE
Code
```c++
#include <DHT.h>
#define DHTPIN 2 // DHT11 sensor pin
DHT dht(DHTPIN, DHT11);
void setup() {
Serial.begin(9600);
}
void loop() {
int tempC = dht.readTemperature();
int humid = dht.readHumidity();
Serial.print("Temperature: ");
Serial.print(tempC);
Serial.println("C");
Serial.print("Humidity: ");
Serial.print(humid);
Serial.println("%");
delay(2000);
}
```
Connect the batteries to the Arduino board using the breadboard and jumper wires. Connect the DHT11 sensor to digital pin 2 of the Arduino board. Upload the code to the Arduino board and observe the sensor readings in the serial monitor.
### Example 2: ESP32 IoT Project - Wi-Fi Enabled Weather Station with Battery Power
In this example, we will use the GP AAA 24G R03 Carbon Battery to power an ESP32 board, which will act as a Wi-Fi enabled weather station, transmitting temperature and humidity data to a remote server.
Hardware Requirements
ESP32 DevKitC board
GP AAA 24G R03 Carbon Battery (x2)
DHT11 temperature and humidity sensor
Breadboard and jumper wires
Wi-Fi antenna (optional)
Software Requirements
Arduino IDE with ESP32 boards support
Wi-Fi library (built-in)
Code
```c++
#include <WiFi.h>
#include <DHT.h>
#define DHTPIN 15 // DHT11 sensor pin
#define WIFI_SSID "your_ssid"
#define WIFI_PASSWORD "your_password"
DHT dht(DHTPIN, DHT11);
WiFiClient espClient;
void setup() {
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
Serial.println("Initializing DHT11 sensor...");
dht.begin();
}
void loop() {
int tempC = dht.readTemperature();
int humid = dht.readHumidity();
String data = String(" Temperature: ") + tempC + "C, Humidity: " + humid + "%";
espClient.println("POST /weather HTTP/1.1");
espClient.println("Host: your_server_url");
espClient.println("Content-Type: application/json");
espClient.println("Content-Length: " + String(data.length()));
espClient.println();
espClient.println(data);
delay(30000); // send data every 30 seconds
}
```
Connect the batteries to the ESP32 board using the breadboard and jumper wires. Connect the DHT11 sensor to digital pin 15 of the ESP32 board. Replace the SSID and password with your Wi-Fi credentials. Replace the server URL with your remote server URL. Upload the code to the ESP32 board and observe the data transmission to the remote server.
Important Notes
Always handle batteries with care, and follow proper safety precautions when working with them.
Ensure the batteries are properly connected to the device, following the recommended polarity and voltage ratings.
Dispose of used batteries responsibly, following local regulations and guidelines.