Commit Graph

33 Commits

Author SHA1 Message Date
martinnm d31826af1f Updated Steper Motors Circuits URL 2016-11-11 00:03:16 -07:00
Martino Facchin 40b5fbf66f Stepper: update version to 1.1.3 2016-03-08 15:37:18 +01:00
Alice Pintus 8d3c4dbfec update sentences 2016-03-01 16:09:50 +01:00
Cristian Maglie 4329062787 Updated Stepper lib version 2015-10-28 16:03:17 +01:00
Claudius Coenen 0a819edc54 removing unused variable from Stepper 2015-09-23 23:12:47 +02:00
Federico Fissore 5e98cd8528 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Federico Fissore e04e4a68ec Stepper: releasing version 1.1.1 2015-06-10 15:01:20 +02:00
Cristian Maglie f2a8f517f0 Stepper: fixed indentation 2015-06-05 16:18:46 +02:00
Cristian Maglie 1064554b87 Stepper: optimization on timing calculations
micros() is now called only once per cycle (instead of 3).

The rollover check is superflous because the "last_step_time" field
is unsigned.
2015-06-05 16:18:46 +02:00
Cristian Maglie 0546bf04e0 Stepper library: updated version 2015-06-05 16:18:46 +02:00
Ryan Orendorff 50ca5d8f75 Stepper Library supports 5 phase, 5 wire motors. 2015-06-05 16:18:46 +02:00
ekozlenko caf000b005 Fixed unsigned var and version note 2015-06-05 16:18:46 +02:00
ekozlenko 847816739f Update stepper library: High-speed stepping mod and timer rollover fix
When using the stepper library with a 1.8 degrees per step motor, and at high angular speeds, the current Stepper library leads to really loud and jittery rotation. This is due to the fact that the timing is calculated in milliseconds, and the delay length between steps is only 2.5 milliseconds when trying to spin at 120 rpm. Since only integer math is performed, you end up actually bouncing between different step delays, and thus speeds, from step to step instead of giving the motor a constant input.  Which causes the motor to freak out.

Changing the library to calculate the step delays in micros() solves that problem for any speed you can reasonably demand from your stepper motor. The down side is that the micros() counter rolls over every hour or so, and any move you perform after that point will hang your code. Easy fix for that is to add an || micros() - this->last_step_time < 0 to the while loop if statement in Stepper.cpp.
2015-06-05 16:18:46 +02:00
Federico Fissore 9166828bfe Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
Federico Fissore 5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore 0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
Arturo Guadalupi 9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
Federico Fissore f7106ecc65 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
Federico Fissore 0ae9e3a0d0 Libraries: added missing properties 2015-02-25 11:20:40 +01:00
Arturo Guadalupi ce412a0461 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
Cristian Maglie 6d7751cf5f Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
Fede85 b02e85ceb2 modified sentences in library.properties files 2014-07-18 19:41:34 +02:00
Cristian Maglie 76ded605ff Updated all library.properties to 1.5 rev2 lib format 2014-02-18 22:32:24 +01:00
Federico Fissore b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Cristian Maglie 07d9d558b5 Updated libraries metadata 2013-08-08 16:40:55 +02:00
Fede85 d94e7e8ae0 deleted Twitter examples from Ethernet and GSM libraries 2013-07-10 12:37:02 +02:00
Fede85 dc9c791070 Stepper library to the new format 2013-06-27 19:24:16 +02:00
Cristian Maglie 57b8713cab Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform 2012-01-04 15:14:51 +01:00
Tom Igoe 35777612c0 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
Tom Igoe b3c92d834f added new stepper library examples 2010-10-28 09:39:36 -04:00
Tom Igoe d3643850ce Added public domain notice 2010-02-24 03:53:35 +00:00
David A. Mellis 3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00