1

I bought an Arduino keypad shield.

I want to operate a DC or servo motor when I press button on the keypad shield.

LCD keypad shield

In image, I connected keypad shield with an Arduino Uno by wiring up J1, J2, RW, E, RS, D4, 5, 6, 7, 5V, GND, GND and A0.

I checked that the keypad shield is operating normally with only these 13 connected.

But is it possible to operate a DC or servo motor when I press button on the keypad shield?

If so, where should I connect the motor?

Greenonline
  • 3,152
  • 7
  • 36
  • 48

1 Answers1

0

No, you can't connect a motor or servo directly to the LCD/keypad shield.

You will also need an Arduino Motor shield, for a motor, something like this:

Motor shield

or an Arduino Servo shield, for a servo, something like this:

Servo shield

As can be seen from the photo, the motor shield is stackable, allowing you to have you LCD/keypad shield on top (the screw terminals will be accesible, although you will probably have trouble using the header pins).

However, the servo shield isn't (generally) stackable, due to the servo(s) plugging into the header pins on the top. You would have to use DuPont jumper leads to connect the LCD/keypad shield at the same time.

Note: For the servo shield you have to supply additional current (see the screw terminals bottom left), and maybe the same for the motor shield. The Arduino by itself (or rather its power supply) can't really supply enough power to move a motor.

Greenonline
  • 3,152
  • 7
  • 36
  • 48