Author: Daniel Jordan Viray
My first foray into AI-powered robotics
Feb 17, 2026 · Building the Drone · by Daniel Jordan Viray
Note: brain-dumped into AI and written with AI.
If you’ve been following along, you know I’ve been obsessed with the idea of building AI-powered robotics — not just software, but physical machines that can move through the world. And the first step to giving AI a body? You actually have to build the body.
So I built a drone.
Now before you ask — no, there’s no AI on it yet. This was phase one: get the thing off the ground. But that’s kind of the whole point. Most consumer drones are closed systems. You can’t open them up, you can’t install edge computing, you can’t run a Raspberry Pi or any custom hardware on them. They’re black boxes. And with DJI — pretty much the dominant player — facing bans in the US, if you want a truly open, hackable drone platform, you basically have to build one yourself.
So that’s what I did.
I went with the HawxWorks F450 drone kit rather than sourcing every component individually. Could I have gone the full DIY route, hunting down motors and ESCs and frames separately? Sure. But I didn’t want to spend my time soldering and troubleshooting individual components when my actual focus is the AI-robotics bridge — not traditional robotics for its own sake. The kit made sense. It’s not that hard to assemble if you follow the instructions. But “not hard to assemble” does not mean “not hard to get flying.” Those are very different things.
Here’s what I learned the hard way.
Weight distribution matters more than you think
When you’re doing the physical build, keep everything as centered as possible. Battery, flight controller, any additional hardware — the weight distribution has a real impact on how the drone behaves in the air. I didn’t fully appreciate this until I saw it in action. Even a slight imbalance to one side will tilt the drone in flight, and compensating for it isn’t straightforward. You can’t just plug a number into the Pixhawk and say “hey, I’m 20 grams heavier on the left.” It doesn’t work like that. So just get it as balanced as you can from the start.
The transmitter settings are deceptively complicated
I wasn’t prepared for how many configurations the transmitter has. You have to reverse certain throttles, set up a failsafe switch for if the drone flies out of range, dial in limits and floors — there’s a lot going on. I won’t pretend I fully understand all of it yet. But the instructions walk you through it, so as long as you don’t skip steps, you’ll be okay. Just don’t assume it’s plug-and-play.
ArduPilot and Mission Planner are deeper than they look
The Pixhawk flight controller is genuinely impressive once you understand what it’s doing. It’s talking to the ESC on each motor, telling each one exactly how fast to spin — and it’s doing that in real time to keep the drone stable. The firmware behind all of this is ArduPilot, and you configure it through a desktop app called Mission Planner. I was a little naive going in about how complex this layer is. There are hundreds of parameters you can tune. It’s deep.
The tricky part for me was arming the motors. The Pixhawk won’t let the motors spin unless everything checks out — GPS signal, battery voltage, SD card logging, all of it. And if something’s off, it’ll just refuse to arm and give you cryptic error messages. I was getting a “battery voltage: 0” error on a fully charged battery. GPS wasn’t being detected. The pre-arming logging check was failing, which pointed to an SD card issue.
Honestly? I don’t know exactly what fixed it. I disabled checks, re-enabled them, dug through parameters, and at some point I just unplugged it from Mission Planner and tried to fly it — and it worked. I can’t give you a clean explanation for that. What I can tell you is that the blinking light patterns on the Pixhawk are actually meaningful, so look those up. And expect to wait — sometimes up to a minute — for it to fully arm. It’s finicky. But it flies.
Check your motor rotation before you put the props on
This one got me. I got the motors spinning, went to full throttle, and... nothing. The drone just sat there. Turns out, each motor on a quadcopter has to spin in a specific direction — some clockwise, some counterclockwise — and depending on how you connect your ESCs, they might be spinning the wrong way.
Here’s a trick that saved me: put a small piece of tape on the motor shaft (no propeller attached), then run a motor test through Mission Planner and hold your finger near it. The tape will show you the direction of spin. Simple, but it worked. Once I got all four motors oriented correctly, it lifted off.
That’s where I am with phase one. It flies. It’s still a little finicky, and there’s a lot I don’t fully understand yet. But the goal was always to build the physical platform first — the vessel for whatever intelligence I eventually put inside it. That part’s done.
Phase two is where things get interesting.
