Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32C3-Based Environmental and Health Monitoring System with BME280 and MAX30102 Sensors

View and Edit Project In Cirkit DesignerImage of ESP32C3-Based Environmental and Health Monitoring System with BME280 and MAX30102 Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a BME/BMP280 sensor, two resistors, an XIAO ESP32C3 microcontroller, and a MAX30102 Heart Rate and Oxygen Sensor. The circuit is designed to interface these components using I2C communication, with the microcontroller controlling the sensors and reading data from them.

Component List

BME/BMP280

Resistor (1)

XIAO ESP32C3

Resistor (2)

MAX30102 Heart Rate and Oxygen Sensor

Wiring Details

BME/BMP280

Resistor (1)

XIAO ESP32C3

Resistor (2)

MAX30102 Heart Rate and Oxygen Sensor

Code Documentation

XIAO ESP32C3 Code

void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(9600);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
  Serial.print("Test: ");
}