Pi0Rover: A Smart Rover with the Pi Zero


This tutorial demonstrates how to build a Linux drone with the Raspberry Pi Zero. The drone uses a real-time capable Linux kernel, a Debian-based file system and Dronecodeā€™s APM flight stack compiled for the PXFmini autopilot board. All these components have been put together by Erle Robotics in their OS image for the PXFmini.

Erle-Rover built with the elements described below. You'll have to connect these components to compatible autopilots to put into operation:pi0rover a smart rover with the pi zero

Step 1: Get Ready the Autopilot

Required time 30 minĀ 

Connect the PXFmini shield on top of the Raspberry Pi Zero as described in the following content:

You're almost done but you still need to get the right software on the Raspberry Pi Zero+PXFmini set. This should include the flight stack, an appropriate kernel, enabled daemons that auto-launch on boot, and additional goodies.

Fortunately, if you purchased the PXFmini from Erle Robotics you'll get access to their Debian images which include all this so just fetch a PXFmini compatible Debian image and flash it into a microSD card.

Step 2: Mount the Autopilot

Required 30 min

Mounting the autopilot (Raspberry Pi Zero + PXFmini) in the drone can be done usingĀ several methods. Pick yours and connect the JST GH cable from the power module to the PXFmini. This will to power the autopilot when the battery gets connected.

Next is mounting the PWM channels in the autopilot. Get your ESC cables and connect the servomotor 1 (corresponding with the steering) to PWM channel 1, Ā ESC 2 to PWM 2Ā corresponding with the throttle.

schematic pi0rover a smart rover with the pi zeroFinally, you'll need a way to control your drone. I propose two methods:

  • WiFi + gamepad: Have the autopilot create its own WiFi network with a USB dongle (Erle Robotics images support this by default) and use a common gamepath to control the drone through a Ground Control Station.
  • WiFi + ROS: Do you happen to know about theĀ Robot Operating System(ROS)? You can use a ROS node to visualize the flight mode, state and Ā control the drone.
  • Traditional RC: Alternatively you could buy an RC controller withĀ PPMSUM-enabledĀ receiver and attach it to the autopilot (to the PPM-SUM input channel).

If you want to create a flying vehicle check out this tutorial

For more detail: Pi0Rover: A Smart Rover with the Pi Zero

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top