On/Off Delay

From Visuino
Revision as of 10:11, 14 September 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoOnOffDelay.png == Summary == The **On/Off Delay** component introduces configurable delays for activating and deactivating a digital output signal. It is useful for debouncing, timing control, and ensuring stable state transitions. == Description == This component delays the transition of a digital signal at its output. When the input turns **on**, the output is activated only after the specified **On Interval** has elapsed. When the input turns...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

The **On/Off Delay** component introduces configurable delays for activating and deactivating a digital output signal. It is useful for debouncing, timing control, and ensuring stable state transitions.

Description

This component delays the transition of a digital signal at its output. When the input turns **on**, the output is activated only after the specified **On Interval** has elapsed. When the input turns **off**, the output is deactivated only after the specified **Off Interval** has elapsed. It can also be initialized to a given state at startup.

Diagram:

Properties

  • Enabled (boolean) – Enables or disables the delay function.
  • Initial Value (boolean) – Initial state of the output on startup.
  • Off Interval (µS) (default: 1000000 ≈ 1 second) – Delay time before switching off, in microseconds.
  • On Interval (µS) (default: 1000000 ≈ 1 second) – Delay time before switching on, in microseconds.


Pins

Input Pins

  • in (digital) – Digital input signal.

Output Pins

  • out (digital) – Digital output signal with applied delays.

Categories