03 idea

Motor & ESC test

The first flight controller program: spin each motor through its ESC, props off. Learn how the motor signal works and check order, direction and power draw.

What it needs

  • Set up C on the Pico: VS Code + the Pico extension, blink the LED first.
  • Each motor spins at the speed we ask for, in the right order and direction.
  • Motors stop the moment the signal stops.
  • Measure the current the motors pull from the battery.

Choices

Language

open
  • C (Pico SDK)
  • C++
  • Rust
  • MicroPython

Leaning: C (Pico SDK)

The standard for microcontrollers: official SDK, the most examples, steady timing. Go is for web services only.

Motor signal

open
  • DShot (digital)
  • PWM (classic)

Leaning: DShot

The test ESCs run BLHeli_S, which accepts DShot as well as PWM.

Battery

decided
  • 4S 5800 mAh
  • 4S 4000 mAh
  • 4S 5000 mAh
  • 3S 5000 mAh

Chosen: 4S 5800 mAh

Bought: YS Power 14.8 V 5800 mAh 55C with an XT60 plug.

ESC layout

open
  • Four separate ESCs
  • 4-in-1 ESC board

Leaning: Four separate ESCs

The combo's four Cyclone 45A BLHeli_S ESCs are for bench testing only. The flight ESCs are still to choose.

Questions

  • Which ESCs will fly? Choose them after the bench tests with the Cyclone ESCs.

Next step

  • Blink the Pico's LED, then spin one motor, props off.

Comes after

Leads to