Search results

  1. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Finally getting back into this after a few months so ordered another board and I'm still getting the same result. Thank you again for your efforts but think my skills are not up to troubleshooting.
  2. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Sorry for the delay. Thank you again for all of your work! Unfortunately, I adjusted the orientation in the m5 library, calibrated the atom using motioncal, inputted the values, and am still getting very sketchy results. Compass only goes between ~150 and ~190 degrees. At this time, I'm I...
  3. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Cannot express how thankful I am for all of your work. Tied up with kids at Christmas today but hopefully can get some time tonight or tomorrow. Thank you again and Happy Holidays!!
  4. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    I did and got the following in MotionCal: All looks good. Also went with the six point calibration and got: I did not use the magnetometer scale factor/bias. However, when I show in imu3 all looks ok but after a yaw movement, it will reach a position, and then drift away when holding...
  5. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thank you so much! I'm found the program and I'm getting reasonable values.
  6. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    What program are you using for this screenshot?
  7. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thank you so much and looking forward to playing. Really like the form factor and with your help think I can get it working!!
  8. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Tried imu.begin(&Serial) and did not get any output. Since you ordered one, the first hangup I hit is trying to use Wire but the M5 library has it setup for external i2c devices. Wire1 works for the internal i2c.
  9. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thank you again! I checked and the i2c addresses appear correct. I'm able to verify i2c communications and the correct chip id. However, it keeps sticking at imu.begin() . Think it would be perfect as a small compass if it would return decent tilt compensated values.
  10. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Just reread your earlier message so I'm trying to give your library a shot but it appears my skills are not up to the challenge. I'm using your examples zip file you attached to a prior message and I'm able to get them to compile but am getting BMI270 init failed. Tried to look at the i2c...
  11. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    I did not since I had other issues and the m5unified library already having the imu functions. However, I did use your example and the algorithms as a reference and greatly appreciate it.
  12. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    With my poor coding abilities, I've spent quite a bit of time and have found the following: 1) had to remap axes for both accelerometer and magnetometer so that ax = ay ay = ax, and mx = my my = mx which gets me decent headings when staying flat. I'm able to get tilt compensaton on pitch, but...
  13. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thanks so much for your help! I was unable to find the scaling factors but after doing a simple calibration of the magnetometer, I'm getting reasonable results. Now, I'm working on adding a Madgwick filter to handle the tilt compensation. I'll share once I get some results.
  14. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Absolutely, https://gist.github.com/russellkt/ef138ce1938d1c2b7314877a9529ca30 . Any help appreciated and completely understand there might be a delay. Also, here's some sample output of the mag x,y,z values: mx:-211.572113 my:212.044464 mz:-79.290131 mx:-217.569672 my:227.038361...
  15. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thanks so much for the quick response. While it does have a different microcontroller, it does use a bmm150 and bmi270. The m5unified appears to provide a wrapper around the bosch library. https://shop.m5stack.com/products/atoms3r-dev-kit I tried to adapt your code to fit and am getting the...
  16. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    I received the m5stack atoms3r but am having a tough time getting the output correct for motioncal. Is there a way to send sample serial monitor output that goes into motioncal?
  17. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Will do and thank you for the link to the cable. Have you been satisfied with the results? I hope to be able to use the m5atom bmm270 / bmi150 combination to give a heading either published over a socket or on a display for a small sailboat without having to purchase and connect a 9 dof...
  18. R

    Using BMM270 Accel/Gyro and BMI150 Magnetomer Sensors with Teensy 4.x

    Thanks so much for all your work on adapting for the m5stack boards! I have one on order and have been looking for ways to apply the filters.
Back
Top