This library can be used to send control commands to a Roomba using the NodeMCU (ESP8266).
Still in early development...
Edit init.lua
with your Roomba code, then type make all
to upload everything to your NodeMCU.
Tested on NodeMCU v2, with the following build parameters:
NodeMCU custom build by frightanic.com
branch: 1.5.4.1-final
SSL: true
modules: bit,cjson,crypto,dht,file,gpio,i2c,mqtt,net,node,pwm,rtcmem,rtctime,sntp,spi,tmr,u8g,uart,ucg,websocket,wifi,tls
Firmware built using NodeMCU Build
- Obtain data from sensors
- Create functions for Roomba actions, such as
spinleft()
,driveforward()
, andwakeup()
- Send sensor data, and receive commands via MQTT
If you find any bugs or issues, please create an issue.
If you want to improve this library, please start with the Todo list, and make a pull-request.
Copyright (c) 2017 Alexander Williams, Unscramble [email protected]