Introduction: Browser Streaming Robot With the GoPiGo3

In this advanced project with the GoPiGo3 Raspberry Pi Robot we build a Browser video streaming robot which streams live video to a browser and can be controlled from the browser.

In this project we use a the Raspberry Pi Camera module with the GoPiGo3. You can control the robot using the a controller on the browser as the live video streams directly on the browser. The video quality is very good and the latency of the video is low, making this ideal for live video streaming robot projects.

Step 1: Parts Needed

Step 2: Connecting the Camera Module

Attach the Raspberry Pi camera module to the port on the Raspberry Pi. For more details on how to attach the camera, see our tutorial here.

Step 3: Setting Up the GoPiGo Video Streaming Robot

You should have cloned the GoPiGo3 github code onto your Raspberry Pi. Install the Pi Camera dependencies and Flask by running the script:

sudo bash

Reboot your Pi.

Step 4: Setup to Run on Boot

You can run the server on boot so you don’t have to run it manually. Use the command

and this should start the flask server on boot. You should be able to connect to the robot using “http://dex.local:5000” or if using the Cinch setup, you can use “”

You can setup Cinch, which will automatically setup a wifi access point, with the command

sudo bash /home/pi/di_update/Raspbian_For_Robots/upd_script/wifi/

On reboot, connect to the WiFi service “Dex”.

Step 5: Running the Project

Start the server by typing the following command:

sudo python3

It’s going to take a couple of seconds for the server to fire up. A port and address will be shown in there. By default, the port is set to 5000.

If you have Raspbian For Robots installed, then going to http://dex.local:5000 address will be enough. Be sure you have your mobile device / laptop on the same network as your GoPiGo3. Otherwise, you won’t be able to access it.

Raspberry Pi Contest 2017

Participated in the
Raspberry Pi Contest 2017