I built a simple Microchip PIC18F4331 microcontroller based circuit board. The input voltage of the circuit board is +5VDC, which is supplied by a switching-mode AC/DC adapter.
The AC/DC adapter shares the same 4-way socket extension with the Weller WTCP 50 as shown in attached image.
[1] When the Weller Solder Station (WTCP 50) is switched (Switch-W50) from OFF-To-ON, the microcontroller circuit board will "die", or in other words, it will be reset into UNKNOWN state.
[2] When the +5VDC input voltage is monitored using a scope, "disturbances" are observed when the Switch-W50 is switched from OFF-To-ON.
[3] I believe that these "disturbances" have caused the microcontroller circuit board to be reset into UNKNOWN state.
[4] In fact, I don't understand why it will be reset into UNKNOWN state. I thought the microcontroller, if it's reset, it will start executing the code from reset vector again.
Kindly suggest how to beat the "disturbance" appeared on the +5VDC input voltage.