jlab-sensing / soil-power-sensor-firmware

Firmware for STM32 and ESP32 microcontrollers on the Soil Power Sensor board
MIT License
0 stars 3 forks source link

Add adc calibration support #88

Open stevegtaylor opened 1 month ago

stevegtaylor commented 1 month ago

name: Stephen Taylor about: calibration eqn for the demo title: 'Junior Specialist' labels: '' assignees: 'jmadden173' reviewers: 'jmadden173'

Name/Affiliation/Title Stephen Taylor, UCSC, staff

Purpose of the PR Added a 'calibration' folder for calibration procedure. Integrated the positive voltage calibration for the purposes of the demo

Development Environment Windows

Test Procedure Run calibrate adc with a soil power sensor and the 2450 and see if it outputs reasonable values.

Additional Context N/A

stevegtaylor commented 1 month ago

least_squares_calibration.py is the Jupiter notebook file you made converted directly to a python file. linear regression.py is my file that i started from scratch