Chapter9
Last updated
Last updated
Raspberry PI is a very powerful platform. It can not only run python to control the GPIO pins, but also can be used as generic server for various applications. In this chapter, we will set up two web servers: one web server to stream the live camera views and another web server for the user to control the robot through browser.
We open sourced the entire project and the code can be found on .
If you installed the camera module on raspberry PI. The camera view can be streamed live. The code for live stream can be found on .
Tornado web server is used for our project. Information about Tornado can be found on tornado's website . Tornado web server is running on port 9000 of raspberry PI's IP address. To access the raspberry car, please type the following in a browser (PC, Pad, or mobile phones) :
A web page will show up. It consists of a live streaming of the camera view and control bottoms for car movement.