Go Down

Topic: Mega 2560 + Ethernet Shield + Motor Shield (Read 423 times) previous topic - next topic

I am having problems with the Arduino crashing when after receiving a few inputs. It only happens with the motors attached and I am wondering if it is due to incompatibility between the shields. Using adafruit shields

"The following pins are in use only if the DC/Stepper noted is in use:
Digital pin 11: DC Motor #1 / Stepper #1 (activation/speed control)
Digital pin 3: DC Motor #2 / Stepper #1 (activation/speed control)
Digital pin 5: DC Motor #3 / Stepper #2 (activation/speed control)
Digital pin 6: DC Motor #4 / Stepper #2 (activation/speed control)"

"Arduino uses digital pins 10, 11, 12, and 13 (SPI) to communicate with the W5100 on the ethernet shield. These pins cannot be used for general i/o."

Since they both use pin 11 this would cause a problem right? What would be the best solution?

Thank you for thoughts/inputs.

#1
May 16, 2012, 11:16 pm Last Edit: May 16, 2012, 11:19 pm by simonsaito Reason: 1
It seems that both pin 11 and 12 are used by both shields and they cannot be stacked.  =(

Does anybody have a suggestion to how to control 4 DC motors over ethernet/wifi?

thanks


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy