Question on SN-IMU5D-LC

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

Question on SN-IMU5D-LC

Postby muhzd » Fri Aug 14, 2015 3:24 pm

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.
muhzd
Freshie
 
Posts: 6
Joined: Fri Jan 16, 2015 6:04 am

Re: Question on SN-IMU5D-LC

Postby ober » Tue Aug 18, 2015 8:36 am

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.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: Question on SN-IMU5D-LC

Postby aswad » Thu Oct 29, 2015 1:59 pm

tumpang tanya,
atan2 function memang ada dlam compiler hitec ke?
include math.h je kan?
no need buat function dia?
aswad
Novice
 
Posts: 23
Joined: Sun Apr 08, 2012 10:30 am

Re: Question on SN-IMU5D-LC

Postby bengchet » Thu Oct 29, 2015 3:17 pm

Hi,

Yup. Masukkan #include <math.h> je. Boleh refer link ini juga for more info, page 175. 8-)
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

Re: Question on SN-IMU5D-LC

Postby aswad » Fri Oct 30, 2015 12:37 am

thank you, dah tengok tadi,
function prototype pun kne declare ke?
aswad
Novice
 
Posts: 23
Joined: Sun Apr 08, 2012 10:30 am

Re: Question on SN-IMU5D-LC

Postby Nurul.Syuhada » Fri Oct 30, 2015 8:11 am

Hi, Just see the example in page 175. It may help. :)
Nurul.Syuhada
Moderator
 
Posts: 17
Joined: Mon Jun 01, 2015 9:23 am

Re: Question on SN-IMU5D-LC

Postby aswad » Sun Nov 08, 2015 11:31 pm

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?
aswad
Novice
 
Posts: 23
Joined: Sun Apr 08, 2012 10:30 am


Return to Sensor

Who is online

Users browsing this forum: No registered users and 10 guests