Skip to content
/ remote Public

Use a browser and BLE as a remote for your robot.

License

Notifications You must be signed in to change notification settings

kreier/remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLE remote from a browser (laptop or phone)

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.

Terminal and Remote for Bluetooth Low Energy

The digital controller looks like this:

web remote

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.

Layout

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.

Key assignment

The transmitted letters are assigned as follows:

  • Up - 'U'
  • Down - 'D'
  • Left - 'L'
  • Right - 'R'

Source code used

Progressive WebApp

This interface is a copy of Danila Loginov and his Github repository.

Analog controller

It uses the html controller project from Yoann Moinet that really looks and works great.

Compatibility of Web Bluetooth in the Browser

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:

compatibility of web bluetooth

You can look at an updated overview here.

History

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.

About

Use a browser and BLE as a remote for your robot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published