I have search the forums + net for a definitive set of info on this shield, without success.
I was given one of these by a friend who never got it working, not unlike many of the threads I found concerning the board.
Two full days work with a meter and software test I have produced a definitive set of info that makes the shield work every time, I have tested on UNO + Mega.
The various diagrams floating arround have one set of definitions, the software library has other and finally the board bears little relationship to either.
If anyone would like details of my results which have enabled me to interface two DC motors the other two would simply be a complementary image in terms of the external pin out. The major errors are in the control of the 74hc295 latch, people don't seem to understand the timing requirement to ensure this latch is loaded correctly, I have produced a timing diagram to assist. I have no as yet written a true library since I have only one need and hence straight coding was a simple answer.
Please indicate how you want the details I will monitor for any responces.
I've also been trying to get the DK Electronics motor control shield working for some time,
using Adafruit's AFMotor/examples/DCMotorTest.ino sketch, without succes however.
Of course I have installed the libraries that came with it.
If I switch on Arduino's Monitor it says "tick, tock, tech" as it should according to the sketch.
The small DC Motor doesn't run at all, not on M1, M2, M3 or M4.
Would you be so kind to share your experiences with me, I would be very grateful.
Please send it via e-mail, my address is: edschijf@upcmail.nl
Hi there,
Together with the help of Tom George I found the solution to the problems with the Motor Shield.
I used the wrong libraries version 2, while this Motor Shield is version 1.
Downloaded "Adafruit-Motor-Shield-4bd21ca.zip", unzipped it and renamed the result "AFMotor".
Then I adapted the textfile "Keywords.txt", which is a one-line sentence so that it read:
AF_DCMotor KEYWORD1, etc.
run KEYWORD2
and so on, and so on.
After this the DK Electronics v1.0 Motor Shield worked alright! How simple it can be?
I also wrote "tgsuperspec" a personal mail for not answering people's messages for help.
Ed
I have found that I have the same problem with carriage return character, that HHarry14 comented, in the whole library. After fixing it seem to run properly. I left you the files I used and the code with I tested it.
Hi!
I have a DK Electronics motor shield and i use the V1 AdaFruit library. It seems work but no, it doesn't work
For DC motor in port M4 works in "Forward" mode but not in "Backward" mode. In ports M1,M2 and M3 works fine both modes.
So for stepper motor port X2 doesn't work and works fine in port X1.
I tried to replace the L293 and make the same. doesn't work port M4 in DC motors.
I just bought the shield but when I attach it to the Arduino, the power LED won't light and the power light on the Arduino board doesn't light up either.
When I remove the boar the Arduino is responsive.
How do I fix it?
I have all the libraries installed. How can I fix this?
I just bought the same shield and had the same problems you guys discussed here. With the help of the previous post I was able to make it work some what but seems like it has other problems. For example if I run a code for the first time it works but then if i change any thing in the code it does not execute it. It keep running the previous code. Even if i change the motor port in the code ( lets say it is connected to M1, but I change it to M2 in the code) the motor still runs and it executes what ever the code was before changing. Does any one have any idea how to fix it ?
So far all the code is being seen, but no motor movement.
4 AA batteries to the +M and GND.
The boards are hooked up to USB.
I've integrated the Blink program into it and it does blink once at the end of the loop as programmed.
This robot motor set is the on eBay.
I'm wondering if I don't have enough power.
I did put in a carriage return in the keywords.txt file above the motor lines and I believe I'm using that library.