Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermistor Support #273

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Thermistor Support #273

merged 4 commits into from
Nov 5, 2024

Conversation

ThomasMacas
Copy link
Collaborator

Fixes #39

In order to integrate a thermistor as another component a Controller and Helper files are needed. In order for the Raspberry pi to integrate with our software the Application.yml file was adjusted to accommodate for the thermistor. The ThermistorHelper.java file was create to give the basic operations for the thermistor and the ThermistorController.java as a basic implementation of it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be a thermistor-output under digital-output? It looks like the controller takes one in as a constructor parameter.

public class ThermistorController {
private final ThermistorHelper thermistorHelper;
// Finalize (Still gathering my thoughts about this)
public ThermistorController(@Named("thermistor-input") DigitalInput sensorInput, @Named("thermistor-output") DigitalOutput sensorOutput){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the only endpoint is to read a value, do we need a DigitalOutput here? Or are there more endpoints planned that involve using the thermistor as an output for something?

Copy link
Collaborator

@yrlmanoharreddy yrlmanoharreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is the actual functionality to be implemented in the helper class. Please ensure all planned features are fully developed and tested with actual hardware to confirm correct communication protocols. Once everything is finalized, we’ll be ready for a thorough review.

Copy link
Collaborator

@yrlmanoharreddy yrlmanoharreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request implements support for the thermistor component; however, we currently lack the necessary Analog-to-Digital Converter (ADC) to test the hardware functionality effectively. To ensure thorough testing, I plan to prioritize ADC support in the next sprint and test the thermistor hardware in parallel.

@yrlmanoharreddy yrlmanoharreddy merged commit 8b01a70 into main Nov 5, 2024
6 checks passed
@yrlmanoharreddy yrlmanoharreddy deleted the 39-ThermistorSupport branch November 5, 2024 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thermistor Support
3 participants