Arduino Mega 2560 and UNO-Based Smart Wearable for Mountaineers with LoRa Communication
View and Edit Project In Cirkit Designer
Smart Wearable for Mountaineers
Summary
This project involves the design and implementation of a smart wearable device for mountaineers. The device reads data from various sensors (BMP280, GPS, TMP117, MAX30102, MPU6050) and displays the data on an OLED screen. It also sends the data via LoRa RA-02. The button is used to switch between different parameters on the OLED screen. SOS alerts are sent if a fall is detected or if critical health parameters are below the threshold.
Component List
Arduino Mega 2560
- Description: Main microcontroller for the wearable device.
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D21/SCL, D20/SDA, D19/RX1, D18/TX1, D17 PWM/RX2, D16 PWM/TX2, D15/RX3, D14/TX3, D0 RX0, D1 TX0, D2 PWM, D3 PWM, D4 PWM, D5 PWM, D6 PWM, D7 PWM, D8 PWM, D9 PWM, D10 PWM, D11 PWM, D12 PWM, D13 PWM, AREF, SDA, SCL, D52, D50, D48, D46, D44, D42, D40, D38, D36, D34, D32, D30, D28, D26, D24, D22, D53, D51, D49, D47, D45, D43, D41, D39, D37, D35, D33, D31, D29, D27, D25, D23
SparkFun High Precision Temperature Sensor - TMP117 (Qwiic)
- Description: High precision temperature sensor.
- Pins: GND, 3.3V, SDA, SCL, !INT
LoRa Ra-02 SX1278
- Description: LoRa module for long-range communication.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
MPU6050
- Description: Accelerometer and gyroscope sensor.
- Pins: vcc, gnd, scl, sda, xda, xcl, AD0, int, 3.3v
BMP280
- Description: Barometric pressure sensor.
- Pins: SDO, CSB, SDA, SCL, GND, VCC
GPS NEO 6M
- Description: GPS module for location tracking.
- Pins: VCC, RX, TX, GND
MAX30102 Heart Rate and Oxygen Sensor
- Description: Heart rate and oxygen sensor.
- Pins: VIN, SCL, SDA, INT, IRQ, RD, GND
OLED 1.3"
- Description: OLED display for showing sensor data.
- Pins: GND, VCC, SCL, SDA
LED Tactile Button Breakout
- Description: Button with an integrated LED.
- Pins: C, B1, B2, A
Arduino UNO
- Description: Secondary microcontroller for the receiver.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
LED: Two Pin (red)
- Description: Simple red LED.
- Pins: cathode, anode
Buzzer Module
- Description: Buzzer for audible alerts.
- Pins: GND, Vcc, I/O
Wiring Details
Arduino Mega 2560
- 3V3: Connected to 3.3V of TMP117, VCC of OLED, 3.3V of LoRa, vcc of MPU6050, VCC of BMP280
- GND: Connected to GND of TMP117, GND of OLED, GND of LoRa, GND of GPS, gnd of MPU6050, C of LED Button, GND of BMP280
- D21/SCL: Connected to SCL of TMP117, SCL of OLED, SCL of MAX30102, scl of MPU6050, SCL of BMP280
- D20/SDA: Connected to SDA of TMP117, SDA of OLED, SDA of MAX30102, sda of MPU6050, SDA of BMP280
- D19/RX1: Connected to TX of GPS
- D18/TX1: Connected to RX of GPS
- D2 PWM: Connected to INT of MAX30102, DI00 of LoRa
- D3 PWM: Connected to B1 of LED Button
- D5 PWM: Connected to A of LED Button
- D9 PWM: Connected to RST of LoRa
- D10 PWM: Connected to NSS of LoRa
- D52: Connected to SCK of LoRa
- D50: Connected to MISO of LoRa
- 5V: Connected to VCC of GPS, VIN of MAX30102
- D51: Connected to MOSI of LoRa
SparkFun High Precision Temperature Sensor - TMP117 (Qwiic)
- GND: Connected to GND of Arduino Mega 2560
- 3.3V: Connected to 3V3 of Arduino Mega 2560
- SDA: Connected to D20/SDA of Arduino Mega 2560
- SCL: Connected to D21/SCL of Arduino Mega 2560
LoRa Ra-02 SX1278
- GND: Connected to GND of Arduino Mega 2560
- 3.3V: Connected to 3V3 of Arduino Mega 2560
- NSS: Connected to D10 PWM of Arduino Mega 2560
- MOSI: Connected to D51 of Arduino Mega 2560
- MISO: Connected to D50 of Arduino Mega 2560
- SCK: Connected to D52 of Arduino Mega 2560
- RST: Connected to D9 PWM of Arduino Mega 2560
- DI00: Connected to D2 PWM of Arduino Mega 2560
MPU6050
- vcc: Connected to 3V3 of Arduino Mega 2560
- gnd: Connected to GND of Arduino Mega 2560
- scl: Connected to D21/SCL of Arduino Mega 2560
- sda: Connected to D20/SDA of Arduino Mega 2560
BMP280
- GND: Connected to GND of Arduino Mega 2560
- VCC: Connected to 3V3 of Arduino Mega 2560
- SDA: Connected to D20/SDA of Arduino Mega 2560
- SCL: Connected to D21/SCL of Arduino Mega 2560
GPS NEO 6M
- GND: Connected to GND of Arduino Mega 2560
- VCC: Connected to 5V of Arduino Mega 2560
- RX: Connected to D18/TX1 of Arduino Mega 2560
- TX: Connected to D19/RX1 of Arduino Mega 2560
MAX30102 Heart Rate and Oxygen Sensor
- GND: Connected to GND of Arduino Mega 2560
- VIN: Connected to 5V of Arduino Mega 2560
- SCL: Connected to D21/SCL of Arduino Mega 2560
- SDA: Connected to D20/SDA of Arduino Mega 2560
- INT: Connected to D2 PWM of Arduino Mega 2560
OLED 1.3"
- GND: Connected to GND of Arduino Mega 2560
- VCC: Connected to 3V3 of Arduino Mega 2560
- SCL: Connected to D21/SCL of Arduino Mega 2560
- SDA: Connected to D20/SDA of Arduino Mega 2560
LED Tactile Button Breakout
- C: Connected to GND of Arduino Mega 2560
- B1: Connected to D3 PWM of Arduino Mega 2560
- A: Connected to D5 PWM of Arduino Mega 2560
Arduino UNO
- 3.3V: Connected to VCC of OLED, 3.3V of LoRa
- 5V: Connected to Vcc of Buzzer Module
- GND: Connected