User avatar
mikerr
Posts: 2451
Joined: Thu Jan 12, 2012 12:46 pm
Location: Up north , UK
Contact: Website

Pi Zero onboard wifi hack

Sun Nov 29, 2015 11:20 pm

Well that didn't take long!

Someone has already soldered a wifi dongle directly to the PiZero,
to keep it within the piZero form factor:

Image
http://hackaday.com/2015/11/28/first-ra ... back-wifi/

What would be awesome is soldering a fullsize socket *inboard* in the same way .. next weekend perhaps.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
solar3000
Posts: 964
Joined: Sat May 18, 2013 12:14 am

Re: Pi Zero onboard wifi hack

Sun Nov 29, 2015 11:25 pm

um...you said that already.
Antikythera

rotwang
Posts: 219
Joined: Sat Dec 07, 2013 1:12 pm

Re: Pi Zero onboard wifi hack

Mon Nov 30, 2015 12:21 pm

Would anybody from the foundation care to comment/no comment/neither confirm or deny/whatever on the correspondence between the PPnn pads on the back of the board and gpio/header pins ?
Also a schematic definitively showing the power supply connections (at least) would be most welcome.
I COULD trace them all out with a test box and publish the result, but I shouldn't have to.
Roger

FM81
Posts: 490
Joined: Wed Apr 17, 2013 4:33 pm

Re: Pi Zero onboard wifi hack

Mon Nov 30, 2015 12:30 pm

It seems electrical the same, as if you have connected an USB-dongle ...
The (two thin red and black) wires are connected to the USB-micro in direct way!?
Means you cannot use the USB-data-connector for any other purpose anymore ...
It would be more nice, not to block it!

Greetings, FM_81
A: What does the command 'cat /dev/urandom', can you tell me please?
B: Yeah, that's very simple: It feeds your cat with radioactive material!

User avatar
mikerr
Posts: 2451
Joined: Thu Jan 12, 2012 12:46 pm
Location: Up north , UK
Contact: Website

Re: Pi Zero onboard wifi hack

Mon Nov 30, 2015 12:38 pm

Yes, its electrically like a usb wifi dongle,
but keeps the size small, without anything sticking out of the side of the pi.

He could also have powered the pi via GPIO, then it would be even more compact.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Woll
Posts: 472
Joined: Mon Jul 06, 2015 2:14 am
Location: Cloud Cuckoo Land

Re: Pi Zero onboard wifi hack

Mon Nov 30, 2015 10:58 pm

Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?

User avatar
DougieLawson
Posts: 28790
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Pi Zero onboard wifi hack

Mon Nov 30, 2015 11:51 pm

Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
Is what the same?

There's always been a true RNG on all Raspberries.
http://scruss.com/blog/2013/06/07/well- ... generator/
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

Woll
Posts: 472
Joined: Mon Jul 06, 2015 2:14 am
Location: Cloud Cuckoo Land

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 12:24 am

DougieLawson wrote:
Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
Is what the same?

There's always been a true RNG on all Raspberries.
http://scruss.com/blog/2013/06/07/well- ... generator/
They're wired a dongle to the GPIO pins, but it looks like MagPi beat the website.
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?

User avatar
AndyD
Posts: 2320
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 12:47 am

Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
No, the dongle in the MagPi issue 40 is a USB TTL adapter, for serial communications from another computer. The WiFi adapter in this thread is a USB WiFi adapter directly connected to the Pi Zero board by removing the original USB plug (on the dongle) and soldering the wires to the test points on the bottom of the Pi Zero board. That way you no longer need a OtG adapter for you dongle.
Last edited by AndyD on Tue Dec 01, 2015 1:22 am, edited 2 times in total.

Woll
Posts: 472
Joined: Mon Jul 06, 2015 2:14 am
Location: Cloud Cuckoo Land

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 12:53 am

