Does anyone know if the following is possible? Any advice would be much appreciated.
I am programming an Ethernet connected Arduino to be a webserver. What would be ideal is a small portable "router" so I can take the whole test setup and my laptop without depending on my home/company network.
My idea:
- Set up an ESP32 as an access point
- Connect an ENC28J60 module to it
I hope:
- My laptop can connect to the ESP over WiFi (status: done)
- My board can connect over UTP
- They both get IP addresses
- I can test the Arduino webserver from my laptop
What I found is that I could use the Ethercard for ESP32 or the [EthernetENC][2] libraries.
I've been trying with EthernetENC, but no luck. Is this even possible?
This is my minimal code for the ESP32 so far:
#include <WiFi.h>
#include <SPI.h>
#include <EthernetENC.h>
const char* ssid = "ESP32router01";
const char* pass = "01234567"; // At least 8 characters
void setup() {
WiFi.softAP(ssid, pass);
Ethernet.init(5);
}
void loop() {
}
