Skip to content
MCU Atlas
RASPBERRY PIPI-4Draft

PiKVM: open-source IP-KVM on Raspberry Pi

Remote keyboard, video and mouse control of any computer over the network, even in the BIOS, using a Raspberry Pi.

Difficulty:IntermediateCost:Source available

Key Facts

  • Board: Raspberry Pi 4 (also Zero 2 W, Pi 5 support varies)
  • Capture: HDMI-to-CSI bridge or USB dongle
  • Emulation: USB HID + mass storage
  • Access: web UI

About This Project

PiKVM turns a Raspberry Pi into an IP-KVM: it captures the target computer's HDMI output, emulates a USB keyboard, mouse and mass storage device, and serves it all in a browser. You can install an OS remotely, reboot via ATX control and fix machines that won't boot. DIY builds use a Pi 4 plus an HDMI-to-CSI bridge; ready-made HATs are also sold.

Source & Attribution

Source: GitHub
License: GPL-3.0
Last verified: 10/16/2026
How to Build It
PiKVM turns a Raspberry Pi into a KVM over IP. You can see a computer's HDMI output in a browser and control it with an emulated USB keyboard and mouse, even in the BIOS or when no OS is installed. It can also mount ISO images as a virtual drive and switch the machine's power on or off.

Parts Needed

  • Raspberry Pi 4 (Pi 2, 3, 5 and Zero 2 W also work, with fewer features on some)
  • HDMI-to-CSI bridge (TC358743) or a USB HDMI capture dongle
  • USB-C splitter or cable so the Pi can act as a USB device to the target while still getting power
  • microSD card (16GB+) and a good power supply
  • Optional: ATX control board for power and reset

Steps

  1. 1

    Choose your platform

    The DIY 'V2' build uses a Pi 4 plus a CSI bridge for the lowest latency (H.264). A USB capture dongle is easier but limited to MJPEG. Choose before downloading, because each hardware setup has its own OS image.

  2. 2

    Flash the OS

    Download the matching PiKVM OS image from pikvm.org and write it to the microSD card with Raspberry Pi Imager or a similar tool.

  3. 3

    Connect the hardware

    Attach the capture device to the Pi's CSI port or USB. Connect the Pi's USB-C OTG port to the target computer, using a splitter so power comes from a separate supply, and run HDMI from the target into the capture device.

  4. 4

    First boot and login

    Boot the Pi, find its IP address and open it in a browser. Log in with the default admin credentials from the docs, then change both the web password and the root password straight away.

  5. 5

    Configure extras

    Upload ISO images for virtual-media boot. If you have ATX wiring, enable power control. Set up HTTPS, 2FA or VPN access before exposing it beyond your LAN.

  6. 6

    Tips

    PiKVM OS keeps its root filesystem read-only. Run rw before making changes and ro when you're done. The docs at docs.pikvm.org and the Discord are the best places for help.

Photos

Photos from github.com

Parts List (BOM)
Partial parts list
partial
PartQtyRoleEst. PriceBuy
1main board$35–$75View
1capture$15–$35View
1power$8–$12View
1storage$4–$8View
Estimated Total$62–$130 USD

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

📷
RASPBERRY PIPI-ZERO-2-WDraft
A DNS sinkhole that blocks ads and trackers for every device on your network, classic first Raspberry Pi project.
Beginner·Cost varies·Code
3 parts listed
MagicMirror2: modular smart mirror on Raspberry Pi
RASPBERRY PIPI-4Draft
Open-source modular smart-mirror software showing calendar, weather and news behind a two-way mirror, usually on a Pi.
Intermediate·Cost varies·Code
4 parts listed
Pwnagotchi: e-ink Wi-Fi learning pet on Pi Zero
RASPBERRY PIPI-ZERODraft
A Raspberry Pi Zero W with an e-ink face that learns to capture Wi-Fi handshakes, framed as a virtual pet.
Advanced·Cost varies·Code
4 parts listed