Skip to content

Supply and Muscle Voltages Inconsistent (and Resistance) #45

Description

@MarkDannemiller

Based on my testing with multiple Node Controllers, the simple resistor divider equation is not yielding the correct results for the supply voltage OR the muscle load voltage:

config-shield-v1.0.hpp

// Voltage Read Conversion Equations
const float VRD_SCALE_FACTOR = 11 * VCC/1023.0;  // Derived from resistor divider circuit with R1=10k and R2=1k
const float VRD_OFFSET = 0.0f;
const float VLD_SCALE_FACTOR_M1 = 11 * VCC/1023.0;
const float VLD_SCALE_FACTOR_M2 = 11 * VCC/1023.0;
const float VLD_OFFSET_M1 = 0;
const float VLD_OFFSET_M2 = 0;  // Todo separate into muscleconfig struct

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions