Limit Analog between Min and Max
Summary
Clamps an analog signal between specified minimum and maximum values.
Description
The Limit Analog component restricts an incoming analog signal to stay within a defined range. Values below the minimum are set to the minimum, and values above the maximum are set to the maximum. This is useful for protecting downstream components or normalizing sensor outputs.
Diagram:
Properties
- Enabled – Enables or disables the clamping operation.
- Min – Minimum allowed value (default 0).
- Max – Maximum allowed value (default 1).
Pins
Input Pins
- In (analog) – Input analog signal.
Output Pins
- Out (analog) – Output signal clamped between **Min** and **Max**.
Categories
- File:TArduinoAnalogCategory.png Category Analog – Analog signal processing components.
- File:TArduinoFilterCategory.png Category Filter – Signal limiting and conditioning components.