I made some changes to MotorShieldV3 to make it better.
made several changes motor shield when found terrible design of official arduino motor shield, not have official project example.
here changes: according sch.pdf
1.remove chip ic2, cd4077d in schematic.
2.connect pin_2 , pin_3, called braker-a in schematic.
3.connect pin_11 , pin_13, called braker-b in schematic.

4.re-connect pwma pin10 of arduino board. on of board.
cut existing line (pwma pin3) using knife.
re-connect pin10.
ok if dont want step.

then, pin label can changed :

i using in1,in2,in3,in4, ena, , enb original names of chip l298n.
finally, if want drive step-motor, official arduino example can used 2 little changes.
firstly, create stepper new pin ids (12,9,13,8).
then put ena , enb @ high status in setup() function.

here changes: according sch.pdf
1.remove chip ic2, cd4077d in schematic.
2.connect pin_2 , pin_3, called braker-a in schematic.
3.connect pin_11 , pin_13, called braker-b in schematic.

4.re-connect pwma pin10 of arduino board. on of board.
cut existing line (pwma pin3) using knife.
re-connect pin10.
ok if dont want step.

then, pin label can changed :

i using in1,in2,in3,in4, ena, , enb original names of chip l298n.
finally, if want drive step-motor, official arduino example can used 2 little changes.
firstly, create stepper new pin ids (12,9,13,8).
then put ena , enb @ high status in setup() function.

oh,
better view in blog.
http://xpcao.blogspot.hk/2014/02/how-to-make-arduino-motor-shield-better.html
better view in blog.
http://xpcao.blogspot.hk/2014/02/how-to-make-arduino-motor-shield-better.html
Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > I made some changes to MotorShieldV3 to make it better.
arduino
Comments
Post a Comment