Jump to content
OKQL

Browser Streaming Robot With The GoPiGo3

Recommended Posts

In this advanced project with Please login or register to see this link. 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 Please login or register to see this link. . 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.

GoPiGo3_Camera_Shot-1024x578.png

 

Hardware Needed

  • Please login or register to see this link.
  • A Raspberry Pi
  • Please login or register to see this link.

gpg3_on_marble-768x575.png

 

Connecting the Camera module

Attach the Please login or register to see this link. to the port on the Raspberry Pi.  For more details on how to attach the camera, see our tutorial Please login or register to see this link. .

 

Setting up the GoPiGo Video Streaming Robot

You should have cloned the Please login or register to see this link. onto your Raspberry Pi.  Install the Pi Camera dependencies and Flask by running the install.sh script:

sudo bash install.sh

Reboot your Pi.

video_shot-of-streaming-robot-768x435.pn

 

Setup to Run on Boot

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

install_startup.sh

and this should start the flask server on boot. You should be able to connect to the robot using “Please login or register to see this link. ” or if using the Cinch setup, you can use “Please login or register to see this link.

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 

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.

 

Source: Please login or register to see this link.

Edited by Fi8sVrs

Share this post


Link to post
Share on other sites

#Hotie pe fata

100 usd?

Rlly?

Dar "scheletul" la 10 dolari Please login or register to see this link.  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

×