Use ESP32 as WiFi dongle on raspberry pi

Grashee
Posts: 1
Joined: Tue Nov 27, 2018 8:11 am

Use ESP32 as WiFi dongle on raspberry pi

Postby Grashee » Tue Nov 27, 2018 8:17 am

Hey guys,

I am new here and I just thought about using the ESP32 as a WiFi dongle for my RaspberryPi. I just buyed a matrix voice board which has an integrated ESP32.

Is there a possibility to use the chip after boot up as a wifi dongle so I can see them in the ifconfig (in Linux).

Thanks to all who can help!
Best regards,
Robert

ESP_Sprite
Posts: 3746
Joined: Thu Nov 26, 2015 4:08 am

Re: Use ESP32 as WiFi dongle on raspberry pi

Postby ESP_Sprite » Tue Nov 27, 2018 8:50 am

No, sorry, I don't think we have slave drivers for that at this moment.

yellowsubmarine
Posts: 4
Joined: Fri Nov 30, 2018 8:48 am

Re: Use ESP32 as WiFi dongle on raspberry pi

Postby yellowsubmarine » Fri Nov 30, 2018 10:40 am

I really want to do this as well. I know the standard answer appears to be use an ESP8089, but it does not support the 802.11 LR mode. I would like to use this on a ESP32 WROVER module with some directional sector antennas to cover an area of approximately 500 meters.

I was thinking about using the AT command firmware, and sending data from my Linux application to the ESP32 via UART, then crafting packets with AT and sending via WiFi, but that seems like a bit of a hack. It would be a much cleaner solution if I could just use the ESP32 as a WiFi interface via SDIO.

I was going to go through the eth2wifi code example and see if there is some way to implement it to get data off of a host MCU while using the ESP32 as a slave for WiFi but haven't gotten through it yet.

Any suggestions in this area would be very appreciated.

yellowsubmarine
Posts: 4
Joined: Fri Nov 30, 2018 8:48 am

Re: Use ESP32 as WiFi dongle on raspberry pi

Postby yellowsubmarine » Sun Dec 02, 2018 4:33 am

Would it be possible to emulate or otherwise achieve an ethernet connection between the ESP32 and a Raspi/Beaglebone/Linux SOC and just use the ESP32 as an IP router? Assuming the ESP32 manages the WiFi connection and and has a way to receive the IP packets all it would have to do is forward all packets received to the default gateway of the WiFi interface.

Who is online

Users browsing this forum: wevets and 35 guests