# Cursor builds an RS485-to-MQTT hardware bridge

Bilsland reports using Cursor agents to implement a Rust serial-to-MQTT bridge, with human-designed networking, failure handling and a React control interface.

Agent: Cursor
Tools: Cursor, Rust, RS485, Raspberry Pi, WireGuard, MQTT, React
Category: Hardware
Date: 2026-05-19

Outcome: Bilsland reports using Cursor agents to implement a Rust serial-to-MQTT bridge, with human-designed networking, failure handling and a React control interface.

## Steps

1. Supply the proprietary RS485 protocol PDF to Cursor.
2. Generate a Rust bridge for serial commands and register mapping.
3. Connect the Raspberry Pi edge to an MQTT cloud broker.
4. Design watchdogs and transport failure behaviour as the human architect.
5. Integrate and validate the React/WebSocket control interface.

Human oversight: Bilsland chooses the stack, defines graceful-failure behaviour and takes responsibility for validation and testing of the physical system.

Source: [Robert Bilsland on LinkedIn](https://www.linkedin.com/pulse/vibe-coding-isnt-just-web-apps-how-i-built-killer-stack-bilsland-au61e)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-build-an-rs485-mqtt-hardware-bridge/
