Skip to content

VerosK/mqtt-robot-webdriver

Repository files navigation

webdriver

Requirements

On Debian/Ubuntu install python libraries:

sudo apt-get install python-configparser python-flask python-paho-mqtt

Configuration

Edit driver.ini and configure your MQTT server (default is broker.hivemq.com)

How to start:

  • set-up mqtt broker (or use public)

  • connect your robot to the MQTT broker

  • add MQTT broker to your page

  • Run main.py

  • Use joystick on http://127.0.0.1:5000/

Micropython part is available on https://github.com/VerosK/mqtt-robot-nodemcu

curl shortcut

curl http://127.0.0.1:5000/robot/178c2300/ -X POST --form left=100 --form right=100

About

Simple flask application for driving two wheeled robots based on NodeMCU motor shield

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •