evilguppy
Posts: 2
Joined: Wed Sep 19, 2012 1:37 am

Pi Zero gadget + Wi-Fi

Thu Oct 27, 2016 11:56 pm

Hi All,

Is it possible to have a Pi Zero (v1.2) set up as a gadget, and have a wifi dongle connected to it?

My thought is that no it isn't as the Zero connects to the host PC via the micro USB port (not the power port). If I solder a usb cable to the test pads on the Zero, this would free up the usb port for a wifi dongle, but I assume the wifi dongle would be visible to the host PC and the Zero.

My end goal is to have the Zero configured as an ethernet gadget that's visible to the host PC via ssh and http. The wifi will be set up as a hotspot that my iDevices can connect to and print PDFs. The host PC can then download the pdfs and print hard copies.

Just before posting this, I stumbled on the possibility of using a ESP8266 for wifi so will start looking down that path as an alternative - can anyone recommend ESP8266 that doesn't require super-fine soldering?

Thanks
Rob

User avatar
rpdom
Posts: 17406
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Pi Zero gadget + Wi-Fi

Fri Oct 28, 2016 5:48 am

evilguppy wrote:Hi All,

Is it possible to have a Pi Zero (v1.2) set up as a gadget, and have a wifi dongle connected to it?

My thought is that no it isn't as the Zero connects to the host PC via the micro USB port (not the power port). If I solder a usb cable to the test pads on the Zero, this would free up the usb port for a wifi dongle, but I assume the wifi dongle would be visible to the host PC and the Zero.
No, it won't free up the port. You're still using it, just via the test pads instead of the socket.
Just before posting this, I stumbled on the possibility of using a ESP8266 for wifi so will start looking down that path as an alternative - can anyone recommend ESP8266 that doesn't require super-fine soldering?
Some soldering will be required, but I'm sure I've seen mention of modules that just require a few wires or pins to be soldered to the GPIO connector on the Zero.

evilguppy
Posts: 2
Joined: Wed Sep 19, 2012 1:37 am

Re: Pi Zero gadget + Wi-Fi

Sat Oct 29, 2016 4:28 am

Thanks for the reply and confirming my thought rpdom.

Following https://oshlab.com/esp8266-raspberry-pi-gpio-wifi/, I've ordered a couple esp's on eBay, now to wait a couple weeks for them to get here.

Hoagie
Posts: 119
Joined: Sun Sep 23, 2012 7:19 pm

Re: Pi Zero gadget + Wi-Fi

Thu Nov 03, 2016 8:03 pm

I have a Pi zero setup with a WiFi dongle acting as a hotspot. Nothing special, you just need to use a micro to full size usb adaptor. Mine came with one. The wifi is the only way in to mine, nothing elseo is connected. I just tell my laptop, phone or whatever to connect to it's hotspot and access it via ssh or http.

Return to “Other projects”