Debugging the Arduino Motor Shield

David Such
CodeX
Published in
8 min readAug 12, 2021

--

Our L293 based motor shield has some problems! How do we diagnose what the problem is and create a better design? Our first article in this series described how we designed our prototype UNO motor shield (Figure 1).

The second article explained how we wrote an Arduino library to use the shield.

This final tutorial (hopefully), will explain how we went about troubleshooting the issues and creating a better circuit to be used in version 2 of our design.

Figure 1. The Reefwing UNO Motor Shield (version 1.0)

The Problem

The issue we have with the current design, is that with the battery and motors connected, the Arduino 5V regulator switches off and the UNO has no power. The shield and UNO work correctly when both the battery and USB is connected simultaneously.

--

--

David Such
CodeX
Writer for

Reefwing Software · Embedded Systems Engineer · iOS & AI Development · Robotics · Drones · Arduino · Raspberry Pi · Flight Control