If my arduino Nano connected to computer USB port it gets a reset every 32 seconds,
But when connected to a USB wall charger then everything works fine.
Tested on 2 boards from different suppliers.
But UNO board works fine either from the same computer USB port or wall charger.
Any ideas?
It's possible that your PC is scanning the USB ports for devices and so the Arduino board might be resetting when that happens.
Have a look at this: Arduino Playground - DisablingAutoResetOnSerialConnection
Callum:
It's possible that your PC is scanning the USB ports for devices and so the Arduino board might be resetting when that happens.
Looks like this but why Arduino does not reset on the same port?