Pluto Logo

by Drona Aviation

Profile
Menu
All Projects
X-Hybrid
ADD-ON MODULE
X-Hybrid on Drone

X-Hybrid

ACTUATORIntermediate
X2_XHYBD

Wheel attachment module used for ground mobility. Transforms the Pluto X drone into a hybrid air-ground vehicle capable of both flying and driving on surfaces. Uses Motor ports M1 and M2 for differential drive wheel control.

DIFFICULTYIntermediate
PORTMotor (M1, M2)
SIGNALPWM (Motor)

WHAT YOU'LL LEARN

  • Controlling DC motors via PWM for ground locomotion
  • Programming hybrid air-ground vehicle modes
  • Understanding drive control vs flight control
  • Transitioning between flight and ground modes

DOWNLOADS

PlutoBlocks Code
Coming Soon
HEX Firmware File
GitHub Latest.hex
1

The Challenge

✨

Build a program to control ground-based wheel movement, enabling the drone to drive on flat surfaces.

2

Understanding the Add-On

The X-Hybrid module is a wheel attachment that transforms the Pluto drone into a hybrid air-ground vehicle. It uses DC motors controlled via PWM signals to drive wheels, enabling the drone to roll along flat surfaces. This opens up a new dimension of mobility, allowing the drone to conserve battery by driving instead of flying when appropriate, and to navigate tight indoor spaces where flight may not be practical.

3

Wiring & Connections

The X-Hybrid uses the Motor (M1, M2) on the Primus X2 board. Compatible with Pluto X (Primus X2) only. The X-Hybrid uses motor ports M1 and M2 for differential drive. Ensure the wheel assembly is securely attached to the drone frame before operation.

Primus X2 PinPeripheral
Motor M1 portLeft wheel motor
Motor M2 portRight wheel motor
4

How It Works

Approach The wheel motors are controlled via Motor ports M1 and M2 on the Primus X2 board. RC stick inputs (throttle, pitch, roll) are converted into differential drive commands for left and right wheels, with deadband handling for smooth control. Code Logic Explained On Start: Both motors M1 and M2 are initialized and set to minimum speed (1000), ensuring wheels start stationary.Pluto Loop: RC stick values are read for throttle, pitch, and roll. Pitch controls forward/backward movement, roll controls turning, and throttle scales overall speed. A 200µs deadband zone (1400-1600) prevents drift when sticks are centered. The code uses differential drive mixing - left wheel = pitch + roll, right wheel = pitch - roll - enabling tank-style steering. Motor direction is set forward or reverse based on the computed commands.On Stop: Both motors are set to minimum speed (1000), stopping all wheel movement.

5

Real-World Applications

Hybrid air-ground surveillance Indoor navigation in tight spaces Ground-based exploration before takeoff

6

Try Further

Ready for the next challenge? Try these extensions to deepen your understanding. 1Program autonomous ground navigation using IR sensors. 2Create a mode-switching system that transitions between flying and driving. 3Build a ground-following patrol robot that can take off when needed. Pluto Drone Add-On Projects — Compatible with Pluto 1.2 (Primus V5) & Pluto X (Primus X2) — Drona Aviation

7

PlutoBlocks Code

✨

PlutoBlocks code for this module is coming soon. Stay tuned for updates!

8

PlutoIDE Code (C++)

✨

PlutoIDE C++ code for this module is coming soon. Stay tuned for updates!

9

Real-World Applications

Motor_Init
Motor_Set
Motor_SetDir
RcData_Get
Receiver_Mode
Hybrid air-ground surveillance
Indoor navigation in tight spaces
Ground-based exploration before takeoff
10

Try Further

Ready for the next challenge? Try these extensions to deepen your understanding.

1
Program autonomous ground navigation using IR sensors.
2
Create a mode-switching system that transitions between flying and driving.
3
Build a ground-following patrol robot that can take off when needed.