Hello
I have acquired express if ethernet board.
I would connect ethernet cable and propagate Internet connection through wifi.
Have some of you do this?
Could send me some link or useful material?
Thanks
How to create a ethernet to wifi trasparent bridge?
Re: How to create a ethernet to wifi trasparent bridge?
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: How to create a ethernet to wifi trasparent bridge?
Hi rudi
yes this is exactly what I would do!!
The only "problem" for now is that I work with Arduino..
In a while that I learn IDF there is a simply way to upload the compile version of this project?
Thanks
yes this is exactly what I would do!!
The only "problem" for now is that I work with Arduino..
In a while that I learn IDF there is a simply way to upload the compile version of this project?
Thanks
Re: How to create a ethernet to wifi trasparent bridge?
Hi
which ethernet board you would connect to the esp32?
did you get an esp32 with an eth inside ? or did you get an ETH Modul and want connect to an esp32 modul? ( which ?)
there are some arduino examples
LAN8720 and LAN8720 with internal clock, also TLK110, with eth boards and esp32 in arduiono ide
perhabs you can look at first here and check out which eth board you have
and test first the eth connection for a successful run
and then combine it with the wifi in arduino.
look to the IDF example eth2ap and eth2wifi
the second is an further example in the iot-solution repo
if you use LAN8720 perhabs you take a look to this side too for infos.
hope this helps for own start and testings
best wishes
rudi
which ethernet board you would connect to the esp32?
did you get an esp32 with an eth inside ? or did you get an ETH Modul and want connect to an esp32 modul? ( which ?)
there are some arduino examples
LAN8720 and LAN8720 with internal clock, also TLK110, with eth boards and esp32 in arduiono ide
perhabs you can look at first here and check out which eth board you have
and test first the eth connection for a successful run
and then combine it with the wifi in arduino.
look to the IDF example eth2ap and eth2wifi
the second is an further example in the iot-solution repo
if you use LAN8720 perhabs you take a look to this side too for infos.
hope this helps for own start and testings
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: How to create a ethernet to wifi trasparent bridge?
Hi Rudy, I have 2 board:
1) Expressif Ethernet-kit with tlk110
2) Wesp32 with lan8710
moreover I'm try to build my 2 board based on the above 2 chip.
If you help me to translate example in arduino I will send you working schematic of bridge. Ok?
Giuseppe
1) Expressif Ethernet-kit with tlk110
2) Wesp32 with lan8710
moreover I'm try to build my 2 board based on the above 2 chip.
If you help me to translate example in arduino I will send you working schematic of bridge. Ok?
Giuseppe
Re: How to create a ethernet to wifi trasparent bridge?
Hi Giuseppe,
to 1)
it is a TLK110 ETH and you find an working example in the Arduino examples Folder
try this first that this run.if it working for you then add Wifi AP.
But first try the TLK110 example.
to 2)
you mean sure the wESP32 with lan8720
you find here an Arduino example for the LAN8720
try this first and if this working for you you can step over to go Wifi AP
and so on.
btw: if you want use the internal clock you can try this arduino example with LAN8720 and internal clock
you can find few infos from hackaday about this wESP32 with LAN8720 and PoE
also have a look to the web from wESP32
you can select the wESP32 from the Arduino IDE menu:
Tools → Board → Silicognition wESP32
To use the Ethernet connection in your sketch, you need to #include <ETH.h> and call ETH.begin() to start the Ethernet peripheral. This function takes optional parameters to set the configuration, but the board support package already takes care of setting these correctly for the wESP32.
Code: Select all
#include <ETH.h>
#include <WebServer.h>
#include <ESPmDNS.h>
// Web server
WebServer server(80);
// HTTP handlers
void handleRoot() {
server.send(200, "text/plain", "Hello from wESP32!\n");
}
void handleNotFound() {
server.send(404, "text/plain", String("No ") + server.uri() + " here!\n");
}
void setup(){
// Start the ethernet
ETH.begin();
// You can browse to wesp32demo.local with this
MDNS.begin("wesp32demo");
// Bind HTTP handler
server.on("/", handleRoot);
server.onNotFound(handleNotFound);
// Start the Ethernet web server
server.begin();
// Add service to MDNS-SD
MDNS.addService("http", "tcp", 80);
}
void loop(){
server.handleClient();
}
try first the server examples to work out the LAN8270 and TLK110 with your Boards.
shematic of wESP32 with LAN8720 is here
the getting started with Espressif Ethernet Kit TLK110
Shematic Espressif Ethernet Kit TLK 110
Shematic Espressif Ethernet Kit PoE
hope this helps
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: How to create a ethernet to wifi trasparent bridge?
Hi Rudi
thank very much!!
thank very much!!
Re: How to create a ethernet to wifi trasparent bridge?
Hi, did you manage to get this working with Arduino core?
I have the board running with ethernet and Wifi however there is no bridge (lwip NAT comes with arduino as standard).
Did you find an example for bridging the connections on the correct layer?
I have the board running with ethernet and Wifi however there is no bridge (lwip NAT comes with arduino as standard).
Did you find an example for bridging the connections on the correct layer?
Who is online
Users browsing this forum: No registered users and 93 guests