I have a little 3D Printer Projekt and need help about how to run a Stepper with the TOS100 on an Arduino MEGA.
On the UNO the Software ist perfektly works and the Stepper ist running. Now I have not enough pins to interate more Funktions.
I have bought the Arduino MEGA. The TOS100 shild fits perfektly but dont work. PWR LED, EN LED are on and if I give a token the STEP LED is also aktive but nothing happend.
Could the Problem be the SPI libery? I think about the 3 Pins whitch are used from the TOS100 (11,12,13). Did the SPI libery declareted new pins if it is an MEGA?
so just connekt the pin 11 on the shild with pin 51 on MEGA, the pin 12 with 50 and the pin 13 with 52.
It works very deluxe :D. Make shure you have diskonnected the shild pins 11,12 and 13 from the MEGA pins 11,12 and 13!
If you connekt it with wires, do not forget the GND and 5V pin to enable the shild (EN LED)
@MarkT:
Well, that's all nice and true, but unfortunately, the shield we are talking about is prefabricated and does not connect to the ICSP-header
If you have to put in jumper cables to make the necessary connections, it hardly matters which of the two possibilities on the MEGA you connect them to (unless you are terribly short on pins): the DIOs or the ICSP ...