Key takeaways

  • Off-the-shelf RC mower robots already use standard RC receivers and motor drivers, so autonomy only needs a controller that speaks RC.
  • A Pixhawk 6C Mini works for ground vehicles, not just drones, and pairs with an RTK GPS module for accurate position.
  • Power switching goes through an 8-channel relay board; PWM lines handle direction and differential speed.
  • RTK corrections and commands arrive over a GL.iNet Mudi 7 hotspot, and manual override stays on an SBUS RC link.

Autonomous driving has already made its way into agriculture, where tractors steer themselves across open fields because there are not many surprises in a wheat field. Maker Jakkuh asked the obvious follow-up question: if it works for a farm, why not the front yard? He answered it by vibe-coding his own autonomous lawnmower.

The interesting part for anyone writing embedded code is what he did not have to build. The mower chassis, motor drivers, and even the RC receiver already existed. The work was in wiring an autopilot into that existing control chain and getting position data good enough for route following. After a few minor GPS hiccups, the build reportedly mowed well enough to cut the video sponsor's name into the grass.

Start with a platform that already accepts RC commands

Jakkuh did not build a lawnmower. Radio-controlled mower robots are commonplace, mass-produced in China, and sold under several brand names, and they turn up at industrial auctions. He bought two different models to experiment with.

That detail matters more than the specific models. These machines are hybrid vehicles, with a small gas engine and a battery pack, but they behave like standard RC vehicles. They carry off-the-shelf RC receivers that take standard RC commands and pass them to big motor drivers.

The practical consequence: anything that can generate RC-style signals can drive the machine. You are not reverse-engineering a proprietary protocol or flashing a vendor MCU. You are inserting your controller into a channel that already exists. When you scope out a similar project, look for that same boundary, a documented, standard input interface, before you write any code.

Why a flight controller on a mower

The brain of the build is a Pixhawk 6C Mini, a drone flight controller. The "flight" label is misleading here, because Pixhawk controllers work with ground vehicles too.

That is the core reason to pick a Pixhawk-family board for a project like this. The position control and route following come from mature autopilot code you configure, rather than firmware you have to write and debug yourself. If you are vibe-coding the glue logic, you want the safety-critical control loop to be proven code, not code the model generated.

The trade-off is that you inherit the ecosystem's conventions and its learning curve. Budget your effort in configuration and integration, and leave the control loop alone.

The sensor and comms chain

Position comes from an RTK GPS module, which is what allows the mower to follow pre-planned routes and correct itself back onto course when it drifts. That is essentially what autonomous tractors do, and it is the difference between a mower that wanders and one that cuts a sponsor's name in the grass.

Commands and RTK corrections flow over a GL.iNet Mudi 7 hotspot. That is the link that carries both the commands for the vehicle and the corrections that make the RTK position data useful.

Manual control stays on a traditional path: an RC transmitter through a HotRC SBUS-A feeds the Pixhawk directly. Keep that in your own designs. A human-held override link that does not depend on the network, the autopilot logic, or your generated code is the cheapest insurance in an autonomous machine with blades on it.

Where the current goes: relays versus PWM

The Pixhawk talks to the mower's original hardware through two separate paths. PWM signals handle forward/reverse and differential speed control. An 8-channel relay board handles everything that carries actual current.

That split is a pattern worth copying in any retrofit. Low-power PWM into existing motor driver inputs keeps proportional control smooth and reversible. Relays for the real-current loads give you a hard, simple on/off boundary that is easy to reason about and easy to wire safely.

It also keeps generated code away from the high-current path. If a relay sticks or a PWM signal glitches, the failure surface is small and diagnosable. When you ask an AI assistant to draft the interface layer for a retrofit like this, describe the two channels explicitly and ask it to justify which signals belong on which path.

How the autonomy actually works

Because the Pixhawk knows its position with good accuracy from the RTK GPS, it can follow pre-planned routes and correct itself when it drifts. The mower tracks position and steers back to the line.

None of that control logic is bespoke. The route-following behavior comes from the flight controller stack already configured for a ground vehicle, and the build's novelty is in the integration.

For your own projects, that suggests where AI-assisted coding earns its keep. A model is fast at the boring glue, protocol adapters, parameter configuration, relay-channel mapping, and logging, and mistakes there are cheap. Position estimation and control call for proven code and hand-checked configuration.

What to check by hand before blades spin

The build hit a few minor GPS hiccups before it worked well. That is expected with RTK, where correction quality depends on the link, the base station, and sky view. Verify fix quality and correction status before trusting autonomous motion, not during it.

Check the manual override path end to end: transmitter to SBUS adapter to Pixhawk to motor output, with the vehicle on stands. Then exercise the relay board channel by channel, confirming each load switches the thing you think it switches, before you connect both paths at once.

Finally, walk the mowing area for the kind of obstacles that do not exist in a wheat field. RTK tells the mower where it is, not what is in front of it. This build's environment was presumably controlled, and the source does not describe obstacle detection, so treat that as an open gap in the design rather than a solved problem.

Is it worth it

The source's own take is that the cost and effort would be well worth it for anyone with a yard bigger than about 100 square feet. That is a low bar, and it reflects how much of the hard work the RC mower market and the Pixhawk ecosystem have already absorbed.

For firmware and embedded readers, the larger lesson is the pattern: find a machine with a standard command interface, bolt on a mature autopilot, use relays for power and PWM for control, keep a human on an independent RC link, and spend your own coding effort only on integration. The vibe-coded part is a thin layer on top, which is all it needs to be.

Questions readers ask

Do I need to build the mower platform from scratch?

No. Radio-controlled mower robots are mass-produced in China and show up at industrial auctions under several brand names, so you can buy one or two and start from a working chassis.

Why use a drone flight controller on a ground vehicle?

Pixhawk controllers support ground vehicles too. It gives you GPS-based route following and RC manual override without writing a control stack from scratch.

How does the mower correct itself when it drifts?

RTK GPS gives it an accurate position fix, so it can follow pre-planned routes and steer back onto course, which is the same basic approach autonomous tractors use.

What ran through the relays versus PWM?

Anything carrying real current went through an 8-channel relay board, while PWM signals drove forward/reverse and differential speed control.

The AI Hardware Prototyping Stack is a free checklist of tools and prompts.

Circuit Owl Lab wrote this with AI from public sources, and a separate review pass checked its claims against them. Nothing here comes from first-hand testing.