Skip to content

Incorrect scaling of analog input voltages #44

@jwbonner

Description

@jwbonner

We've been testing the Smart IO ports using 3.3v analog absolute encoders. When the encoder is at the maximum position before wrapping, we've confirmed manually that the output voltage is ~3.3v (as expected). However, this value is reported as only ~2.2v when reading it as an analog input through SystemCore. Other input voltages scale continuously from 0-2.2v instead of 0-3.3v as expected. With an encoder output of 3.3v, the raw integer value for the analog input is ~2700.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PendingA fix has been made but not yet releasedWPILib

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions