Easydriver stepper driver class
#1
Posted 09 November 2010 - 07:15 PM
#2
Posted 09 November 2010 - 10:04 PM
Second question, how much effort is it to convert a Arduino c++ class to a Netduino class? (there is a stepper class available)
It depends on the class. If it's high-level, it's usually a pretty easy translation process. If it's a timing-critical class, you might need to use native code to take advantage of the ARM's speed.
Chris
#3
Posted 09 November 2010 - 11:15 PM
Has anybody written a class for the Sparkfun Easydriver stepper driver board? It uses the A3679 chip.
Second question, how much effort is it to convert a Arduino c++ class to a Netduino class? (there is a stepper class available)
Depending on your application you should be able to use a netduino and C# programming, though if you need high speed and consistent timing then you will need to do more complex native code.
For example a non-critical task of driving a stepper to move something from one place to another, probably ok.
Not ok, moving an extruder that is outputting a material at a constant rate or a laser engraver, everything will come to a halt when garbage collection is ongoing for a few milliseconds so you will wind up with blobs or a deeper cut, etc.
#4
Posted 10 November 2010 - 03:33 AM
Hi Marius,Has anybody written a class for the Sparkfun Easydriver stepper driver board? It uses the A3679 chip.
Second question, how much effort is it to convert a Arduino c++ class to a Netduino class? (there is a stepper class available)
Incidentally, I've been playing with my first stepper motor. The EasyDriver really make it easy. I'm not sure if you really need a class. All you have to do is send a bunch of pulses to step the motor. Full solution is attached to this post.
//-- Step, step, step... --- for (int i = 0; i < 2000; i++) { stepPort.Write(false); stepPort.Write(true); Thread.Sleep(1); }
http://www.youtube.com/watch?v=LonWg5Yp6cY
Attached Files
#5
Posted 10 November 2010 - 04:05 AM
#6
Posted 09 October 2012 - 01:32 AM
#7
Posted 09 October 2012 - 06:59 AM
#8
Posted 09 October 2012 - 12:31 PM
#9
Posted 09 October 2012 - 06:36 PM
#10
Posted 05 November 2012 - 04:55 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users