About: RunMyRobot

RunMyRobot is a site where you can run or control robots. We are all about robots for anything, education, exploration, and other stuff.

How to Add Your Own Robot to runmyrobot.com

BTW, you'll need to connect your robot to the internet and have a camera so people can see what's going on via video stream. A script will be provided to help with the streaming. You can mount a camera in the room or on the robot, your choice. The robot control will work though socket.io, and code will be provided to help with that.

Step 1: Start a New Robot on runmyrobot.com

Picture of Start a New Robot on runmyrobot.com


After logging in, visit the New Robot page at runmyrobot.com

Fill in the name of your robot.

Step 2: Link your robot so that it can be controlled by anyone remotely

Picture of Link your robot so that it can be controlled by anyone remotely

Setting Up the Robot Controller


Install socketIO-client for python:
pip install -U socketIO-client

(I'm assuming you are using the adafruit dc and stepper motor HAT driver here. If you are not, you'll need to install the driver that matches your hardware.)
Install adafruit motor driver prerequisites
sudo apt-get install python-smbus
sudo apt-get install i2c-tools

Install the motor driver according to:

Be sure to follow the instructions about i2c:

Install RunMyRobot controller and video streaming which is on github:https://github.com/runmyrobot/runmyrobot



controller.py is set up to use the motor controller from Adafruit and if you have that with motor 1 and 2, it should be able to control the motors immediately. If not you can just use controller.py as an example and do things your own way.

On the computer controlling the robot, run using your Robot ID:

Now click the left, right, forward, back buttons. They should be sending signals to your controller.py program. You'll see that it's doing something if your a viewing standard out (that is, running it from a command line). And if you have motor attached using Adafruit's motor controller HAT, it should make motor1 and motor2 move.

Step 3: Set up video so others can see your robot

Picture of Set up video so others can see your robot

Install ffmpeg on the computer that's sending video. That could be onboard the robot or a camera placed in the room looking at the robot.

On the computer connected to the camera, if you haven't downloaded the code yet, use this:


Run using your Camera ID:

When you run this, you should see video appear on the new robot page.

Step 4: Check to make sure your robot is online

Now, when you visit the main page of runmyrobot.com, you'll see YOUR robot in the drop down list. You can visit that robot, see it's live stream, and control it. Anyone in the world can do the same. Let us know if you have any issues by posting in the Disqus page or here!