Jump to content
I2Cdevlib Forums

All Activity

This stream auto-updates

  1. Last week
  2. Dear, Here are a "new" version of your program about HMC5843. With centering datas for "correct" evaluation of vector magnitude which should be "constant", with no pertubating magnetic field. Best regards HMC5843_raw_v05.ino
  3. Earlier
  4. In the event that you are searching for how to introduce, download and set up McAfee antivirus software on gadgets like Windows, Mac, and Android then this guide is the awesome you. Prior to taking you through the arrangement strategies, let us disclose to you that the establishment methodology of McAfee antivirus relies upon the kind of gadget you need to introduce to. McAfee Certificate Error
  5. Hello guys. I am trying to make an alarm for a moving object using mpu6050. I connected the sensor to Arduino and tried to attach it to an object from my house, in case someone moves it, even very slowly, I want to know. The problem is that i made the motion interrupt setting but if i move the object slowly, it does not detect anything, whereas If i tap it, I get imediately an alarm. What you think, what should I tune? Does it have a connection with the accelerometer range or sample rate? Thanks. // Here it is set the motion detect routine . You are able to set the sensitivity
  6. Dear Rusell, I could not understand either that same concern. I totally get your point, taking the -521 LSB as the offset and 35 (ºC) as the offset measurement conditions (as could checked in the datasheet screenshot provided below). However, adding that offset value instead of subtracting it and adding 35 results in an accurate reading value. Also consider that if you extend the temperature's measurement through the time, the board will self-heat. I noticed risings around 0.6 to 1 degree. Please, before slopping any opinion here, keep in mind that the readings were tested to be
  7. I am looking for a working example of motion detection on MPU6050. I hope to combine it with the DMP example sketech.
  8. I have seen following calculations at library of the mpu6050. Why is calculated XAxisFinal, YAxisFinal and ZAxisFinal accelerometer values as following? If (XAxisFinal>0.99) XAxisFinal=1; if (YAxisFinal>0.99) YAxisFinal=1; if (ZAxisFinal>0.99) ZAxisFinal=1; or if (XAxisFinal<-0.99) XAxisFinal=-1; Can not the values of XAxisFinal, YAxisFinal and ZAxisFinal bigger than 1 or smaller than -1?
  9. I had a similar problem. I resolved it my adding the i2cdev and mpu6050 library folders to the MY DOCUMENTS/ARDUINO/LIBRARIES FOLDER. For some reason they need to be there even if they exist in the library folder of ARDUINO residing in the Program Files Folder.
  10. I had a similar problem. I resolved it my adding the i2cdev and mpu6050 library folders to the MY DOCUMENTS/ARDUINO/LIBRARIES FOLDER. For some reason they need to be there even if they exist in the library folder of ARDUINO residing in the Program Files Folder.
  11. Hello, I have the following scenario for which I am trying to calculate the associated metrics. An IMU functioning at 100HZ has been used to capture accelerometer (3 axis) and gyroscope (3 axis) data for a body in motion. The data is presented in an excel spreadsheet with frame, Ax (m/ss), Ay, Az, Gx(deg/s), Gy, Gz. From this data I am looking to calculate the Vmax during the downward phase of motion as well as for the upward phase. I also would like to calculate the maximum displacement (ie transition point from downward to upward phase). I know the double integration method is the recom
  12. Hello,So I'm a newbie trying to build my first self balancing robot using MPU6050 and L928n Driver, I got this tested code (which it was supposed to work ok since I'm using the same hardware and connections). But as i run the code it got stuck in the message "DMP ready! Waiting for first interrupt...". Does anyone have an I idea what problem this could be? Here is the code: #include "PID_v1.h" #include "LMotorController.h" #include "I2Cdev.h" #include "MPU6050_6Axis_MotionApps20.h" #if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE #include "Wire.h" #endif #define MIN_ABS_SPEED 2
  13. I had one of my GY-521's that would always fail the testConnection() function and also would not calibrate. So before throwing it away I ran the getDeviceID() function and discovered that its ID was 0x39. On investigation in MPU6050.cpp, the return value is only true if the ID is 0x34, even further, the following functions (all of the offsets) only work with DeviceID's less than 0x38 !!! int16_t MPU6050::getXAccelOffset() { uint8_t SaveAddress = ((getDeviceID() < 0x38 )? MPU6050_RA_XA_OFFS_H:0x77); // MPU6050,MPU9150 Vs MPU6500,MPU9250 I2Cdev::readBytes(devAddr, SaveAd
  14. Hi, I am new in the arduino sorry in advance for if I am wrong. I am using dmp I want use mpu6050 interrupt for my low power consumption. Please help me out
  15. I am trying to get the data from an accelerometer , i.e BMI160. how I will get x,y and z values from driver to appliaction..if anybody worked on it please help me out..it's urgent! reference link https://github.com/BoschSensortec/BMI160_driver. data sheet: https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMI160-DS000.pdf Thanks in advance!
  16. Hello, I´m new with this sensor, but have been reading a lot. I´m pretty sure you should change set up in the library MPU6050_6Axis_MotionApps_V6_12.h. Regards Santiago
  17. In C++, you can specify default argument values in the prototype declaration. So you're on the right track, but the default values in this case are actually false. https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/MPU6050.h#L800
  18. Greetings, There is a piece of code called setMemoryBank, in the MPU6050 class (MPU6050.cpp). It looks like this: void MPU6050::setMemoryBank(uint8_t bank, bool prefetchEnabled, bool userBank) { bank &= 0x1F; if (userBank) bank |= 0x20; if (prefetchEnabled) bank |= 0x40; I2Cdev::writeByte(devAddr, MPU6050_RA_BANK_SEL, bank); } This is used in dmpInitialize() (MPU6050_6Axis_MotionApps20.h). Likewise, further down in dmpInitialize() writeProgMemoryBlock() is called to write the DMP code to the IMU. However, inside writeProgMemoryBlock() the
  19. To download McAfee Antivirus, kindly open up the web browser and visit mcafee.com/activate then enter your activation code and press enter, then choose your language and country. At last, verify your email address to activate the product. McAfee provides a full range of security products such as antivirus, firewall and anti-spyware programs. Also, learn how to uninstall McAfee.
  20. Hi! I would like to report that the Upload button does not exist and therefore there is no way for me to upload a csv. Thank you in advance.
  21. Hi there, I am using MPU6050 with two servos. With some extra addings to example MPU6050_DMP6_using_DMP_V6.12 there was no problem with servos. But when I wanted to use BMP180 and combined all of these in one code I get FIFO overflow. I was looking for solutions but none of them solved my problem exactly(or can't apply correctly). I tried to minimize the readings of datas of BMP180 and I get FIFO overflow less frequently. But servos are still slow and respond the changes of MPU6050 litte lately. So this lagging absolutely ruins the project and I cannot make any progress without solving th
  22. Hello and thanks in advance for the great library, I'm planning to use the MPU6050 as the IMU of my university rocket team's 3km apogee rocket for telemetry. The problem is, it means that I would have to use the 16g range of the accelerometer. It's desirable to use the device's DMP as it's the most precise and hassle-free solution, but I didn't seem to find a way to set the device's range to 16g while using its DMP. I tried modifying the teapot example to include the line mpu.setFullScaleAccelRange(MPU6050_ACCEL_FS_16); after the device initialization and after the DMP initializati
  1. Load more activity
×
×
  • Create New...