Activity Forums Questions & Troubleshooting CONTROLLINO MEGA

  • CONTROLLINO MEGA

     Lukas updated 11 months ago 2 Members · 2 Posts
  • Juanfer

    Member
    November 16, 2021 at 10:24 am

    Hi

    I’m trying to run a stepper motor using CONTROLLINO MEGA and a stepper driver (DM332T), but I’m not gettin’ much progress.

    One of the things that calls my attention is that I use pin D8 (for example) of controllino as an output. When I run the code, the light of this pin should blink according to the code. The impressive thing is that pin 8 remains off and pin 6 does what pin 8 should do.

    So I tried to use one of the example codes on ARDUINO IDE library (Basics>Blink). I use it to make pin 10 blink, but the pin that blinks when I run the code is pin 8. If I want pin 7 to blink, is the pin 5 that does it. Basically, the pin that I use in my codes does not do what it should. Instead, the pin “2 positions earlier” does it.

    Is it normal? I’m getting confused because I’dont know how should I build the circuit (to run the motor) because of this.

    Thank You!!

  • Lukas

    Member
    January 4, 2022 at 4:17 pm

    Hi Juanfer,

    please check the pinout table here.

    Arduino pin numbers (blue) are not the same as the CONTROLLINO digital outputs numbers (green).

    Better to use our own pin aliases as we do in our examples.

    Thanks,

    Lukas

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now