AndyD wrote:
Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
No, the dongle in the MagPi issue 40 is a USB TTL adapter, for serial communications from another computer. The WiFi adapter in this thread is a USB WiFi adapter directly connected to the Pi Zero board by removing the original USB connector (+ OtG adapter).
Can a WiFi dongle be hacked on to the GPIO pins?
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 12:53 am

AndyD wrote:
Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
No, the dongle in the MagPi issue 40 is a USB TTL adapter, for serial communications from another computer. The WiFi adapter in this thread is a USB WiFi adapter directly connected to the Pi Zero board by removing the original USB connector (+ OtG adapter).
The connector was not removed. The wires are soldered onto test points on the underside of the board.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 12:54 am

Woll wrote:
AndyD wrote:
Woll wrote:Is this the same as the True Random Number Generator on page 38-39 of MagPi issue 40?

https://www.raspberrypi.org/magpi/issues/
No, the dongle in the MagPi issue 40 is a USB TTL adapter, for serial communications from another computer. The WiFi adapter in this thread is a USB WiFi adapter directly connected to the Pi Zero board by removing the original USB connector (+ OtG adapter).
Can a WiFi dongle be hacked on to the GPIO pins?
You could probably attach an ESP8266 to the serial pins. This has been discussed.

Woll
Posts: 472
Joined: Mon Jul 06, 2015 2:14 am
Location: Cloud Cuckoo Land

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 1:06 am

This was on another thread.
mahjongg wrote:
mikronauts wrote:I understand your points, however the 0's point is: make it as cheap as possible

In order to add ethernet or wifi, a usb hub chip would be needed, and at least two USB sockets

No way to do it for $5
WRONG! Both Ethernet and WiFi interfaces can be attached without using USB, so no hub chip is needed!
You can attach an Ethernet adapter chip via the SPI bus, bit 10MBps, for $3,- and 10/100MBps chips for $3,50 are available, and so a $5 Ethernet adapter is certainly possible.
WiFi adapters are even simpler, a $3 module is sold, not just a chip, but a PCB with the chip, crystal, passive components and an antenna. Both these solutions have been already demonstrated to work on a PI.
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9394
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 1:12 am

That was fast, even before I could post a reaction!
The $3 WiFi module that can be connected to the PI is called the ESP-01

viewtopic.php?p=852282#p852282

User avatar
AndyD
Posts: 2320
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 1:18 am

ame wrote:The connector was not removed. The wires are soldered onto test points on the underside of the board.
The USB plug (and the casing) of the WiFi dongle were removed, not the USB socket on the Pi Zero. Sorry if that was in any way ambiguous. I have edited my post for clarity.

Woll
Posts: 472
Joined: Mon Jul 06, 2015 2:14 am
Location: Cloud Cuckoo Land

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 1:28 am

mahjongg wrote:That was fast, even before I could post a reaction!
The $3 WiFi module that can be connected to the PI is called the ESP-01

viewtopic.php?p=852282#p852282
Is this compatible?

https://shop.pimoroni.com/products/esp8 ... ule-esp-12
Who ate all the Pi's? Who ate all the Pi's?
Boris Johnson, Boris Johnson,
Who ate all the Pi's?

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9394
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 2:02 am

its the "big brother" of the ESP-01, Its probably possible to interface it to the PI, yes.

User avatar
mikronauts
Posts: 2614
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Pi Zero onboard wifi hack

Tue Dec 01, 2015 2:09 am

So far my favourite is the ESP-12e

