All i can get is zero values. I believe the library has some issues
JaneYu 2017-05-25 14:42:34 11 Views20 Replies All i can get is zero values. I believe the library has some issues
Hello, i encountered a weird issue. I am running the default code on Arduino UNO and
sixDOF.init(); //begin the IMU - sometimes this part last serveral seconds
the default loop code (getEuler and print to serial) - works just fine for about a minute, then it starts to kind of struggle and every loop take more and more time until it finally stops reading/show the data entirely
even extending the loop to one second (with delay) does not help
unplug the whole arduino and plug again and/or push the fresh code to arduino does not help either and i have to wait several minutes
what could be the problem?
JaneYu Hello, I am looking for some python library's related to using this sensor. I know this has been asked previously but am hoping for an undated answer. I have managed to work with the ADXL345 but have been having trouble working with the ITG3200. Any pointers or tips would be appreciated.
JaneYu This communication interface is i2c, so it can be used, and there should be no port problem.
Or you can avoid this problem by not connecting any sensor when uploading.
However, the library file will not be compatible with DUE, and it needs to be modified.
JaneYu can it used with arduino MEGA?? or I will get the same problem like in arduino Due?
Does anyone know if this would be compatible with a teensy 3.6? and is there code readily available to work with? i am completely new to this and need to get this up and working for a school project. Thanks for any help! We are using this to measure the roll, pitch, yaw of a baja car(like a dune buggy)
JaneYu For what this thing costs, 40€, they could have already put some better
defined code example. I want to use it as an automatic stabilizer with
three servos, but something in the code seems wrong or I don't know.
JaneYu For what this thing costs, 40€, they could have already put some better defined code examples. I want to use it as an automatic stabilizer with three servos, but something in the code prevents it.
JaneYu Correction to the above page. This unit is in fact NOT compatible with at least one Arduino board without modification. The Arduino Leonardo runs at 5V, it's processor minimum input voltage is stated as 0.7Vcc for TWI I/O. This equates to 3.5V (assuming a perfectly 5V accurate regulator). The 10 DOF Mems IMU runs on 3.3V logic. It is therefore out of spec by nominally 200mV. Granted this is across the full ATMega temperature and voltage range, even so, for reliability it is ill advisable to be operating outside published specifications.
To resolve this we have changed the LDO on the 10 DOF Mems IMU to a 3.6V part from TI. All the devices on the 10 DOF Mems IMU are 3.6V compliant. This means once connected to the Leonardo Arduino board it is within spec by 100mV. Once variations across tolerance and temperature come into play it may get close but it is certainly 300mV better than the original design!
JaneYu This is a multi dof sensor, the current library is based on Arduino C++, no python library for now. But as it use the most common sensor IC, you can find some python library like ADXL345, HMC5883 online. It will give you an idea of how to adapt the Arduino libraries for RasPi/Python use.
JaneYu I had the same problem, and tried again multiple times over a couple months. Then, I tried the sixDOF_Example.ino sketch in the "Arduino libraries and sample code v0.2/libraries/FreeSixIMU/examples/sixDOF_Example" which worked. Then, I went back and tried the Sample.ino and it magically worked. I didn't change anything, and have no explanation. I am Using an Arduino Mega 2560.
JaneYu what's the arduino board you are using, and did you use the sample code because it includes “Sample_10Dof” and "BMP085"
JaneYu I did use the sample code. I tried it with both Arduino Nano and Mega. In both cases i get zeros. At first i thought may be IMU is faulty so i order anther one same model and still get zeros.


