Coder Social home page Coder Social logo

dungyichao / web-remote-control-robot Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 41.13 MB

Control robot manipulator through web browser

C 56.32% HTML 3.47% CSS 0.84% JavaScript 1.07% Python 3.22% C++ 35.08%
arduino-uno raspberry-pi tinkerkit-braccio-robot pi-camera remote-control mjpeg-stream http-server

web-remote-control-robot's Introduction

Web Remote Control Robot

In this tutorial, we will show you how to control your robot manipulator through web browser. We will use our handmade http web server, mjpeg streaming server, and robot server to achieve the goal. If you have not read the tutorial for HTTP Server, please read it first.

1. What is the Goal and what you need to have

Let's first take a look what are we going to achieve after this tutorial.

robot-control-video-20220301.mp4

1.1 Hardware and Documents you need to have

Hardware:

  • Tinkerkit Braccio Robot
  • Arduino UNO Rev3
  • Raspberry Pi 3 Model B+
  • Raspberry Pi Camera Module 2 (or other WebCam)
  • USB 2.0 Cable Type A/B

Documents: The following codes can be downloaded from this repository Code folder.

File Name Language Function/Support Purpose
http_server.c C HTTP Web Server Web server, serving the web page to client web browser
mjpeg_server.c C Streaming Server Streaming server, serving MJPEG to client web browser
picam.py Python Streaming Server Communicate with Raspberry Pi Camera Module, output to mjpeg_server.c
robot_server.py Python Robot Server Listen from http_server.c. Output command to Arduino UNO through serial. Respond to http_server.c.
utility.py Python Robot Server Some function for robot_server.py
arduino_braccio.ino C Robot Control Listen from robot_server.py through serial. Output to Tinkerkit Braccio Robot. Respond motor status to robot_server.py. This programming is uploaded to Arduino
index.html HTML Web Page Web pages
mystyle.css CSS Web Page Web pages style
robot.js Javascript Web Page Web pages functions

2. System Overview

Please review the following system structure of our remote control robot design

2.1 Concept and System Structure

2.2 Hardware Connection

2.3 Software Compile and Execute

We put the Code folder (provided in this repository) under Raspberry pi /home/pi/Desktop. The command to run Http Server, Streaming Server, Robot Server are in the following image.

The Arduino folder is for Arduino, not for Raspberry pi

web-remote-control-robot's People

Contributors

dungyichao avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.