@sodoku Thanks. I just got an email that the M5's are back in stock... Digikey still showing backordered though. Guess i'll have to order from M5 directly.
Posts made by ekalfwonS
RE: Speed up GPS data update
@m5stack It would be good if there was some documentation explaining how to use the M5Stack to do the transparent transmission. Could that be added to the GPS Module product page, or linked from it? Right now there's a link to the software but no indication how one would use it with the GPS module.
RE: Speed up GPS data update
@m5stack can you be more specific? What software are you referring to? The Windows software linked to on the GPS module page (https://www.u-blox.com/en/product/u-center-windows)? Can that software talk to the GPS to update it through the USB connection to the M5Stack while it's connected?
InvenSense MPU-6886 Vibration Stability
Has anyone done any work with the M5Stack mounted in a vehicle?
I've got the IMU displaying pitch and roll graphically, and it works very nicely on a desktop. But when mounted in a vehicle, the engine vibration starts it bouncing around and the stability is lost. Roll and pitch errors +/-10-15 degrees bouncing back and forth make the display unreadable.
Has anyone else had this experience, and is there a way to filter the data to smooth out the readings?
RE: Problems with the GPS-Module
Worth noting just in case others don't notice this:
- The internal antenna is connected by default.
- To use the external antenna, you'll have to unplug the internal and plug in the external antenna cable.
- Getting an initial fix from the internal antenna will take alot longer than plugging in the external antenna.
- Once you've got a fix with the external antenna, the internal antenna will pick up quicker the next time you try it.
- As long as you power up the GPS once in a while and let it get an updated fix, the internal antenna should keep connecting reliably. The external antenna wlll be faster, but the internal should be good enough.
RE: M5 Stack FIRE Artificial Horizon
Thanks for the Twitter link, i've reached out to see if he can help.
I did figure out how to do a rudimentary calibration by waiting for a button press and then setting the current values for roll and pitch to "offset" values and "correcting" subsequent readings using them. It works well enough for now, and I can calibrate in different orientations.
The only issue now is that this just uses the magnetometer, I think... I'm only reading &roll and &pitch from IMU.getAhrsData(), i'm not reading the gyro values. So this is susceptible to motion, if I slide the unit from side to side on the table the horizon tilts when it should stay horizontal.
M5 Stack FIRE Artificial Horizon
I've been working on an artificial horizon display on the M5 Stack Fire. This is based on the "bodmer" code, but modified for the higher-resolution screen of the M5 Stack. Here's a video taken just after I got the code working:
Since then, I've replaced the random pitch and roll angle generator with calls to IMU.getAhrsData();. This works, except for two issues:
The "zero" is not level. With the Fire sitting flat on the table (screen parallel to table surface), pitch reads zero but roll reads 10 degrees off.
I really want this to sit with the screen perpendicular to the table... ie. pitch=90.
I can manually go in the code and set the offsets, but is there a way to "zero" the IMU before it starts? The IMU demo sketch offers initAK8963() and initMPU9250() but neither apply to the Fire, which now ships with an MPU6886 according to the M5 support email.
M5 Stick Gyro Demo
The M5 Stack twitter feed shows this Gyro Demo for the M5 Stick C:
Any idea where that code could be found? I'd like to adapt it to the M5 Stack Fire.