Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change MPU6050 Orientation In The Program
12-01-2016, 07:34 AM
Post: #8
RE: Change MPU6050 Orientation In The Program
(11-30-2016 11:11 AM)JohnQ Wrote:  "What's the next thing to do? Maybe it's due to the PID. How to tune the PID?"

Well, I guess you will have to "try and fail"!, as far as I know, the official JJRobots Android APP has a way to tune the PID. Try that

I will go to the PID tuning later. The problem now is the motors are stalling. Does the current limit cause it? The motor has current limit of 1.7 A per phase. And I use A4988 stepstick driver. It has Rs of 0.1 Ohm. So I calculate the Vref to limit the current to 1.5A:

Vref=1.5A*8*0.1 Ohm= 1.2 V

But the motors still stall. How do I correctly set the current limit?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Change MPU6050 Orientation In The Program - ewo - 12-01-2016 07:34 AM

Forum Jump:


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