-
Notifications
You must be signed in to change notification settings - Fork 6
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
Thermistor Support #273
Conversation
There was a problem hiding this comment.
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){ |
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
There was a problem hiding this 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.
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.