A simulation demonstrating a simple way to interface a reed switch to a generic digital input with an adjustable threshold voltage (assuming no hysteresis).
ID | Name | Designator | Quantity |
---|---|---|---|
1 | 100p | C3 | 1 |
2 | DI_BZT52C4V7 | D1 | 1 |
3 | 100K | R4,R5 | 2 |
4 | VOLTAGE_CONTROLLED_SWITCH_LT | S2 | 1 |
5 | PULSE(0 1 1m 1u 1u 100m 200m) | V1 | 1 |
6 | PULSE(12 14.7 150m 1m 1m 100) | V2 | 1 |
Komentáře (0)