Copy config.py.example to config.py, then (re-)flash the robot
(see below).
In a Python 3 virtual env, do:
$ python -m pip install esptool adafruit-ampy requests clickOn Ubuntu install:
sudo apt-get install python3-pip python3-requests python3-click
pip3 install esptool adafruit-ampy ampyThen, run python flash-me.py mqtt to flash the robot.
This uploads both firmware and Python modules.
If the firmware is successfully flashed, then on subsequent flash-me.py
you can pass -X to only update the Python modules.
-
robot moves both wheels after successfull connection to WiFi
-
otherwise open terminal and connect to the board
-
NodeMCU board with ESP8266
-
DOIT Motor shield for NodeMCU (guide)
-
Two DC motors with wheels
-
lunch box
- Open terminal (Putty, Picocom, Minicom or whatever). speed: 115200
minicom -D /dev/ttyUSB0- Press
Ctrl+Cto stop running Python code. Prompt>>>should appear.
Web joystick for MQTT is available at https://github.com/VerosK/mqtt-robot-webdriver/