Arduino UNO-Based Health Monitoring System with I2C LCD and OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes two Arduino UNO microcontrollers, various sensors, displays, and resistors. The circuit is designed to interface multiple components using I2C communication and power them through the Arduino boards.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
TU-05
- Description: A sensor module.
- Pins: Gnd, Vcc, SDA, SLA
Resistor (2000 Ohms)
- Description: A resistor with a resistance of 2000 Ohms.
- Pins: pin1, pin2
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
0.96" OLED
- Description: A 0.96-inch OLED display.
- Pins: GND, VDD, SCK, SDA
MAX30102
- Description: A pulse oximeter and heart-rate sensor.
- Pins: VIN, SDA, SCL, GND, RD, IRD, INT
Wiring Details
Arduino UNO
- 5V: Connected to VCC of 16x2 I2C LCD, VIN of MAX30102, VDD of 0.96" OLED, and pin2 of three 2000 Ohm resistors.
- GND: Connected to GND of TU-05, 16x2 I2C LCD, MAX30102, and the other Arduino UNO.
- A4: Connected to SDA of MAX30102, 16x2 I2C LCD, TU-05, and pin1 of a 2000 Ohm resistor.
- A5: Connected to SCL of MAX30102, 16x2 I2C LCD, TU-05, and pin1 of a 2000 Ohm resistor.
- D6: Connected to D5 of the other Arduino UNO.
TU-05
- Gnd: Connected to GND of Arduino UNO.
- Vcc: Not connected.
- SDA: Connected to A4 of Arduino UNO.
- SLA: Connected to A5 of Arduino UNO.
Resistor (2000 Ohms)
- pin1: Connected to A4 and A5 of Arduino UNO.
- pin2: Connected to 5V of Arduino UNO.
16x2 I2C LCD
- GND: Connected to GND of Arduino UNO.
- VCC: Connected to 5V of Arduino UNO.
- SDA: Connected to A4 of Arduino UNO.
- SCL: Connected to A5 of Arduino UNO.
0.96" OLED
- GND: Connected to GND of the other Arduino UNO.
- VDD: Connected to 5V of the other Arduino UNO.
- SCK: Connected to A5 of the other Arduino UNO.
- SDA: Connected to A4 of the other Arduino UNO.
MAX30102
- VIN: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- SDA: Connected to A4 of Arduino UNO.
- SCL: Connected to A5 of Arduino UNO.
Documented Code
Arduino UNO (1)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Arduino UNO (2)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This documentation provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the microcontrollers.