Two power supplies but no shared ground

  • Motors
  • Servos
  • Two supplies

Why it happens

  • The motor's battery and the Arduino don't share GND, so the signal has no meaning.

How to fix it

  1. Join the battery's minus to the Arduino's GND with a wire.
  2. Don't join the plus sides.

It worked if: The motor or servo obeys at once.

From how the part works. Explained from how the part works; not tried on a real circuit for this page.

Didn't help? Search another error or ask us.