Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: herter on February 28, 2014, 11:01:38 AM

Title: BB-A4983 (stepper motor driver) and A20
Post by: herter on February 28, 2014, 11:01:38 AM
Hello,

I want to interface my A20 board with several stepper motors and I need a very good resolution.
That's why, I would like to use the A4983 which works up to a sixteenth-step mode.
I wonder, if I can directly control directly these  from the A20 board, by using also timer/interrupt and without the use of an external microcontroler OLIMEXINO-85S.

I hope you can help me.
Thank in advance,
Best regards.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: herter on March 03, 2014, 10:15:25 AM
hello,

nobody can help me?  :-\
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: Lurch on March 03, 2014, 03:18:30 PM
Google for RPi and motor control. There are some python examples that may help you get started.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: herter on March 03, 2014, 05:21:09 PM
ok thanks for your reply, I will try.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: Mouchon on March 05, 2014, 09:19:08 AM
if you combine this

https://github.com/adafruit/AccelStepper/blob/master/AccelStepper.cpp
with this

https://github.com/lephiloux/oa20gpiolib

You should have the solution.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: herter on March 06, 2014, 10:15:43 AM
Thanks Mouchon, it's very interesting.
Upon I receive my second board, I hope find the solution.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: herter on March 19, 2014, 10:34:32 AM
Hello,

Someone can explain me how the bb-A4983 manages the current limiting please?
Indeed, we have no Rsense and the Vref is set to VDD/2?
Thanks for your help.
Title: Re: BB-A4983 (stepper motor driver) and A20
Post by: giliusp on June 18, 2015, 03:23:21 PM
Hi Herter,

I would like to do exactly the same: controlling a stepping motor from debian based linuxino a20. Did you manage to get it working?

Kind regards,

Pieter