lego-boost-app
lego-boost-app copied to clipboard
React Application for controlling Lego Boost from the browser with Web Bluetooth API
Lego Boost Browser Application
Control Lego Boost from the browser without any installations.
Deployed to: https://legoboost.azurewebsites.net/
Features
- Code control
- Control Boost with JavaScript code
- Manual control
- Control Boost with arrow controls
- AI control
- Boost drives automatically and evades obstacles
- Individual motor control
- Control each motor individually
Manual control
Code control
Progressive Web Application
Application asks permission to add a link to mobile phone's home screen. Application will then open as a standalone application.
Web Bluetooth API
Application uses Web Bluetooth API to communicate with Lego Boost.
Web Bluetooth API works with Windows, Mac, Linux and Android (6.0->) devices with Chrome and Opera browsers. Unfortunately Apple iOS doesn't support Web Bluetooth.
If connection doesn't work, test connection to Lego Boost with Google's sample tester.
Communication module
Uses lego-boost-browser package for device communication and control.
Run locally
$ npm install
$ npm start
Docker
NOTE: lego-boost-browser package is installed from GitHub. Docker will work after package is released to npm.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Disclaimer
LEGO and BOOST are Trademarks from The LEGO Company, which do not support this project.
Project maintainers are not responsible for any damage on your LEGO BOOST devices - use it at your own risk.
License
Licensed under the MIT License.