Circuit design · Grounding and layout habits
A motor that shares the MCU's ground copper can reset the MCU every time it starts, through a drop of half a volt.