I'm bad at electronics. I have to create a circuit which, after a normally-closed switch is opened, sends a signal (could be high or low) to a microcontroller and, after approximately 1 second, drives an Enable Not pin of a motor driver (TMC2209) high.
I came out with the following circuit:
The diode is for keeping the delay caused by the capacitor in the DRV portion. I can't change what's in the rectangle, I'm working with a pre-made module. 500ohm resistor is for discharging the capacitor. Pull-up above the switch is for quickly driving MCU input high.
It works in the simulator, but would it work in the real world? From other questions I saw that the RC delay circuits aren't very good and a 555 timer would be better, but it's definitely more complex.