gpezzella wrote: ↑Mon Dec 30, 2019 10:27 am
Hi Rudy, I have 2 board:
1) Expressif Ethernet-kit with tlk110
2) Wesp32 with lan8710
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 lan87
20
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();
}
gpezzella wrote: ↑Mon Dec 30, 2019 10:27 am
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?
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