Inspired by the project https://loginov.rocks/Web-Bluetooth-Terminal/ that is described in detail on github and medium this project provides a BLE remote for Arduino robots.
The digital controller looks like this:
The idea is to program a controller for students that don't have a smartphone (can use their laptop) and in general no need to install a software. Probably it is easier to create a WiFi hotspot and use a local website on the ESP32 instead. Then it would be compatible with Apple products as well.
The layout should follow the keys from the BitBlue iOS app from BitBus for BLE connections. We have 4 buttons for direction, four buttons for interaction and two more buttons: Start and Select.
The transmitted letters are assigned as follows:
- Up - 'U'
- Down - 'D'
- Left - 'L'
- Right - 'R'
This interface is a copy of Danila Loginov and his Github repository.
It uses the html controller project from Yoann Moinet that really looks and works great.
Unfortuanely Web Bluetooth is not yet supported by Safari, iOS or macOS as of 2020. Several emails with consideration have been added to the mailing list since 2015, but the status at the end of 2020 looks like this:
You can look at an updated overview here.
The project started in December 2019 and the digital controller was finished in February 2020. With the limitations the analog one will not be finished but the time instead be focused on a local website served by the ESP32 as a AP.