Jump to content

Browser Streaming Robot With The GoPiGo3

Recommended Posts

In this advanced project with the GoPiGo3 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.



Hardware Needed



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.


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 install.sh script:

sudo bash install.sh

Reboot your Pi.



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/cinch_setup.sh

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


Running the Project

Start the server by typing the following command:

sudo python3 flask_server.py

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 



If you have

Raspbian For Robots

installed, then going to 


 address will be enough.   Be sure you have your mobile device / laptop on the same network as your 


Otherwise, you won’t be able to access it.


Source: https://www.dexterindustries.com/GoPiGo/projects/python-examples-for-the-raspberry-pi/browser-video-streaming-robot-gopigo3/

Edited by Fi8sVrs

Share this post

Link to post
Share on other sites

#Hotie pe fata

100 usd?


Dar "scheletul" la 10 dolari 

You must be logged in to see the content.
 ce are?

+ driver l298N ~15 lei pe OLX

Cateva baterii 18650(ca sa nu stai cu pumnul de baterii AA(A) ) , si gata treaba.

  • Upvote 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now