This is the code for the webapp used to control Mr Scribbles (A dancing drawing Robot)
Some people love expressing themselves while dancing; some people do it while drawing. We thought, why don't we combine those two and create something fun? The Dancing Drawing Robot was created to help people feel more comfortable about their bodies, about their movements โ about being weird sometimes ;)
- Our robot was driven by the arduino microcontroller, connected to DC and servo motors. The robot moves from left to right using the DC motors and has arms that rotate 180 using the servo motor. View the entire video here
- We picked out famous dance moves and trained a model on ml5 to recognise the poses. These poses were meant to act as a replacement for the standard front, back etc buttons on controllers used for robots.
- We created a webpage that had a "menu" of poses available to the user. This webpage initiated an instance of our ml5 model to recognise the poses captured by the webcam.
- This webpage was connected to a websocket server(built on NODEJS).
- The server on receiving the data forwards the data to our arduino through serial communication.
- Here is where the client logic resides.
- A new instance of the trained ml5 model is created that helps identify the poses made by the user and on appropriate identification sends the data to the server.
- The server runs on expressJS.
- It acts as an messenger between the arduino and client. It waits for incoming messages from the client and transmits it to arduino using the serial communication library.
- It handles the following conditions
Find the webapge on https://tranquil-dawn-67895.herokuapp.com/
More on our development process here
To try out the robot, feel free to reach out Just a quick start of the robot and you will be able to control it remotely.