0

I'm making a soccer car with arduino. And I have this undocumented motor control shield. So I don't know how to program it. I've tried to code it as if it be an H bridge, but is not working. Someone know which are the pins that I have to use? The plate is from DK Electronics, and says motor control shield for arduino.

Don't know why but the image can't be upload from my phone.

As I can't show more this way I have published on my Twitter account the image, if you can I'll be grateful. Link: https://twitter.com/ricardovaras_99/status/789249497322889216

This is the code I used guided by some internet articles about the Arduino's original motors control shield.

 pinMode(8,OUTPUT);       //Channel A Brake Pin Initialize
 pinMode(9,OUTPUT);       //Channel B Brake Pin Initialize 
 pinMode(12,OUTPUT);      //Channel A Direction Pin Initialize
 pinMode(13,OUTPUT);      //Channel B Direction Pin Initialize
7
  • No one will be able to assist you until we have more information. The photo may help, but more importantly is the documentation which begs the question:why did you buy a product with no documentation? – ambitiose_sed_ineptum Oct 20 '16 at 22:42
  • would it be this in any case?? oddwires.com/motor-shield-for-arduino – Dat Ha Oct 20 '16 at 22:49
  • You are going to have to try harder. A shield which you don't have a photo of, combined with code you haven't posted, and you are asking for help? – Nick Gammon Oct 20 '16 at 23:03
  • @canadiancyborg yes is exactly that one – ricardovaras_99 Oct 20 '16 at 23:42
  • @NickGammon Done, please, help me :'D – ricardovaras_99 Oct 20 '16 at 23:43
1

Judging by the fact that you agree it looks like this, a search reveals it is a knock-off of the Adafruit V1 motor shield.

Their page shows how to connect to it, and has example code and a library.

I don't really want to post a link-only answer, but the alternative would be to parrot the Adafruit page, which isn't really fair to them because this board wasn't even purchased from them.

0

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.