O'Reilly logo

Getting Started with Raspberry Pi Zero by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting a webcam

Now you are ready to observe the output of a USB webcam connected to your car. This is quite straightforward; simply plug in a USB webcam and download a video viewer. One such video viewer that works well is guvcview. To install this, type sudo apt-get install guvcview.

With all these tools installed, you can now run vncview. When you are viewing the graphical screen of Raspberry Pi Zero type guvcivew –r 2 and you will be able to see the video from the webcam. You can control your RC car remotely by running the xcmodControl.py program that you wrote earlier. The screen will look similar to the following screenshot:

Connecting a webcam

You will notice ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required