(so far, i've been playing with ESP-01's, 07's, 12's and 12e's, and have some more different models coming on the proverbial slow board from China)

All of them can interface to a Pi via the serial port, and there has been some work done already on SLIP for the 8266 for Arduino's.
mahjongg wrote:its the "big brother" of the ESP-01, Its probably possible to interface it to the PI, yes.
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

karelium
Posts: 4
Joined: Mon Dec 14, 2015 6:08 am

Re: Pi Zero onboard wifi hack

Mon Dec 14, 2015 6:13 am

For clarification on this and future hacks.
Is it possible to connect usb devices to the same connector via wires without using an usb hub?

Eg. can I connect the wifi dongle and, let's say, an usb camera at the same time?

I though usb hubs are more than a bunch of parallel connections to the usb line.

Regards,

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Pi Zero onboard wifi hack

Mon Dec 14, 2015 1:06 pm

karelium wrote:For clarification on this and future hacks.
Is it possible to connect usb devices to the same connector via wires without using an usb hub?

Eg. can I connect the wifi dongle and, let's say, an usb camera at the same time?

I though usb hubs are more than a bunch of parallel connections to the usb line.

Regards,
No, you can't do this.

The hub is an 'active' device. Inside is a chip and some circuitry that handles communication between the devices on the hub and the host.

User avatar
yy502
Posts: 23
Joined: Sun Aug 03, 2014 2:15 am
Location: Cambridge, UK

Re: Pi Zero onboard wifi hack

Sun Feb 28, 2016 11:25 pm

Here's my solution. The full size female USB socket is semi-secured onto the board by soldering with 2 of the feet of the mini HDMI socket. It holds the socket and a WiFi dongle reasonably stable. You will still need to press the USB socket against the PCB when plug/unplug anything to be safe. This also resolves the reboot issue caused by current surge when plugging in a USB device, e.g. some WiFi dongles.

Image
Image
Image

digger72
Posts: 43
Joined: Wed Feb 24, 2016 12:40 pm

Re: Pi Zero onboard wifi hack

Sat May 14, 2016 12:03 am

The HubPiWi is a neat solution for Pi Zero. It integrated a 4 Port USB Hub. One of the 4 ports has a USB to Wifi chip and has on board antenna.

The best part of this board is - it does not require any connector or cable. It makes connection using 4 Pogo Pins with spring action.

Check the details at kickstarter.

https://www.kickstarter.com/projects/17 ... o-cable-c/

digger72
Posts: 43
Joined: Wed Feb 24, 2016 12:40 pm

Re: Pi Zero onboard wifi hack

Wed May 18, 2016 6:27 am

The recent release of the Pi Zero 1.3 ( with camera connector), brings slight change in the HubPiWi - it will now have two versions one for Pi Zero 1.2 and earlier and other for Pi Zero 1.3. This is basically required because the Pogo Pins are at different positions in the two boards. See the project here at kickstarter.

https://www.kickstarter.com/projects/17 ... o-cable-c/

mthomason
Posts: 113
Joined: Sun Apr 24, 2016 12:28 pm

Re: Pi Zero onboard wifi hack

Wed May 18, 2016 9:59 am

I like the look of this solution best, so far. It uses SPI on the GPIO pins and doesn't touch USB, so it can be used on a Pi Zero to add WiFi while leaving the USB OTG port usable as an actual OTG port (so you can connect the zero directly to a PC as a peripheral using the Linux USB Gadget modules.) I'm going to give it a go using an ESP-201, which comes in a larger/easier format to work with, as well as being a bit cheaper than most other ESP8266 modules as it doesn't have any onboard flash memory.

gregeric
Posts: 1493
Joined: Mon Nov 28, 2011 10:08 am

Re: Pi Zero onboard wifi hack

Wed May 18, 2016 10:14 am

That ESP-201 isn't going to make it any easier for you over an ESP-03, you'll still have to connect the Pi's SDIO to the legs of the SPI flash memory sitting in the middle of the board. Edit- I see they may in fact be there on header pins after all.

The easiest modules to work with are the ESP-12E or F - the required lines are all on the castellations on the short edge.

I made my own variant here. Should have chosen the other end for the WiFi antenna though, will soon see how much the radio is compromised by the new CSI connector...

Return to “General discussion”

Who is online

Users browsing this forum: jadro and 41 guests