inglewoodpete
Senior Member
The scenario for damaging a chip with a laptop being powered by an unearthed switchmode power supply goes something like this:
The PICAXE or potentially any microcontroller chip is being powered by a quality power supply, with the 0v line properly earthed. The laptop is powered by an unearthed power supply. The laptop's serial connection 0v line is not at earth potential unless it is properly earthed via the mains Neutral wire. With some unearthed power supplies, this may not occur: the 0v line can drift away from neutral (earth) potential. The 3.5mm stereo plug or the programming lead is inserted into the programming socket. Unlike typical audio leads, the tip of the programming lead's plug is at the computer's wandering 'ground' potential. The tip of the plug is likely to touch the SerIn connection, then the SerOut connection inside the stereo socket as it is inserted. In this situation, if the potential between the laptop "earth" and the PICAXE's power supply's real earth is high enough, the input or output pin's internal circuitry can be damaged.
If this was what caused the damage, then powering the circuit from a battery pack whenever connected to the laptop will practically eliminate this risk.
The PICAXE or potentially any microcontroller chip is being powered by a quality power supply, with the 0v line properly earthed. The laptop is powered by an unearthed power supply. The laptop's serial connection 0v line is not at earth potential unless it is properly earthed via the mains Neutral wire. With some unearthed power supplies, this may not occur: the 0v line can drift away from neutral (earth) potential. The 3.5mm stereo plug or the programming lead is inserted into the programming socket. Unlike typical audio leads, the tip of the programming lead's plug is at the computer's wandering 'ground' potential. The tip of the plug is likely to touch the SerIn connection, then the SerOut connection inside the stereo socket as it is inserted. In this situation, if the potential between the laptop "earth" and the PICAXE's power supply's real earth is high enough, the input or output pin's internal circuitry can be damaged.
If this was what caused the damage, then powering the circuit from a battery pack whenever connected to the laptop will practically eliminate this risk.