Projects / Ideas / Pi Zero USB gadget mode

Pi Zero USB gadget mode

IntermediateHome LabIdeaReviewed
In short

How do you build a pi Zero USB gadget mode?

Set up a Pi Zero to appear as a network device over USB so you can log in without a monitor, with a good password and keys. You need Raspberry Pi Zero W, Micro-USB to USB-C OTG adapter, SanDisk microSD card 32 GB (A1, Class 10) and USB A to micro-USB cable (data).

Level
Intermediate
Time
About 150 min
Parts
4
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Log in to a Pi over USB.

How to build it

  1. Flash the card
  2. Enable gadget mode in the boot files
  3. Connect the data port
  4. Find it on the network
  5. Log in with a key

Related projects

Common questions

What parts do I need for the pi Zero USB gadget mode?

Raspberry Pi Zero W, Micro-USB to USB-C OTG adapter, SanDisk microSD card 32 GB (A1, Class 10) and USB A to micro-USB cable (data).

How long does the pi Zero USB gadget mode take to build?

About 150 minutes for a intermediate maker.