3 Replies Latest reply on Aug 3, 2015 7:57 PM by seantibb

    Can't Seem to Get My Motor Controller Wired Up to the Mini

    seantibb

      Project Description

      Control a stepper motor using the Easy Driver motor controller via the Intel Edison with an Arduino script.

       

      Problem Statement

      Can't seem to figure out which physical pins on the mini breakout board to use for:

      DirectionPin

      STEPPin

       

      This is a really useful article about the Easy Driver and it's capabilities:

      Easy Driver stepper motor driver

      I just can't seem to find a mapping that would tell me which Jxx-x pin to wire up for the given pins on the Easy Driver along with how to address it via a sketch. Do you call the pin using the J17-1 format or the standard Arduino integer (7) format? If it's the Arduino format, where do I find the mapping for the mini breakout board as to which Jxx-x pin is mapped to which x pin?

       

      Hardware

      Intel Edison Mini Breakout Board

      Easy Driver Motor Controller

      NEMA 17 motor

       

      Code

      Trying to get *any* of the examples here to work:  Easy Driver Examples

        • 1. Re: Can't Seem to Get My Motor Controller Wired Up to the Mini
          PabloM_Intel

          Hi Sean,

           

          I would suggest you to check the following document Getting Started with Intel® Edison Mini Breakout Board. In there you’ll find a quick guide on how to work with your Edison Breakout Board. Once you’re done with that, you’ll have to consult the Arduino Expansion Board schematic and identify which GPIO pins is mapped to which Arduino pin, you can see this information in here https://communities.intel.com/message/250732#250732. Finally, once you’re familiar with the previous document you can check the Edison Breakout Board Hardware Guide to determine which pin is needed in your implementation.

           

          Regards,

          PabloM_Intel

          • 2. Re: Can't Seem to Get My Motor Controller Wired Up to the Mini
            seantibb

            I FINALLY got it! I went ahead and created a new spreadsheet. Hopefully no one else will ever have to go through this again.

             

               

            Shield PinGP PINEdison PinArduino PinType
            IO0--GP130J18-130TESTED!!!
            IO1--GP131J19-81
            IO2--GP128J17-142
            IO3--GP12J18-73PWMTESTED!!!
            IO4--GP129J18-124
            IO5--GP13J18-15PWMTESTED!!!
            IO6--GP182J17-16PWMTESTED!!!
            IO7--GP48J19-67
            IO8--GP49J20-68
            IO9--GP183J18-89PWMTESTED!!!
            IO10DOWNGP41J20-1010PWM
            UPGP111J17-10
            IO11DOWNGP43J19-1111PWM
            UPGP115J17-12
            IO12UPGP42J20-912
            GP114J18-11
            IO13UPGP40J19-1013
            GP109J17-11
            IO14--GP44J19-4A0
            IO15--GP45J20-4A1
            IO16--GP46J19-5A2
            IO17--GP47J20-5A3
            IO18UPGP14J19-9A4
            GP28J17-9
            IO19UPGP165J18-2A5
            GP27J17-7I2C
            • 3. Re: Can't Seem to Get My Motor Controller Wired Up to the Mini
              seantibb

              PabloM_Intel -- I FINALLY got it! The post you referred me to was a big help, but still didn't map it specifically to the Jxx-x pins. I created an Excel spreadsheet that has them all done. I'm glad to upload it if I can figure out how, so until then, here's the table:

               

                 

              Shield PinGP PINEdison PinArduino PinType
              IO0--GP130J18-130TESTED!!!
              IO1--GP131J19-81
              IO2--GP128J17-142
              IO3--GP12J18-73PWMTESTED!!!
              IO4--GP129J18-124
              IO5--GP13J18-15PWMTESTED!!!
              IO6--GP182J17-16PWMTESTED!!!
              IO7--GP48J19-67
              IO8--GP49J20-68
              IO9--GP183J18-89PWMTESTED!!!
              IO10DOWNGP41J20-1010PWM
              UPGP111J17-10
              IO11DOWNGP43J19-1111PWM
              UPGP115J17-12
              IO12UPGP42J20-912
              GP114J18-11
              IO13UPGP40J19-1013
              GP109J17-11
              IO14--GP44J19-4A0
              IO15--GP45J20-4A1
              IO16--GP46J19-5A2
              IO17--GP47J20-5A3
              IO18UPGP14J19-9A4
              GP28J17-9
              IO19UPGP165J18-2A5
              GP27J17-7I2C