Page 1 of 1
ESP32 air mouse project
Posted: Wed Feb 07, 2024 3:29 am
by wavetekken
anyone know how to use ESP32 + MPU-6050 to build a air mouse in flowcode?
Re: ESP32 air mouse project
Posted: Fri Feb 09, 2024 8:39 am
by stefan.erni
Hi wavetekken
I know a little about ESP32 and MPU-6050.
You can also use other IMU like MPU6886 or LSM9DS1 both components that flowcode supports well.
For the first test, you must use the Bluetooth Serial Port Profile (SPP).
Bluetooth Low Energy (BLE) is not yet supported, but I hope maybe one day.
Then we can use the HID profile.
Bluetooth control devices can be connected via HID ("Human Interface Device Profile").
You are familiar with these from PCs and games consoles, for example. Controllers, mice and keyboards are just such devices.
They send a signal via HID as to which button you press or how you move the mouse
let me know how you get on.
regards
Stefan