Page 1 of 1

Using the Portenta's IMU with Micropython code

Posted: Fri Jan 08, 2021 6:44 am
by idohalamit
How can I use the Portenta H7 IMU inside my Micropython code?

Re: Using the Portenta's IMU with Micropython code

Posted: Fri Jan 08, 2021 10:05 am
by iabdalkader
The Portenta H7 doesn't have any IMUs as far as I know.

Re: Using the Portenta's IMU with Micropython code

Posted: Sat Jan 09, 2021 10:25 pm
by rocksetta
I was thinking of getting the adafruit lsm9ds1 https://learn.adafruit.com/adafruit-lsm ... f-breakout as it should work with the same code as the accelerometer examples for the Nano33BleSense. Anyone know if this accelerometer works with the PortentaH7?

EDIT: Sorry I edited your post instead of replying :shock:

Re: Using the Portenta's IMU with Micropython code

Posted: Sat Jan 09, 2021 10:49 pm
by kwagyeman
We got something you will like coming soon :)

Re: Using the Portenta's IMU with Micropython code

Posted: Sun Jan 10, 2021 9:36 am
by idohalamit
Can you recommend any IMU I should order to use with Micropython? I need to order ASAP

Re: Using the Portenta's IMU with Micropython code

Posted: Sun Jan 10, 2021 11:42 am
by kwagyeman

Re: Using the Portenta's IMU with Micropython code

Posted: Sun Jan 10, 2021 2:41 pm
by idohalamit
Exactly! Thanks a thousand

Re: Using the Portenta's IMU with Micropython code

Posted: Sun Jan 10, 2021 10:18 pm
by iabdalkader
I was thinking of getting the adafruit lsm9ds1 https://learn.adafruit.com/adafruit-lsm ... f-breakout as it should work with the same code as the accelerometer examples for the Nano33BleSense. Anyone know if this accelerometer works with the PortentaH7?
There's no reason why it shouldn't, you can use this module I used for the Nano33 and the Nano33's example:

https://github.com/hoihu/projects/blob/ ... lsm9ds1.py