0

I made arduino-stack which consists of arduino r3, robotdf motor shild and robotdf lcd shield. But motor shield and lcd use same pins 4 and 5, so we have a conflict of pins. Can i use other pins?

  • 1
    Nope. Welcome to shields. – Ignacio Vazquez-Abrams Nov 5 '14 at 8:40
  • @IgnacioVazquez-Abrams it would be possible if you modify the shield right? cutting through a wire, solder it to another pin? – T J Nov 5 '14 at 8:42
  • 1
    Technically you can rewire the shield. But this is a physical change, and different combinations of shields will require different rewiring. In the end you may be better off just using breakout boards instead. – Ignacio Vazquez-Abrams Nov 5 '14 at 8:45
  • @IgnacioVazquez-Abrams this variant is ok for me, thanks – user2500581 Nov 5 '14 at 18:23
0

Stack one shield on top of the Arduino itself and connect the other shield using wires. This way you can pick your own pin assignment for the 'external' shield.

Be careful when using a specific library though, sometimes the used pins are hard-coded in the library itself. Modifying the .h and .cpp files for the library is possible, so you could (hard code) assign your own used pins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.