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

Controlling the vehicle using the Raspberry Pi Zero in Python

The first step to take advantage of the functionality is to install the library associated with the control board, which can be found at http://www.monkmakes.com/?page_id=698. You need to connect your Raspberry Pi Zero to the Internet with either a wired or WLAN connection. Issue the following commands in a terminal window on your Raspberry Pi Zero:

  1. Type wget https://github.com/simonmonk/raspirobotboard2/raw/master/python/dist/rrb2-1.1.tar.gz: This will download the library to your Raspberry Pi.
  2. Type tar -xzf rrb2-1.1.tar.gz: This unarchives the library.
  3. Type cd rrb2-1.1: This changes directory to the location of the files.
  4. Type sudo python setup.py install: This installs the libraries. ...

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