Battery-Powered Raspberry Pi 4B with GSM and Temperature Sensor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a Raspberry Pi 4B, a 7805 voltage regulator, a Li-ion 5000mAh battery, a GSM SIM900 module, and an MLX90614 infrared temperature sensor. The circuit is designed to power the Raspberry Pi and its peripherals, and to interface with the GSM module and the temperature sensor.
Component List
Raspberry Pi 4B
- Description: A powerful single-board computer with multiple GPIO pins for interfacing with various peripherals.
- Pins: 3V3, 5V, GPIO2, GPIO3, GND, GPIO4, GPIO14, GPIO15, GPIO17, GPIO18, GPIO27, GPIO22, GPIO23, GPIO24, GPIO10, GPIO9, GPIO25, GPIO11, GPIO8, GPIO7, ID_SD, GPIO5, GPIO6, GPIO12, GPIO13, GPIO19, GPIO16, GPIO26, GPIO20, GPIO21, ID_SC, TR01_TAP, TR00_TAP, TR03_TAP, TR02_TAP, RUN, GLOBAL_EN
7805 Voltage Regulator
- Description: A voltage regulator that converts input voltage to a stable 5V output.
- Pins: Vin, Gnd, Vout
Li-ion 5000mAh Battery
- Description: A rechargeable lithium-ion battery with a capacity of 5000mAh.
- Pins: 11.1V, GND
GSM SIM900 Module
- Description: A GSM module for mobile communication.
- Pins: A5, A4, A3, A2, A1, A0, 5V, GND, 3.3V, RESET, D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, AREF
MLX90614 Infrared Temperature Sensor
- Description: An infrared temperature sensor for non-contact temperature measurements.
- Pins: SDA, SCL, GND, VIN
Wiring Details
Raspberry Pi 4B
- 3V3 connected to MLX90614 VIN
- 5V connected to 7805 Vout
- 5V connected to GSM SIM900 5V
- GPIO2 connected to MLX90614 SDA
- GPIO3 connected to MLX90614 SCL
- GPIO14 connected to GSM SIM900 D3
- GPIO15 connected to GSM SIM900 D2
- GND connected to MLX90614 GND
- GND connected to GSM SIM900 GND
- GND connected to 7805 Gnd
- GND connected to Li-ion 5000mAh GND
7805 Voltage Regulator
- Vin connected to Li-ion 5000mAh 11.1V
- Gnd connected to Raspberry Pi 4B GND
- Vout connected to Raspberry Pi 4B 5V
Li-ion 5000mAh Battery
- 11.1V connected to 7805 Vin
- GND connected to 7805 Gnd
- GND connected to Raspberry Pi 4B GND
GSM SIM900 Module
- 5V connected to Raspberry Pi 4B 5V
- GND connected to Raspberry Pi 4B GND
- D2 connected to Raspberry Pi 4B GPIO15
- D3 connected to Raspberry Pi 4B GPIO14
MLX90614 Infrared Temperature Sensor
- VIN connected to Raspberry Pi 4B 3V3
- SDA connected to Raspberry Pi 4B GPIO2
- SCL connected to Raspberry Pi 4B GPIO3
- GND connected to Raspberry Pi 4B GND
Documented Code
Raspberry Pi 4B Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code for the Raspberry Pi 4B.