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,1527 gold badges36 silver badges48 bronze badges
asked May 9, 2024 at 6:38

1 Answer 1

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.

answered May 9, 2024 at 7:32
2
  • Then, you mean that Arduino Uno board can't operate the motor by receiving a button from LCD without the parts you introduced? Here, motor is connected to Arduino Uno. Commented May 9, 2024 at 8:39
  • "Here, motor is connected to Arduino Uno." Here? Where? Is there meant to be a link? Anyway, 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 Commented May 9, 2024 at 9:03

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.