El escenario
An Arduino detects an external event and drives a 5V pulse through a current-limiting resistor into an optocoupler, which isolates and momentarily connects the laptop power button contacts to start the laptop.
Qué hay en este dibujo
Lee las decisiones que hay detrás.
01
Use an optocoupler for galvanic isolation between Arduino and laptop button signal
02
Add a 220Ω series resistor to safely limit optocoupler LED current
03
Include a decoupling capacitor and a pull-up test button for stable and testable operation
Reuse when an embedded controller must automatically power on a laptop with a momentary power button, such as scheduled boot, remote wake, or test automation.