Author Topic: alternate motor shield pins  (Read 3395 times)

fbettinger

  • Newbie
  • *
  • Posts: 6
alternate motor shield pins
« on: May 12, 2013, 01:49:32 pm »
Hi,


The standard pins for the motor shield are 0,1,2,4.
In the shield compatibility documentation : [size=78%]https://s3.amazonaws.com/digispark/digispark_shield_compatibility.pdf[/size]


 it's stated that the alternate pins for the motor shield are 1,3,4 and 5.
I've managed to change pin 2 and 3 thanks to the first solder jumper, but the second solder jumper seems to change pin 4 and 5 instead of pin 0 and 5. Since I want to use it with the I2C shield (it's supposed to be compatible), the use of pin 0 is shared and that's a problem.
How can I get the 1,3,4 and 5 pins ? Is it a mistake in the documentation ? Is the motor shield really compatible with the I2C shield ?


digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: alternate motor shield pins
« Reply #1 on: May 14, 2013, 09:10:18 pm »
That was unfortunately a typo - or at least should have been updated as they went into production


It should read 0,1,2,5 (default) or 0,1,3,4 - why 1,3,4,5 isn't an option I can't completely recall, but I believe it was that we had to choose between USB or I2C without having 8 jumpers (since they wouldn't fit). When we release the next version we'll be taking a careful look at USB vs I2C usage and which is preferred or if there is a way to accommodate both.


I apologize for any issues that causes with your project.


Schematic: https://s3.amazonaws.com/digistump-resources/files/6348a83c_motor.pdf


You could cut both jumpers to p2 and p3 and the jumper from one of them to p5. Then connect p0 to p3 and I think that would work. With the solder jumper to p5 cut and p4 bridged.


PWMA would then be p3
PWMB p1
DIR A p5
DIR B p4


The solder jumper pads should be easy to connect a jumper too
And if the motor is the top board you could solder a jumper right to the p0 pin and just cut the leg off that goes into the shield below it so that it is left unconnected to the rest

fbettinger

  • Newbie
  • *
  • Posts: 6
Re: alternate motor shield pins
« Reply #2 on: May 20, 2013, 05:10:30 pm »
Too bad. I guess, I'll just put back as it was and use the 2 remaining pins directly instead of using the i2c LCD shield as I intended. I guess I should have asked that before ordering more i2c shileds ;) The shipment as really fast btw, well done.