Needs ready to roll firmware package that includes MPU9250 fusion driver.
Posted: Sun Feb 03, 2019 8:03 pm
I'm a DOS plodder from way back to the PC's birth.
Before then, I did my thing with Apple Basic on an Apple II. I did some serious test control software with the Apple II clones.
Then life happened, and jobs changed, and design and coding became a bucket list thing. But now I'm retired, and it's time for the bucket list.
Now, I've got a nice project that I want to do. It involves reading and recording data from several IMU's. It started off with Arduino Nano's and early on realized the importance of utilizing the fusion processor inside the IMU. But I needed a high data bandwidth (min 100 Hz, but hell, the IMU can do 1kHz accelerometer readings)
So I started looking at the Py Zero running Python. But nope, it's not a RTOS, so the recording will 'stutter'.
My quest then was for a micro that's easy to program, real time, tiny, powerfull and frugal. And the ESP8266 running MicroPython seems to be what I need. (Yes, I realize that garbage collection will still cause a stutter, but way more controllable than an underlying OS will).
And yes, there's https://github.com/tuupola/micropython-mpu9250 or https://pypi.org/project/micropython-mpu9250/ which appears to be right stuff.
And here's the crunch:
For two weeks now I've been mired in Linux (Greek to me) trying to figure out how to get those modules added to the firmware. I went through installing virtual boxes and vagrants and dead ends and Linux warnings and errors and threats and failures............
I really tried to research and do this on my own, but the time has arrived to ask for help.
What I ask for is this: Firmware (the .bin file) that's based on the latest stable release of MicroPython for ESP8266 but with the MPU9250 module included. @pythoncoder mentions that he used 'frozen bytecode' but not how he did it.
Step by specific step instructions with correct URL's also works, thats how I installed the 'stable' firmware originally.
I'm here to program in MicroPython, not learn Linux.
Before then, I did my thing with Apple Basic on an Apple II. I did some serious test control software with the Apple II clones.
Then life happened, and jobs changed, and design and coding became a bucket list thing. But now I'm retired, and it's time for the bucket list.
Now, I've got a nice project that I want to do. It involves reading and recording data from several IMU's. It started off with Arduino Nano's and early on realized the importance of utilizing the fusion processor inside the IMU. But I needed a high data bandwidth (min 100 Hz, but hell, the IMU can do 1kHz accelerometer readings)
So I started looking at the Py Zero running Python. But nope, it's not a RTOS, so the recording will 'stutter'.
My quest then was for a micro that's easy to program, real time, tiny, powerfull and frugal. And the ESP8266 running MicroPython seems to be what I need. (Yes, I realize that garbage collection will still cause a stutter, but way more controllable than an underlying OS will).
And yes, there's https://github.com/tuupola/micropython-mpu9250 or https://pypi.org/project/micropython-mpu9250/ which appears to be right stuff.
And here's the crunch:
For two weeks now I've been mired in Linux (Greek to me) trying to figure out how to get those modules added to the firmware. I went through installing virtual boxes and vagrants and dead ends and Linux warnings and errors and threats and failures............
I really tried to research and do this on my own, but the time has arrived to ask for help.
What I ask for is this: Firmware (the .bin file) that's based on the latest stable release of MicroPython for ESP8266 but with the MPU9250 module included. @pythoncoder mentions that he used 'frozen bytecode' but not how he did it.
Step by specific step instructions with correct URL's also works, thats how I installed the 'stable' firmware originally.
I'm here to program in MicroPython, not learn Linux.