Welcome! Log In Create A New Profile

Advanced

A4988 spins my motor when turning on arduino uno

Posted by Arnold 
A4988 spins my motor when turning on arduino uno
November 15, 2015 12:08PM
Hi all,
does anobody know why A4988 spins few steps when I turn on Arduino Uno just by connecting USB to PC ? Other single steppers units does not do it.
Re: A4988 spins my motor when turning on arduino uno
November 15, 2015 01:59PM
Which code did you upload to your Arduino Uno?
Re: A4988 spins my motor when turning on arduino uno
November 15, 2015 04:02PM
GRBL
Re: A4988 spins my motor when turning on arduino uno
November 15, 2015 07:11PM
Might be that some pins are strobing during power on. You could try to place a delay circuit on the enable pin. Use a resistor and capacitor from +5V to ground. Connect the middle pin to enable pin. While the circuit is turned on, the capacitor charges, at some point the enable pin goes high and the circuit can be used. Play around with values for capacitor and resistor.


--
Kind regards
Imqqmi

NFAN CoreXY printer:
[reprap.org]
Re: A4988 spins my motor when turning on arduino uno
November 16, 2015 12:19AM
Could also be the boot loader, it pulses the LED line 3 time or so, if thats connected to a step pin. and enables set, it will move.

Edited 1 time(s). Last edit at 11/16/2015 04:45AM by Dust.
Re: A4988 spins my motor when turning on arduino uno
November 16, 2015 03:19AM
Thanks for answer, is there any existing schema with proper values of this resistor and capacitors ?
Sorry, only registered users may post in this forum.

Click here to login