Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

vikramr's Content

There have been 2 items by vikramr (Search limited from 29-April 23)


By content type

See this member's

Sort by                Order  

#57677 Help with Stepper Motor w/ Easy Driver and Netduino Plus 2

Posted by vikramr on 22 April 2014 - 05:31 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Vikram,

 

Welcome to the Forums!

 

I am guessing this is the Easy Driver. Its always good to put a link in.

 

I looked at the Quickstart guide that uses an Arduino, looks like you have done something very similar (apart from the 3.3V mod).

(I was surprised to see the tutorial taking the 12V supply through the Arduino on to the motoro board - lots of current to burn out the tracks!)

 

Looking at the schematic, there are two solder bridge jumpers - one for the 5V/3.3V option "SJ2" and one to use an external supply "SJ1".

It is posible you got the wrong one? If so, the board is still expecting 5V.

 

It might be worth using a shorter sleep in the loop in case the board is micro stepping and it is moving very slowly.

 

Sorry this is not much help - Paul

Hi Paul,

 

    Thanks for the response. The board you linked on sparkfun is the one I'm using. The SJ2 is actually labeled 3/5v so I think I soldered the right one. 

 

Thanks,

Vikram




#57668 Help with Stepper Motor w/ Easy Driver and Netduino Plus 2

Posted by vikramr on 21 April 2014 - 08:36 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Guys, I'm currently just trying to get a stepper motor to simply spin, but can't seem to get any movement but there is a lot of holding torque so I know there is power going to the motor. 

 

How its wired: 

12v power supply going to the Easy Driver (m+/gnd) 

gnd/step/dir on Easy Driver all going to pins in the netduino. 

4 cables from bipolar motor going to Easy Driver

 

I also connected the 3/5v pads so the netduino can control it with 3.3V signals. 

 

The code:

            OutputPort directionPort = new OutputPort(Pins.GPIO_PIN_D5, false);

            OutputPort stepPort = new OutputPort(Pins.GPIO_PIN_D6, false);

 

            directionPort.Write(true);

            while (true)

            {

                stepPort.Write(false);

                stepPort.Write(true);

                Thread.Sleep(1);

            }

 

I'm not sure if I'm missing any connections? 

 

Thanks,

Vikram





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.