Achievements

It's been long time since I wrote this code and as I remember,Hi Ahmet Burkay KIRNIK! I am newer of mpu can u descrip me:Wire.beginTransmission(MPU_addr);Wire.write(0x3B);Wire.endTransmission(false);Wire.requestFrom(MPU_addr,14,true);this part sets and I2C connection between mpu and arduino.AcX=Wire.read()<<8|Wire.read();AcY=Wire.read()<<8|Wire.read();AcZ=Wire.read()<<8|Wire.read();this part reads raw x, y, z values from mpu and saves them to AcX , AcY and AcZ respectively.int xAng = map(AcX,minVal,maxVal,-90,90);int yAng = map(AcY,minVal,maxVal,-90,90);int zAng = map(AcZ,minVal,maxVal,-90,90);x= RAD_TO_DEG * (atan2(-yAng, -zAng)+PI);y= RAD_TO_DEG * (atan2(-xAng, -zAng)+PI);z= RAD_TO_DEG * (atan2(-yAng, -xAng)+PI);this part translates raw values to degree. As I remembe...

It's been long time since I wrote this code and as I remember,Hi Ahmet Burkay KIRNIK! I am newer of mpu can u descrip me:Wire.beginTransmission(MPU_addr);Wire.write(0x3B);Wire.endTransmission(false);Wire.requestFrom(MPU_addr,14,true);this part sets and I2C connection between mpu and arduino.AcX=Wire.read()<<8|Wire.read();AcY=Wire.read()<<8|Wire.read();AcZ=Wire.read()<<8|Wire.read();this part reads raw x, y, z values from mpu and saves them to AcX , AcY and AcZ respectively.int xAng = map(AcX,minVal,maxVal,-90,90);int yAng = map(AcY,minVal,maxVal,-90,90);int zAng = map(AcZ,minVal,maxVal,-90,90);x= RAD_TO_DEG * (atan2(-yAng, -zAng)+PI);y= RAD_TO_DEG * (atan2(-xAng, -zAng)+PI);z= RAD_TO_DEG * (atan2(-yAng, -xAng)+PI);this part translates raw values to degree. As I remember, I found that calculation part from internet and translated it to Arduino code.

Is it any problem with using drv8825 instead of tb6560 in any project? I am making a cnc machine and I want to use drv8825, not tb6560 because its cheaper. I am not using Arduino btw. I am gonna use this: http://urun.gittigidiyor.com/bilgisayar-tablet/cnc...