Twitch Chat Controlled Robot

I'm developing small robots that can be controlled via Twitch Chat. Twitch Plays Robot Battles

Similar projects worth following the use of ESP8266s and small robotics platform I am giving control of small robots to twitch chat. The ESP8266 connects to the IRC twitch chat channel and looks for commands. When a command is found the ESP8266 sends a serial command to an Arduino Pro Mini which controls the robot. The bots have hammers attached to micro servos that they use to hit targets on the other robot. The robots have a health system that shows their health on stream. Twitch's new low latency mode finally allows for such interactive elements to become viable. Thanks to Nate Damon and his AtlTVhead project which was the springboard for this project.

Here is a VOD of the livestream where we built the robot.

  • 1 × Arduino Pro Min
  • 1 × L298N Dual Motor Controller Non-IC RF, IF, RFID, ZigBee Components / Amplifiers
  • 1 × ESP8266 WiFi Pixel board You can read about Protoneer's WiFi Pixel here.
  • 2 × 6v DC Micro Motors (75:1)
  • 1 × Pololu Zumo Robot Chasis The Zumo Chasis has tons of mounting points for additional weapons, parts, sensors.

View all 6 components

  • New Arena and VIEWERS

    theotherlonestar08/08/2018 at 12:33 0 comments

    The channel is starting to attract some interest. The battles are getting to be more fun since I'm not controlling either robot. Here is a clip of some new viewers going at it. Also, I'm trying out some new arena designs. It has to be able to be taken apart for easy storage between streams yet tough enough to not get thrown around. I may have to add a floor that attaches to the walls. Still working on it.  

  • Robot Battle Clip

    theotherlonestar08/02/2018 at 22:09 0 comments

    Here's a clip of the Robots doing battle

  • Health System and second robot. Battles are good to go.

    theotherlonestar07/29/2018 at 16:52 0 comments

    I have 2 robots now and an HP system to keep track of robot health. When  a robot gets hit their health bar lowers. We had our first match and it was lots of fun.

  • Robot tips its fedora

    theotherlonestar07/19/2018 at 11:20 0 comments

    For fun while figuring out the mount for the servo I added a little fedora to the robot that it can tip with the command !fedora.

  • Bot gets a weapon and shroud.

    theotherlonestar07/19/2018 at 11:18 0 comments

    I've added a cute hammer, a body, and a panel that registers when hit. I have the code setup so that it will register a hit even if it is in the middle of a command. 2 way communication is working so that the Arduino pro mini talks to the ESP8266 which can talk to twitch chat. I had an issue that the robot would sometimes fall backwards and get stuck on it's back when it hit something tall. I fixed this by setting the hammer to return in a position that rights it self the right way up. Works great. Now if it falls on it's back it gets back up.

  • Wireless camera?

    theotherlonestar07/08/2018 at 17:00 0 comments

    i'd love to add a wireless camera to the bots so the audience can experience a view from the bot. Not sure how to do this. Replace the Arduino pro mini with a Pi Zero W and a Pi Cam? Get a couple defunct cell phones and install the New Tek NDI app? This is something to think about.

  • Future Plans

    theotherlonestar07/08/2018 at 16:48 0 comments

    The robot is coming along nicely. The next step is to design and 3D print a shroud with targets that can be hit during battle. I think the robots will work off an HP system where they need to be hit a certain number of times for the match to end. I'll add a Graphic interface to the live stream to show how much health each robot has left. I've designed a mount for a micro servo that should work well for the weapon arm. I'm thinking comically large hammers should work nicely. Because of the ease in mounting things to the zumo platform it should be easy to swap weapons out.

View all 7 project logs

Enjoy this project?



Josh Starnes wrote 07/10/2018 at 21:32 point

Seriously I would live to be involved in this :)

  Are you sure? yes | no

theotherlonestar wrote 07/29/2018 at 16:49 point

Stop by the stream! We had our first match last night. It was awesome.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates