Compare Analog Range: Difference between revisions
Jump to navigation
Jump to search
Created page with "Image:TArduinoCompareAnalogRange.png == Summary == Compares an analog input against a defined range and outputs a digital signal based on the comparison. == Description == The Compare Analog Range component checks whether the incoming analog signal falls within or outside a specified range. It can optionally include the limits themselves and invert the logic to output high when the value is outside the range. This is useful for threshold detection, alarm system..." |
(No difference)
|
Latest revision as of 01:54, 8 September 2025
File:TArduinoCompareAnalogRange.png
Summary
Compares an analog input against a defined range and outputs a digital signal based on the comparison.
Description
The Compare Analog Range component checks whether the incoming analog signal falls within or outside a specified range. It can optionally include the limits themselves and invert the logic to output high when the value is outside the range. This is useful for threshold detection, alarm systems, or triggering digital events based on analog sensor values.
Diagram:
Properties
- Enabled – Enables or disables the comparison.
- Include Limits (boolean) – If true, values equal to the min or max are considered within the range.
- Is Outside Range (boolean) – If true, the output is high when the input is outside the range; otherwise, it is high when inside.
- Range (Max, Min) – Defines the upper and lower bounds for comparison.
Pins
Input Pins
- In (analog) – Analog input signal to be compared.
Output Pins
- Out (digital) – Digital output indicating whether the input meets the configured range condition.
Categories
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoDigitalCategory.png Category Digital – Digital signal components based on analog input.