Accelerometer

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

Accelerometer

Post by 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: 57
Joined: Tue Aug 09, 2016 2:39 pm

Re: Accelerometer

Post by 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

Post by 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: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Accelerometer

Post by 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
Index to my micropython libraries.

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

Re: Accelerometer

Post by hemanth » Tue Dec 20, 2016 1:54 pm

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

Post Reply