Raspberry Pi Zero W-Based Health Monitoring System with LoRa and GPS
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates various sensors and communication modules with a Raspberry Pi Zero W. The circuit includes a temperature sensor, an accelerometer and gyroscope, a heart rate monitor, a GPS module, a LoRa communication module, a piezo buzzer, and a battery for power supply. The Raspberry Pi Zero W serves as the central microcontroller, interfacing with all the components.
Component List
Temperature Sensor (LM35)
- Description: Analog temperature sensor
- Pins: +Vs, Vout, GND
MPU-6050
- Description: Accelerometer and gyroscope sensor
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
MAX30102
- Description: Heart rate and SpO2 sensor
- Pins: VIN, SDA, SCL, GND, RD, IRD, INT
GPS NEO 6M
- Description: GPS module
- Pins: VCC, RX, TX, GND
LoRa Ra-02 SX1278
- Description: LoRa communication module
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
Piezo Buzzer
- Description: Sound output device
- Pins: pin 1, pin 2
2000mAh Battery
- Description: Power supply
- Pins: VCC, GND
Raspberry Pi Zero W
- Description: Microcontroller
- Pins: 5V, 3V3, GPIO2 (SDA), GPIO 3, GROUND, GPIO 14, GPIO15, GPIO 18, GND, GPIO 23, GPIO24, GPIO 25, GPIO 8, GPIO 7, GPIO 1, GPIO 12, GPIO 16, GPIO 20, GPIO 21, GPIO 04, GPIO 17, GPIO 27, GPIO 22, GPIO 10, GPIO 9, GPIO 11, GPIO 0, GPIO 5, GPIO 6, GPIO 13, GPIO 19, GPIO 26, CSI (CAMERA)
Wiring Details
Temperature Sensor (LM35)
- +Vs: Connected to Raspberry Pi Zero W (3V3)
- Vout: Connected to Raspberry Pi Zero W (GPIO 04)
- GND: Connected to common ground
MPU-6050
- VCC: Connected to Raspberry Pi Zero W (3V3)
- GND: Connected to common ground
- SCL: Not connected
- SDA: Not connected
- XDA: Not connected
- XCL: Not connected
- AD0: Not connected
- INT: Not connected
MAX30102
- VIN: Connected to Raspberry Pi Zero W (3V3)
- SDA: Connected to Raspberry Pi Zero W (GPIO2 (SDA))
- SCL: Connected to Raspberry Pi Zero W (GPIO 3)
- GND: Connected to common ground
- RD: Not connected
- IRD: Not connected
- INT: Not connected
GPS NEO 6M
- VCC: Connected to Raspberry Pi Zero W (3V3)
- RX: Connected to Raspberry Pi Zero W (GPIO 14)
- TX: Connected to Raspberry Pi Zero W (GPIO15)
- GND: Connected to common ground
LoRa Ra-02 SX1278
- GND: Connected to common ground
- NSS: Connected to Raspberry Pi Zero W (GPIO 8)
- MOSI: Connected to Raspberry Pi Zero W (GPIO 10)
- MISO: Connected to Raspberry Pi Zero W (GPIO 9)
- SCK: Connected to Raspberry Pi Zero W (GPIO 11)
- D105: Not connected
- DI04: Not connected
- 3.3V: Connected to Raspberry Pi Zero W (3V3)
- RST: Not connected
- DI00: Connected to Raspberry Pi Zero W (GPIO 5)
- DI01: Connected to Raspberry Pi Zero W (GPIO 6)
- D102: Not connected
- DI03: Not connected
Piezo Buzzer
- pin 1: Connected to Raspberry Pi Zero W (GPIO 18)
- pin 2: Connected to common ground
2000mAh Battery
- VCC: Connected to Raspberry Pi Zero W (5V)
- GND: Connected to common ground
Raspberry Pi Zero W
- 5V: Connected to 2000mAh Battery (VCC)
- 3V3: Connected to multiple components (Temperature Sensor, MPU-6050, MAX30102, GPS NEO 6M, LoRa Ra-02 SX1278)
- GPIO2 (SDA): Connected to MAX30102 (SDA)
- GPIO 3: Connected to MAX30102 (SCL)
- GROUND: Connected to common ground
- GPIO 14: Connected to GPS NEO 6M (RX)
- GPIO15: Connected to GPS NEO 6M (TX)
- GPIO 18: Connected to Piezo Buzzer (pin 1)
- GPIO 8: Connected to LoRa Ra-02 SX1278 (NSS)
- GPIO 04: Connected to Temperature Sensor (Vout)
- GPIO 10: Connected to LoRa Ra-02 SX1278 (MOSI)
- GPIO 9: Connected to LoRa Ra-02 SX1278 (MISO)
- GPIO 11: Connected to LoRa Ra-02 SX1278 (SCK)
- GPIO 5: Connected to LoRa Ra-02 SX1278 (DI00)
- GPIO 6: Connected to LoRa Ra-02 SX1278 (DI01)
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt