Purpose:
The DelayBufferElm
in CircuitJS1 is designed to delay the signal from its input to its output by a specified amount of time. This can be useful for synchronization, timing purposes, or to mimic real-world signal propagation delays in digital circuits.
Features:
- Delay: You can set how long the input signal should be delayed before it appears at the output.
- Threshold: Determines the voltage level at which the element considers the input as "high" or "low".
- High Logic Voltage: Sets the output voltage when the signal is considered "high".
Configuration:
- Delay: Right-click on the element and select "Edit". Here, you can adjust:
- Delay (s): Set this to the desired delay time in seconds. For example, 0.001 (or 1m) for a 1ms delay.
- Threshold: Adjust this if your circuit uses non-standard logic levels. Default is set to 2.5V for 5V logic.
- High Logic Voltage: Change this if your circuit operates at different voltage levels.
Simulation:
Connect your input signal to the input node. The output will reflect the input signal after the specified delay.
Use Cases:
- Synchronization: In digital circuits where signals from different parts need to arrive at the same time.
- Debouncing: To filter out noise or short glitches in signals.
- Timing Circuits: For creating time-based logic or pulse stretching.