feat: Analog sensor configuration (pin modes + packet format) #49
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wait-to-fix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
daru/PICsense#49
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Configure which pins are analog inputs and how they map into the transmitted packet, for the first sensor class: resistive (variable-resistance temperature sensors, e.g. thermistors) and direct voltage measurements.
The firmware already reads the on-chip temperature sensor, the FVR channel (to derive VDD), and an external analog channel (RA4) and packs them into the packet. This generalizes that: the user picks which pins are analog and how the resulting ADC values are scaled and placed in the packet.
Open questions: