Is there an accelerometer on the Wipy?
If not, what is the easiest and most support option?
Accelerometer
Re: Accelerometer
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.
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
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.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Accelerometer
@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.
Index to my micropython libraries.
Re: Accelerometer
Are there any other changes other than pyb --> machine ?
Do some of the function names change ?
Do some of the function names change ?