Page 1 of 1
Accelerometer
Posted: Wed Aug 17, 2016 1:02 pm
by betabrain
Is there an accelerometer on the Wipy?
If not, what is the easiest and most support option?
Re: Accelerometer
Posted: Fri Aug 26, 2016 7:35 pm
by jgmdavies
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.
Re: Accelerometer
Posted: Thu Sep 15, 2016 5:52 pm
by betabrain
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.
Re: Accelerometer
Posted: Fri Sep 16, 2016 7:41 am
by pythoncoder
@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).
Re: Accelerometer
Posted: Tue Dec 20, 2016 1:54 pm
by hemanth
Are there any other changes other than pyb --> machine ?
Do some of the function names change ?