Automatic switching for vacuum cleaner with a saw

Arduino detects switching on the table saw via current sensor and switches on the vacuum cleaner simultaneously. Switching off the vacuum happens with delay after stopping of the saw.