Accelerometer

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
betabrain
Posts: 5
Joined: Wed Aug 17, 2016 12:55 pm

Accelerometer

Postby betabrain » Wed Aug 17, 2016 1:02 pm

Is there an accelerometer on the Wipy?

If not, what is the easiest and most support option?

jgmdavies
Posts: 56
Joined: Tue Aug 09, 2016 2:39 pm

Re: Accelerometer

Postby jgmdavies » Fri Aug 26, 2016 7:35 pm

As far as I can tell, some versions of the 'pyboard' have an accelerometer, the BBC micro:bit has one, but the WiPy doesn't - can anyone confirm or deny this please?

If it's no for the WiPy, how about something like this? https://www.sparkfun.com/products/13944

But I guess the best would be if you used something compatible with the MicroPython 'Accel' library, so some research is needed.

betabrain
Posts: 5
Joined: Wed Aug 17, 2016 12:55 pm

Re: Accelerometer

Postby betabrain » Thu Sep 15, 2016 5:52 pm

As far as the docs go I couldn't find a reference to an accelerometer. I guess that's a no. Thank you for the link.

User avatar
pythoncoder
Posts: 1564
Joined: Fri Jul 18, 2014 8:01 am

Re: Accelerometer

Postby pythoncoder » Fri Sep 16, 2016 7:41 am

@betabrain There are drivers for MPU9150 and MPU9250 modules here https://github.com/micropython-IMU. The cheaper MPU6150 is supported. These were written for the Pyboard: some adaptation will be required for the WiPy but I'd expect changes to be minor (mainly discarding pyb in favour of machine).
Peter Hinch

hemanth
Posts: 1
Joined: Tue Dec 20, 2016 1:41 pm

Re: Accelerometer

Postby hemanth » Tue Dec 20, 2016 1:54 pm

Are there any other changes other than pyb --> machine ?
Do some of the function names change ?


Return to “The WiPy and CC3200 boards”

Who is online

Users browsing this forum: No registered users and 1 guest