Skip to content

Feature/thermistor api#71

Merged
finger563 merged 3 commits intomainfrom
feature/thermistor-api
Jun 20, 2023
Merged

Feature/thermistor api#71
finger563 merged 3 commits intomainfrom
feature/thermistor-api

Conversation

@finger563
Copy link
Contributor

@finger563 finger563 commented Jun 20, 2023

Description

  • Added get_resistance() API which reads the voltage from the thermistor and calculates the resistance, returning it in ohms.
  • Updated example to use the new api and to use ntc config for a real ntc on a real board.
  • Updated and rebuilt docs.

Motivation and Context

Exposing resistance allows developers additional tools for logging and debugging (or other calculations) than what is provided by simply outputting the temperature.

How has this been tested?

Building and running the new example on a board with an NTC.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

CleanShot 2023-06-20 at 16 39 33

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

Hardware

  • I have updated the design files (schematic, board, libraries).
  • I have attached the PDFs of the SCH / BRD to this PR
  • I have updated the design output (GERBER, BOM) files.

* Added get_resistance() API which reads the voltage from the thermistor and calculates the resistance, returning it in ohms.
* Updated example to use the new api
* Updated and rebuilt docs.
@finger563 finger563 added enhancement New feature or request thermistor labels Jun 20, 2023
@finger563 finger563 merged commit f98e57e into main Jun 20, 2023
@finger563 finger563 deleted the feature/thermistor-api branch June 20, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request thermistor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant