I'm currently working on a PCB design that will be battery powered. However, it will be necessary at times to plug the device into a computer to program it.
When the PCB is plugged into the computer, it will tie the PCB power common to the PC's USB power common.
Now my question: What kind of ESD protection is typically required/recommended when designing battery powered electronics? Because the device won't typically be grounded, it seems like I won't need to worry about possible static discharge when touching the device. However, I'm concerned about when I have it plugged into the computer...
Is it generally a good idea to always include ESD protection diodes, even when if the device will typically be battery powered?