0

I want to power my motor shield without my UNO. I have connected the +ve and -ve terminals resulting in lighting up of the LED.

Is there any way to control the motors in this arrangement from the Arduino?

0

Welcome!

I'm not sure I understand what you are asking because what you are trying to do doesn't make much sense.

The motors connected to the motor shield are controlled by the output pins of the Arduino that the motor shield is plugged in to.

You could run jumper leads from an separate Arduino into your unplugged motor shield, but that's just extending what you already have. You really do need some form of controller, not necessary a microprocessor, otherwise how can you go forwards and backwards?

Is the problem you have put the Arduino into a plastic case and you can't plug the motor shield in any more? If so get a set of long male to female connectors (they look like the Arduino connectors) and use them as extensions.

Is the problem you have a different format of board and can't plug it in? If so use the wires method to form the correct connections.

I hope that answers your question, if not please try and explain what I'm misunderstanding.

  • Thanks a lot for that answer and yes my problem actually is I cant plug in the motor shield directly. so i wanted to know is it necessary to connect all the pins or only some of them will do the work – Hritik Jun 10 '16 at 12:15
  • Right - Order some connectors something like (hobbytronics.co.uk/…) you need two different lengths. OR connect ribbon cables/wires from the Arduino to the Shield and that should sort it out. – Code Gorilla Jun 10 '16 at 12:20
  • Which all pins should i connect ?? – Hritik Jun 10 '16 at 12:20
  • Only some of them do the work but you would need to look it up in your datasheet for the shield because they can be different. You also have to remember to connect the grounds together on your two supplies (only -ve not +ve!!) otherwise things won't work. Whats the shield make and model? – Code Gorilla Jun 10 '16 at 12:22
  • 1
    Since you have not revealed exactly WHICH motor shield you are asking about, nobody can answer your question. It depends on exactly how YOUR motor shield is designed. It does not benefit you to withhold the identity of the board you are asking about. It makes it impossible for us to help you. – Richard Crowley Jun 11 '16 at 4:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.