Please consider registering

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Motion control Module
2015 年 01 月 09 日
New Member
Forum Posts: 1
Member Since:
2015 年 01 月 09 日


I bought a 86duino one in order to control at the same time 7 stepper motors powered by a driver on which I need to input up to 25kHz pulse.
To outut these pulse signals with the 86duino, my idea was to use the accelstepper library. (
I choosed a 86duino because I thought that it would be fast enough to generate the signals and make the required calculations at the same time.
However, when I tested the board and compared with another and less powerfull 32 bit 80MHz arduino-like board I have (CHIPKIT MAX32), I noticed the following:

-86duino is not fully compatible with Accelstepper . Some functions are not compiled.Confused But it is still possible to run some motors.
-With the 86duino, the 25 khz signal cannot be reached. It is far from beeing reached, even with only one motor.Cry
-With the other board, it works ok for one motor, not more. With more than one motor the max pulse frequency is divided with the number of motors.
-For the calculations (that use floating points), 86duino works very well and is about 20 times faster than the other board, which is great!.Laugh

I am not an expert but it would bet the accelstepper library is not optimised for the 86duino's hardware.
However I learned on this post:
and here:
, that a "thing" called Motion Control Module exists on the chip that would, according to what I read on the powerpoint document, widely fullfill my requirements (12 axis, 25MHz pulse frequency).Laugh

On the powerpoint documents, It is mentioned that librairies exist to make the module work. Would a library for stepper motors exist?
As suggested, I wrote to, to get the MCM datasheet some days ago but to now I got no answer.

Would somebody here have more informations about that and could help?

Thanks in advance,


2015 年 01 月 13 日
Forum Posts: 84
Member Since:
2014 年 04 月 10 日

Hi, bcrepet,
I downloaded the AccelStepper library (1.45) from and added it to 86Duino IDE. Before using IDE Coding 207 to compile it, i removed the AccelStepper.cpp and AccelStepper.h in the Adafruit_Motor_Shield library and then compile pass.:)
The most examples can be compiled pass except "MotorShield". In MotorShield example, the _BV() is called, you need to add "#include avr/pgmspace.h" line to compile.
hope to help you.


2015 年 01 月 27 日
Forum Posts: 228
Member Since:
2014 年 04 月 01 日

Hi, bcrepet,
The AccelStepper.cpp and AccelStepper.h in the Adafruit_Motor_Shield library are unnecessary for 86Duino Coding 207. You first need to remove them and then can compile pass now. We will remove them in Coding 208. Thank you.

Forum Timezone: Asia/Taipei

Most Users Ever Online: 229

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

hippy: 9

smeezekitty: 8

lukeross: 8

tomka: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1569

Moderators: 15

Admins: 5

Forum Stats:

Groups: 2

Forums: 11

Topics: 248

Posts: 1114

Newest Members: EROGurnedo, Alfredhak, Davidherie, Nelsonbok, EugeneDut, RobertOwell, LamboSr, petershu, f0rkB0mb, Albert

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 228, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 26, jejump: 14, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 1