Raspberry Pi Zero USB Dongle

Hi evryone this time I have a very cool and usefull project for you, we are gonna do a Raspberry Pi Zero USB Dongle! It’s a little PC powered by a common USB port from every device and with internet connection.

What can I do with it?

You can use it as a normal Raspberry Pi, for example you can use It as a Desktop PC running Raspbian and it’s a little bigger then a USB device! It’s a very small PC that you can use simply plugging into everything USB port.

Intel desktop dongle PC cost about 100/150$ but with our Pi we can made it with about 10$, it’s amazing!


All the material that you need are:

  1. Raspberry Pi Zero / Raspberry Pi Zero W (“W” model is a Raspberry Pi Zero with wifi integration so I recomend it)
  2. Micro SD card (personally I recommend an 8Gb)
  3. USB connector


For this project we are gonna use Raspbian OS but you can do the same steps with all Linux distro for our Pi for example Kali Linux and many other!

Let’s start with downloading Raspbian from Raspberry Pi official site at this link. After the download wirtie the “.iso” file on your SD card, if you don’t know how to do it check my Beginning page where I explain how to write an image file on your SD card on Windows, Mac or Linux.

After that you write Raspbian on your SD card go into It and check this two files:

  • config.txt
  • cmdline.txt

In this two files we have to add some a line of code, first open config.txt file and at the bottom add:

  • dtoverlay=dwc2

This line allow you to load Pi’s modules, after that go into cmdline.txt file and between the strings “rootwait” and “quiet” add this string:

  • modules-load=dwc2,g_ether

Now only thing that you have to done is enable ssh on boot so with Notepad++ (that you can download here) create an empty file called “ssh” and without extension, if you have any problem check my video tutorial below or simply copy and paste all the file that I left here in your SD card (after writing Raspbian).

File Raspberry Pi Zero USB Dongle (File that you can copy on your SD card)


Now guys for the hardware we need to weld the USB connector on our Raspberr Pi, don’t worry is a simple steps and you need electrical wire, welder and a little bit pond. The electical schema is this:

Now cover all the contact with some hot glue or electical wire tape to prevent losses. You now ready to use it but I recommend you to use a case to make the structure more solid and compact.

If you have a 3D printer I left you this files that content all things that you need for the printing


the case that I give you it’s this is very small and practical.

First Booting and give Internet to the Pi Dongle

It’s time, now we can boot our Raspberry Pi USB Dongle for the first time and set all the configuration that we want.

Turn on your PC and plug the Pi Dongle in one of your USB port, give it a minute to turn completely on and log into. For the log in we need Putty software (that you can download at this link) and to show the Pi’s desktop you need VNC software (that you can download here), for the first thing open Putty and in the Hostname box type:

  • raspberrypi.local (Hostname of your Pi at the first boot on Raspbian)

The number of port is 22 and open the connection, the credentials are:

  1. pi (name)
  2. raspberry (password)

Our Pi don’t have already the Internet connection so to give it right-click the Network icon in the notification area to open the shortcut menu now click Open Network and Sharing Center to open a Network and Sharing Center window after that click Change Adapter Settings in the left column to open a Network Connections window and right-click the Internet connection, then click Properties on the shortcut menu to open the Properties dialog box for the connection and click the sharing tab and now check the Allow Other Network Users to Connect Through This Computer’s Internet Connection check box.

Click Ok and after that go to Raspberry Pi on Putty and go into configuration option using the command:

  • sudo raspi-config

Scroll down on Advanced Option and go to VNC, now enable it to show the desktop of your Pi! To show your Desktop reboot the Pi to apply all the chenges and when It’s ready open VNC viewer and put in the search bar on top:

  • raspberrypi.local

Logged into with the same credentials then before and you have done! Good job and have fun with your Pi!

2 pensieri su “Raspberry Pi Zero USB Dongle”

I commenti sono chiusi.