Skip to content

readVin() before and after sleeping mode [BUG] #39

@bastientaillandier

Description

@bastientaillandier

Subject of the issue

Reading Vin value throught readVin() function bug when OLA enter on sleep mode (after calling goToSleep() function).

Your workbench

I log IMU data at 5Hz at the beggining and print readVin() value. With just an USB alim, I have about 5.3V.

After 5s, I change the logging frequency to 0.2Hz (once per 5s), then OLA go to sleep mode, and when it wake up the voltage
of readVin() is about 0.2V.

Steps to reproduce

Connect OLA to USB, check readVin() value before and after sleep mode.

image

image

Expected behavior

Same value before and after sleep mode

Actual behavior

Strange value after sleep mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingresolved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions