Raspberry Pi Zero USB Dongle

Introduction: Raspberry Pi Zero USB Dongle

About: Avid Thinker, Computer Programmer, Web evangelist, Hacking / Breaking expert, Problem Solver, Technology Obsessed, Gamer, 3D printing, Coffee lover!

I’ve been trying to find ways to make better use of my raspberry pi zero and i think i have found one! turning your raspberry pi zero into a usb dongle and shared internet with your pc!

you can download and 3d print your own usb dongle shell

http://www.thingiverse.com/thing:1836302

what you need:

male usb connector

4 wires

some soldering skills

here is the diagram you need to follow to solder the male usb to the raspberry pi zero

Step 1: Config the Sdcard Image

I’m using the latest Raspberry Pi Image called Pixel which you can download here

and load the the image to the sd card. When you are done, located the file config.txt from the Boot drive of the sdcard and insert this at the end

[code]dtoverlay=dwc2[/code]

then save the file, and locate the file called cmdline.txt and insert this text right after rootwait

[code]modules-load=dwc2,g_ether[/code]

when done, save the file and you can now insert the sdcard into the raspberry pi zero

to access your raspberry pi from your computer, use ssh client and point it to

raspberrypi.local

now you should be all done!

Circuits Contest 2016

Participated in the
Circuits Contest 2016

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    10 Discussions

    0
    pablo1997
    pablo1997

    1 year ago

    I can't connect via ssh.
    I have followed all the steps correctly and nothing, I have looked in other forums and nothing.
    Once the USB dongle is inserted into my PC, it "installs as com11" instead of as a network card.

    0
    offtherails2010
    offtherails2010

    1 year ago

    this is awesome ! thanks loads for the inspiration as ive a pi zero non wifi and just wanted an easier way of just updating it to get it going !

    well done and thanks for the insight into how to get the zero to share the main computer internet connection with the linux based code, many many thanks !!

    0
    wegi1
    wegi1

    4 years ago

    <3 <3 <3

    0
    KeithM9
    KeithM9

    4 years ago

    Like!

    0
    rpotts2
    rpotts2

    4 years ago

    Nicely done!

    0
    randomkevin
    randomkevin

    4 years ago

    can the USB OTG connection be used as normal? I want to connect a USB microphone to my pi zero while it is also connected to my laptop.

    0
    novaspirittech
    novaspirittech

    Reply 4 years ago

    no you wouldn't be able to plug anything else in the otg port., running multiple items will require a USB hub on the otg