Skip to content

Standardize ADC Scaling #102

@kb1lqc

Description

@kb1lqc

It's unclear if we should keep ADC data unscaled so scaling can be applied later or if we should always scale to volts at the ADC pin using the internal voltage reference.

Pros:

  • Simple and easy to convert from volts to engineering units
  • Standardizes on ADC configuration as-built hardware.

Cons:

  • If anyone uses an external reference things get tricky i.e. they become special snowflakes on the entire system unless we proactively account for this.
  • Possibly requiring two conversions to account for standardized scaling. First from ADC volts with on-board reference into ADC bits and secondly from ADC bits into volts using external reference voltage.

It might be better to just assume everyone uses the internal voltage reference and perform the two scaling required to get to another voltage reference. These stations should be far and few between which means they will not be common. This allows more plug and play operation with the ADC functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions