Skip to content

MAX30205 shutdown function not working #5

@Autobot86

Description

@Autobot86

I develop simple temperature reading using Protocentral_MAX30205 with arduino nano, I try to consume my current consumption using shutdown mode function but MAX30205 doesn't go to sleep mode It's maintain 2mA current every time so please help me how to put sleep mode in MAX 30205

this is my code

#include <Wire.h>
#include "Protocentral_MAX30205.h"
MAX30205 tempSensor;

void setup() {
// put your setup code here, to run once:
Wire.begin();
Serial.begin(9600);
tempSensor.begin(); // set continuos mode, active mode
}

void loop() {

float temp = tempSensor.getTemperature(); // read temperature for every 100ms
Serial.print(temp ,2);
Serial.println("'c" );

tempSensor.shutdown();
delay(1000);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions