Merge pull request #33 from dacarley/idle-current-1-amps
Changed idle-current to 1 amp
This commit is contained in:
@@ -147,7 +147,9 @@ class Config(object):
|
||||
for motor in config['motors']:
|
||||
motor['stall-microstep'] = 8
|
||||
motor['stall-current'] = 1
|
||||
motor['idle-current'] = 1
|
||||
motor['max-accel'] = 750
|
||||
motor['latch-backoff'] = 5
|
||||
if motor['axis'] == 'X' or motor['axis'] == 'Y':
|
||||
motor['search-velocity'] = 1.688
|
||||
motor['max-velocity'] = 10
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
@@ -48,7 +48,7 @@
|
||||
"min-soft-limit": 0,
|
||||
"max-switch": "disabled",
|
||||
"step-angle": 1.8,
|
||||
"stall-current": 1.0,
|
||||
"stall-current": 1,
|
||||
"stall-sample-time": 200,
|
||||
"microsteps": 16,
|
||||
"stall-volts": 2,
|
||||
@@ -64,9 +64,9 @@
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
@@ -86,29 +86,29 @@
|
||||
},
|
||||
{
|
||||
"latch-velocity": 0.1,
|
||||
"max-accel": 10,
|
||||
"max-velocity": 17,
|
||||
"search-velocity": 0.5,
|
||||
"max-accel": 750,
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "manual",
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
"stall-microstep": 8,
|
||||
"min-soft-limit": 0,
|
||||
"max-switch": "disabled",
|
||||
"step-angle": 1.8,
|
||||
"stall-current": 1.5,
|
||||
"stall-sample-time": 50,
|
||||
"stall-current": 1,
|
||||
"stall-sample-time": 200,
|
||||
"microsteps": 16,
|
||||
"stall-volts": 6,
|
||||
"stall-volts": 2,
|
||||
"axis": "Y",
|
||||
"min-switch": "disabled",
|
||||
"max-jerk": 50,
|
||||
"max-soft-limit": 752,
|
||||
"zero-backoff": 1
|
||||
"max-jerk": 1000,
|
||||
"max-soft-limit": 410,
|
||||
"zero-backoff": 1.5
|
||||
},
|
||||
{
|
||||
"latch-velocity": 0.1,
|
||||
@@ -116,9 +116,9 @@
|
||||
"max-velocity": 3,
|
||||
"search-velocity": 0.675,
|
||||
"travel-per-rev": 4,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-max",
|
||||
"reverse": true,
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
@@ -64,9 +64,9 @@
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
@@ -86,29 +86,29 @@
|
||||
},
|
||||
{
|
||||
"latch-velocity": 0.1,
|
||||
"max-accel": 10,
|
||||
"max-velocity": 17,
|
||||
"search-velocity": 0.5,
|
||||
"max-accel": 750,
|
||||
"max-velocity": 10,
|
||||
"search-velocity": 1.688,
|
||||
"travel-per-rev": 10,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "manual",
|
||||
"homing-mode": "stall-min",
|
||||
"reverse": false,
|
||||
"stall-microstep": 8,
|
||||
"min-soft-limit": 0,
|
||||
"max-switch": "disabled",
|
||||
"step-angle": 1.8,
|
||||
"stall-current": 1.5,
|
||||
"stall-sample-time": 50,
|
||||
"stall-current": 1,
|
||||
"stall-sample-time": 200,
|
||||
"microsteps": 16,
|
||||
"stall-volts": 6,
|
||||
"stall-volts": 2,
|
||||
"axis": "Y",
|
||||
"min-switch": "disabled",
|
||||
"max-jerk": 50,
|
||||
"max-soft-limit": 752,
|
||||
"zero-backoff": 1
|
||||
"max-jerk": 1000,
|
||||
"max-soft-limit": 816,
|
||||
"zero-backoff": 1.5
|
||||
},
|
||||
{
|
||||
"latch-velocity": 0.1,
|
||||
@@ -116,9 +116,9 @@
|
||||
"max-velocity": 3,
|
||||
"search-velocity": 0.675,
|
||||
"travel-per-rev": 4,
|
||||
"idle-current": 0.5,
|
||||
"idle-current": 1,
|
||||
"drive-current": 2.8,
|
||||
"latch-backoff": 5.001,
|
||||
"latch-backoff": 5,
|
||||
"enabled": true,
|
||||
"homing-mode": "stall-max",
|
||||
"reverse": true,
|
||||
|
||||
Reference in New Issue
Block a user