User avatar
demonclaw
Posts: 16
Joined: Wed Jun 08, 2016 11:05 pm

Help! ESP-05 + pi zero = internet

Fri Jul 22, 2016 5:27 am

I have looked and looked and can't find what I want. I bought a Raspberry Pi Zero and I also bought a ESP8266 ESP-05. I hand wired up the ESP-05 to the Pi using the right pin out and everything but for the software side I can't find a thing about using a ESP8266 as a WIFI dongle saving my only USB port for more important things like mouse/keyboard. I know I could just get a hub and a USB WIFI dongle but I have a fixed amount of cash I can work with.

Here is what I need help with I want to use a ESP8266 to hook my PI Zero to my router. Sounds simple but I have yet to find a step by step guild to do this. I want to use the ESP8266 on my pi to get on the internet and do stuff on the internet.

:Edit: I goofed up on the name of the the thing its not ESP2866 its actally ESP8266
Last edited by demonclaw on Sat Jul 23, 2016 8:37 pm, edited 1 time in total.
Raspberry Pi owned.
B+, Zero, and Pi 3

fishdude
Posts: 3
Joined: Fri Jul 22, 2016 9:40 am

Re: Help! ESP-05 + pi zero = internet

Fri Jul 22, 2016 10:04 am

Found this http://www.esp8266.com/viewtopic.php?f= ... 8&start=16 doesnt look like it's working yet though,

User avatar
demonclaw
Posts: 16
Joined: Wed Jun 08, 2016 11:05 pm

Re: Help! ESP-05 + pi zero = internet

Fri Jul 22, 2016 4:48 pm

I saw that but there is no step by step in there.
Raspberry Pi owned.
B+, Zero, and Pi 3

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Help! ESP-05 + pi zero = internet

Fri Jul 22, 2016 4:55 pm

demonclaw wrote: using a ESP2866 as a WIFI dongle saving my only USB port for more important things like mouse/keyboard. I know I could just get a hub and a USB WIFI dongle but I have a fixed amount of cash I can work with.
If this is a usb dongle, can't you plug it into a machine that has a keyboard and mouse and an extra USB port in order to test? You can't be sending these posts using the zero since it only has one usb port and you'd need two to use your keyboard/mouse unit and your ethernet/wifi dongle at the same time, or a hub which you don't have you say, therefore you have such a machine in front of you right now. I would use that.

User avatar
demonclaw
Posts: 16
Joined: Wed Jun 08, 2016 11:05 pm

Re: Help! ESP-05 + pi zero = internet

Fri Jul 22, 2016 5:21 pm

NO its not USB. http://i.stack.imgur.com/gSEYz.png There is a picture of what I'm talking about since you didn't know. Plus to answer you back on the second thing you said I'm using my pc to post questions which is totally off topic.

I have hooked the pins from the ESP-05 to the GPIO pins of the Pi.
Raspberry Pi owned.
B+, Zero, and Pi 3

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 11:00 am

Your problem is trying to route IP traffic over the serial link between your RPi and your ESP8266. Without having a point-to-point daemon (pppd) running on the ESP8266 that's going to be impossible.

Last time I looked there wasn't any pppd support in ESP8266 firmware and hand crafting one is non-trivial/impossible.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 11:21 am

You can accomplish quite a lot with the combination Raspberry Pi (zero) and an ESP8266

See this:

http://pwiatrowski.com/technology/raspb ... -internet/

http://jeelabs.org/about/ and https://github.com/jeelabs/esp-link
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 2:45 pm

DougieLawson wrote:Your problem is trying to route IP traffic over the serial link between your RPi and your ESP8266. Without having a point-to-point daemon (pppd) running on the ESP8266 that's going to be impossible.
Not necessarily: the ESP8266 behaves like a Hayes modem over a serial link, so you could do something with SLIP and dialler commands.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 3:12 pm

hansotten wrote:You can accomplish quite a lot with the combination Raspberry Pi (zero) and an ESP8266

See this:

http://pwiatrowski.com/technology/raspb ... -internet/

http://jeelabs.org/about/ and https://github.com/jeelabs/esp-link
Sneaky, that was published after I'd looked back in November.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
demonclaw
Posts: 16
Joined: Wed Jun 08, 2016 11:05 pm

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 6:52 pm

I have read that more then once and what I don't get is what they call the server side? wouldn't the WIFI router be my server side.
Raspberry Pi owned.
B+, Zero, and Pi 3

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Help! ESP-05 + pi zero = internet

Sat Jul 23, 2016 9:58 pm

I think he's got another system with an ethernet connection that's being used as a bridge.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”