"You can turn anything into an air mouse if you're brave enough"
— Piper, a.k.a. Pez
Naturally, the quote above applies to Flipper as well.
The app allows you to turn your Flipper into a USB or Bluetooth air mouse (you do need an extra module, see the Hardware section below)...
Using it is really simple:
USB
, or pick Bluetooth
and pair it with your PC;See early prototype in action.
git clone --recurse-submodules
to include the driver implementations.ufbt
The custom module is using Bosch BMI160 accelerometer/gyroscope chip connected via I2C.
Note: in fact, some other IMU chips are also supported. It's detected via the first found I2C Address.
Chip | Expected I2C Address |
---|---|
BMI160 | 0x69 |
LSM6DS3 | 0x6A |
LSM6DSO | 0x6B |
Take a look into the schematic folder for Gerber, BOM and CPL files, so you can order directly from JLCPCB.
Original idea:
Expectation:
Reality:
The code is based on the original Bosch driver and an orientation tracking implementation from the Google Cardboard project
TL;DR: Use the code however you want, give credit where it's due, no warranty of any kind is provided.