Skip to content
Snippets Groups Projects

Fixed faulty voltage calculation from ADC

Merged Derick Sivakumaran requested to merge fix/varying_measurement_frequency into master

The voltage was calculated by multiplying the ADC-value with the Voltage/ADC-factor (=3300mV/4096bit) and subtracting an offset (measured during calibration).

By applying different voltages and recording the corresponding ADC-value a slightly different Voltage/ADC-factor (=0.788mV/bit) and offset (=162mV) were found.

Merge request reports

Checking pipeline status.

Approval is optional

Merged by (Apr 4, 2025 12:12am UTC)

Merge details

  • Changes merged into master with 35a1eab8.
  • Deleted the source branch.

Pipeline #766 failed

Pipeline failed for 35a1eab8 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply