Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
B-Robot DRV8825 Problem
12-10-2015, 10:45 PM
Post: #7
RE: B-Robot DRV8825 Problem
Nice thank you both for that quick reply!

First I will try now to get the robot working with both motor drivers and microstepping=16.
But when I look at the changes I do not understand why the robot is not working.
I use microstepping=16 and the same code as posted from sasa999:

#if MICROSTEPPING==16
speed = speed_M2 * 46; // Adjust factor from control output speed to real motor speed in steps/second
#else

So its 500*46=23000 and the limit should be okay?
I also tested the calculator to determine the maximum speed but I'm not sure:

Imax=1.7(A)
L=4.0(mH)
Voltage=0.6(V) => I have trimmed the motor drivers to 0.5Volt or should I enter the 2.8V from the Technical Specifications of the motor?
Steps/Revolution=400 => Or should I enter 6400 (400degrees*16microstepping)?

Minium Time/Step 27.2(miliseconds)

How can I use this value now to adjust the factor in this line?:
speed = speed_M1 * 46; // Adjust factor from control output speed to real motor speed in steps/second
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
B-Robot DRV8825 Problem - weekeda - 12-09-2015, 10:49 PM
RE: B-Robot DRV8825 Problem - KomX - 12-10-2015, 06:31 AM
RE: B-Robot DRV8825 Problem - sasa999 - 12-10-2015, 11:50 AM
RE: B-Robot DRV8825 Problem - weekeda - 12-10-2015, 11:51 AM
RE: B-Robot DRV8825 Problem - sasa999 - 12-13-2015, 10:33 AM
RE: B-Robot DRV8825 Problem - sasa999 - 12-10-2015, 06:45 PM
RE: B-Robot DRV8825 Problem - KomX - 12-10-2015, 08:33 PM
RE: B-Robot DRV8825 Problem - weekeda - 12-10-2015 10:45 PM
RE: B-Robot DRV8825 Problem - KomX - 12-11-2015, 04:17 AM
RE: B-Robot DRV8825 Problem - sasa999 - 12-11-2015, 10:32 AM
RE: B-Robot DRV8825 Problem - weekeda - 12-11-2015, 01:45 PM
RE: B-Robot DRV8825 Problem - sasa999 - 12-11-2015, 02:16 PM
RE: B-Robot DRV8825 Problem - KomX - 12-11-2015, 05:18 PM
RE: B-Robot DRV8825 Problem - sasa999 - 12-11-2015, 06:45 PM
RE: B-Robot DRV8825 Problem - KomX - 12-11-2015, 08:46 PM
RE: B-Robot DRV8825 Problem - sasa999 - 12-11-2015, 09:46 PM
RE: B-Robot DRV8825 Problem - KomX - 12-12-2015, 07:02 AM
RE: B-Robot DRV8825 Problem - sasa999 - 12-12-2015, 09:58 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)