 It proposes a simple circuit to detect an electromagnetic interference using the device's own resources.Most microcontrollers, like the ATmega16, integrate analog to digital converters (ADCs), which could be used to detect unusual power supply fluctuations caused by interferences.When an interference is detected by the software, the microcontroller could enter a safe state while waiting for the aggression to pass.