Jump to content
I2Cdevlib Forums

All Activity

This stream auto-updates

  1. Yesterday
  2. Hi all! Have you ever heard of websites where homework is done for you? And what about the sites that develop mobile applications for you? What about programming? Not? And I'll tell you where these works are being prepared! Then it will be really interesting for you to look here. They do any job in the shortest possible time and at very reasonable prices! Fly in sooner - https://www.domychemistry.com/do-my-organic-chemistry-homework
  3. Hi all! My name is Gaby. How are you doing? My team and I provide assistance with online r programming assignment help, programming in different languages, from Java to Python, c assignment helper and much more. And also we can help you with your homework in mathematics, physics, chemistry, history to make an essay for you on any topic or report. Are you still thinking? Then we will surprise you with good prices!
  4. Last week
  5. Hi, I am trying to read an accelerometer and gyro data using MPU-6050. I am using the ESP32-S3-HMI kit. I am getting all zeros in the accelerometer and gyro data. However, I can read chip ID(who am I reg value 0x68), Power management, and other config registers. I can also able to read temperature sensor data connected using I2c. Any suggestions for this issue? Please note that the chip is in wake mode by disabling SLEEP by writing a 0 to the PWR_MGMT_1 (0x6B) register. Attaching the interface pic of MPU-6050 and HDC1080DMBR(Temperature sensor) with ESP32 for the reference. Please let me know how to read the data from the MPU-6050.
  6. Earlier
  7. I teach high school robotics. Someone donated me 200 cheap drones, because their motors are all defective. I am using them for a variety of things, including simply replacing the motors and using them as drones. I do have some projects that would benefit from cheap transmitters and receivers that I can salvage from these drones. The applications, however, are very much limited by the stabilization functions of the flight board. Any application that involves motion, and is not a drone, suffers from the chaos caused by the stabilization function thinking it is still trying to keep a drone level. I am looking for some sort of way to defeat the stabilization function. That could be by physically disabling the MPU-6050C chip, or by somehow flashing this flight board with new firmware that allows me to either adjust or turn off the stabilization. The challenge is that the flight board is most certainly not set up for an end user making any modifications to the firmware. I do suspect, however, since it was programmed in the first place, that there is some way that it could be done. Any ideas would be most helpful. I am going to attach some images that might help anyone understand what I am looking at. Here are the images https://drive.google.com/drive/folders/1DaVIcn7rjxoWty9Dpo6okvxl2Ix8m0KK?usp=sharing
  8. Hello, I hope you guys can help, and thank you in advance for your advice. I'm new to Python and Micro Python. I'm working on an interesting project, I would like to run a RPi4b as a master and 2 x Pico's to run as Slaves. Connection will be via the I2c pins, clock and data lines. Please see attached image of part of the circuit diagram so you get a sense of what I am trying to do. Essentially, I would like to connect 3 stepper motors, 2 load cells and 1 x servo motor to Pico 1. Pico 2 will be identical configuration as Pico 1. I understand that we will use i2c connection, but curious (as I am still learning) how this would be executed in the codebase. Does the code base for the full system live / reside on the Rpi4 and the addresses for the pins on the subsystem referenced in this code?, or is the code for the subsystem to reside on the pico's in micro python and then referenced as a package to the Rpi4? I hope this makes sense, I welcome clarification questions if necessary and thank you for your guidance and support. Best Kiranmai
  9. Are you also getting correct readings then? When i set full scale accelerometer range to 3 it delivers negative values. Only setting to 0 seems to provide right values.
  10. I used: mpu.initialize(); mpu.dmpInitialize(); mpu.setFullScaleGyroRange(3); mpu.setFullScaleAccelRange(3); mpu.setDLPFMode(3); Worked fine.
  11. I'm no expert, but I read elsewhere that the interrupt "pinmode()" should use a pull up/down resister so that an open (unattached) pin does not generate random values. I'm just now debugging a bunch of other problems with the example sketches...not all problems are in the sketches. Some problems are in the core cpp code. I hope to share them when I sort it out.
  12. getDeviceID() is not the device address. My device id for the MPU6050 is 52...go figure. But it's address is certainly 0x68 (default) and can be made 0x69 (ADO high). I don't think the ID is important unless you are using other devices (not multiples of the same) on the I2C line. I'm using multiple MPU6050 and they all report ID of 52.
  13. Hey all! I've been looking around here for the past few days and it's exciting to see other people trying to get the most out of these sensors. For some reason, when running the MPU6050_DMP6 example from the i2cdev library, the rpy values are shown in the serial monitor for a while, but then suddenly the serial monitor stops entirely or the values freeze and continuously output the same value regardless of how the imu is moved. Do you all have any idea what might be causing this? I'm using a wifi arduino mkr 1010 and a GY-521 breakout board. I'm using the dedicated SDA and SCL pins on the wifi arduino and the 3.3v VCC port to power the MPU6050. The data only seems to be able to come in to the serial monitor for about a minute. When the board stops printing data to the serial monitor entirely, I noticed that the Arduino loop { } gets stalled. Commenting out mpu.dmpGetCurrentFIFOPacket(fifoBuffer) seems to prevent loop { } from stalling, but obviously I don't get any data in the serial monitor when that function isn't called. Any pointers or tips would be appreciated!
  14. Hi! Did you make any progess? I'm triyng yo use DMP with dspic33f I'm a little bit lost without the documentation
  15. Hi. I am using the MPU6050 in interrupt mode. I want it to interrupt my ESP32 when movement is detected. I don't need to read anything from the MPU6050 when that interrupt happens, but just get the message that there was movement. This works under normal circumstances. However, if I turn on cycle mode, which makes the MPU6050 go into a low power mode and only cycle at 1.25Hz or at any of the cycle rates: MPU6050_CYCLE_1_25_HZ MPU6050_CYCLE_5_HZ, ///< 5 Hz MPU6050_CYCLE_20_HZ, ///< 20 Hz MPU6050_CYCLE_40_HZ Then the MPU6050 will not interrupt when moved. If I take the MPU out of that mode, interrupts start happening again. Can anyone verify that this is normal, or if I am doing something wrong? It seems to me that the low power cycle mode should be well suited for use with the interrupt, but that does not seem to be the case.
  16. Did you ever find out how to set this matrix? I need it because I've found that with my 6050 chip tilted 80 degrees it takes 7 seconds for it to stabilize. I'm hoping that by swapping the axes so it is -10 degrees instead of +80 that it will stabilize quicker.
  17. The full comment from the motion_driver_6.12\motion_driver_6.12\msp430\eMD-6.0\simple_apps\msp430\mllite_test.c file line 956 /* * Known Bug - * DMP when enabled will sample sensor data at 200Hz and output to FIFO at the rate * specified in the dmp_set_fifo_rate API. The DMP will then sent an interrupt once * a sample has been put into the FIFO. Therefore if the dmp_set_fifo_rate is at 25Hz * there will be a 25Hz interrupt from the MPU device. * * There is a known issue in which if you do not enable DMP_FEATURE_TAP * then the interrupts will be at 200Hz even if fifo rate * is set at a different rate. To avoid this issue include the DMP_FEATURE_TAP * * DMP sensor fusion works only with gyro at +-2000dps and accel +-2G */
  18. Hi there, Another post mentions the following note from InverSense "DMP sensor fusion works only with gyro at +-2000dps and accel +-2G" [mllite_test.c, l. 967]. It looks like DMP has been build for the wearables market for step counting and gestures ect. I would suggest that if this is confirmed that it be included in the DMP FAQ section. I ran some tests and while DMP does not throw an error at other settings but the values returned did not look correct. If you are looking at 16G measurements I would suggest pulling the raw values and doing the Math in the MCU. Regards Dave
  19. Hi....It appears as though the issue was with the document ways for the libraries on my windows 10 PC. I downloaded an adjusting robot sketch that utilizes similar libraries as the MPU6050_DMP6 sketch and it assembled with practically no issues. I then, at that point, subbed the MPU6050_DMP_6 sketch and it likewise ordered with practically no issues.
  1. Load more activity
  • Create New...