Page 1 of 1

Question on SN-IMU5D-LC

PostPosted: Fri Aug 14, 2015 3:24 pm
by muhzd
Hello cytron,

For the part SN-IMU5D-LC, is it a gyro plus an accelerometer? Or..rather on the gyro part, it actually measure the 'rate' of the turn instead of static angle. I am looking for a part that can measure static angle relative to flat ground.

Please clarify, thanks.

Re: Question on SN-IMU5D-LC

PostPosted: Tue Aug 18, 2015 8:36 am
by ober
Yes, the IMU is actually the combination of gyro and accelerometer. To measure the tilt angle relative to ground in static condition (the sensor is static and not moving), you can use only the accelerometer itself. If you want to measure the angle in dynamic condition (the sensor is moving, example: quad copter, balancing robot) then you need to combine the reading from both the gyro and accelerometer with complementary filter or even Kalman Filter.

Re: Question on SN-IMU5D-LC

PostPosted: Thu Oct 29, 2015 1:59 pm
by aswad
tumpang tanya,
atan2 function memang ada dlam compiler hitec ke?
include math.h je kan?
no need buat function dia?

Re: Question on SN-IMU5D-LC

PostPosted: Thu Oct 29, 2015 3:17 pm
by bengchet
Hi,

Yup. Masukkan #include <math.h> je. Boleh refer link ini juga for more info, page 175. 8-)

Re: Question on SN-IMU5D-LC

PostPosted: Fri Oct 30, 2015 12:37 am
by aswad
thank you, dah tengok tadi,
function prototype pun kne declare ke?

Re: Question on SN-IMU5D-LC

PostPosted: Fri Oct 30, 2015 8:11 am
by Nurul.Syuhada
Hi, Just see the example in page 175. It may help. :)

Re: Question on SN-IMU5D-LC

PostPosted: Sun Nov 08, 2015 11:31 pm
by aswad
i have use imu and complementary filter and interrupt 10ms,
and the result look good at LCD, but motor not fast response based on error.
is it have any idea?