Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question

migrated from electronics.stackexchange.com Oct 20 at 22:42

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

    
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 at 22:42
    
would it be this in any case?? oddwires.com/motor-shield-for-arduino – Dat Ha Oct 20 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 at 23:03
    
@canadiancyborg yes is exactly that one – ricardovaras_99 Oct 20 at 23:42
    
@NickGammon Done, please, help me :'D – ricardovaras_99 Oct 20 at 23:43
up vote 1 down vote accepted

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.

share|improve this answer
    
Well, thank you! – ricardovaras_99 Oct 21 at 0:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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