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
-
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– ambitiose_sed_ineptum2016年10月20日 22:42:32 +00:00Commented Oct 20, 2016 at 22:42
-
would it be this in any case?? oddwires.com/motor-shield-for-arduinoDat Ha– Dat Ha2016年10月20日 22:49:39 +00:00Commented Oct 20, 2016 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– Nick Gammon ♦2016年10月20日 23:03:48 +00:00Commented Oct 20, 2016 at 23:03
-
@canadiancyborg yes is exactly that onericardovaras_99– ricardovaras_992016年10月20日 23:42:45 +00:00Commented Oct 20, 2016 at 23:42
-
@NickGammon Done, please, help me :'Dricardovaras_99– ricardovaras_992016年10月20日 23:43:20 +00:00Commented Oct 20, 2016 at 23:43
1 Answer 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.