Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: king28 on October 08, 2009, 04:21:13 AM
-
hi,everyone,
I am using the IMU 5DOF from sparkfun to design my balancing robot, connected it to the PIC18f4550.
before i open this new topic,i have search and read trough this forum and gppgle ,but it was nothing explain about how to check the signal.
i would like to know how to or what instrument is use to test the IMU ,to check whether it is good in condition before we programmed it.
how can i obtained the signal?? what tools i should use?
thank you.
-
Hi,
[...] what tools i should use?
A thesarus would probably be a good start. A Link generator wouldn't go amiss either.
Or to put it another way.. Your feable attempt of l33t speak sort of clouds the explanation - I for one haven't really got the slightest idea of what you are asking.. Or whether you're actually asking anything at all.
And please don't think we have the time to dig up URLs for your stuff that you could have posted very easily - come on the world revolves around magma.
-
Hi,
[...] what tools i should use?
A thesarus would probably be a good start. A Link generator wouldn't go amiss either.
Or to put it another way.. Your feable attempt of l33t speak sort of clouds the explanation - I for one haven't really got the slightest idea of what you are asking.. Or whether you're actually asking anything at all.
And please don't think we have the time to dig up URLs for your stuff that you could have posted very easily - come on the world revolves around magma.
easy on him - some quick google searching on this guy reveals hes from Asia, probably Malaysia . English probably isn't his thing.
Just check the datasheet king28 , it has everything you seek. There is even sample code included on the page! - http://www.sparkfun.com/commerce/product_info.php?products_id=9268 (http://www.sparkfun.com/commerce/product_info.php?products_id=9268)
-
Hi,
easy on him - some quick google searching on this guy reveals hes from Asia, probably Malaysia . English probably isn't his thing.
I wasn't referring to his apparent 2. language (English isn't really my first language either btw.), but rather to the, sadly much to often seen, lack of trying to present a question in a manner understandable by even the one asking it, not including links etc.
Give a man a fish and he'll eat for one day, but teach him to ask questions in a concise and informative manner and we'll all get more sleep ;)
-
thank you airman,i have go through that website before this, but dint get it.
thank you soeren,u means the IMU pin can connected to the generator to read the signal...ok.i will try it.
ya i am from malaysia,but i am not sure the fish can eat or not...haha..
anyway wish u all have a nice sleep
-
Use a multimeter to test it. In fact, I was just testing that sensor this morning with a multimeter.
The datasheet isn't that reliable, as manufacturing tolerances were pretty horrible. I tested three of them, and they were all off by an average 30% from what the datasheet claimed.
-
Yeap - the device contains an accelerometer, ADXL335, which claims a linear response for each axis (ie the graph is a straight line). But the manufacturing tolerances seem to indicate that the 'zero point' can be different for each axis and also different for the same axis but across different devices. Then to make it harder - the responsiveness (ie the gradient of the line) also changes from axis to axis, and from device to device.
Then of course it all changes again depending on the Voltage of the power source.
So your code has to be adapted to the specific device you are using by checking the range of values it can output for each axis. Give your code to a friend, or plug in another IMU5, and it won't work as expected until you do another range check.
I've been struggling to provide generic ADXL335 support in WebbotLib for exactly these reasons ie every chip seems to be unique - what the.. !
Unless you know different .....
-
Hi,
I've been struggling to provide generic ADXL335 support in WebbotLib for exactly these reasons ie every chip seems to be unique - what the.. !
If they're that different from one to the next, what about incorporating a calibration routine in the lib (saving a table or, if possible, a math function in non-volatile mem)?
-
I've been struggling to provide generic ADXL335 support in WebbotLib for exactly these reasons ie every chip seems to be unique - what the.. !
If they're that different from one to the next, what about incorporating a calibration routine in the lib (saving a table or, if possible, a math function in non-volatile mem)?
Yeap, thats exactly what Webbot and I are working on. It'll probably be included in the next released version.