Hello
I have a Teensy 4.1 doing things and I want to add a WiFi connection over serial so I can send data to a web server, I have a WeMos D1 Mini to do this.
Previously I have used small ESP-015 modules, but have run out.
So my question is, what do I need to load onto my WeMos D1 Mini to have it work as a wifi dongle on the serial port of a teensy?
On the Teensy I would be expecting to use
Google keeps pointing to pages saying how to use the serial port on the ESP, or some fancy bridge system
Thanks
Karl
I have a Teensy 4.1 doing things and I want to add a WiFi connection over serial so I can send data to a web server, I have a WeMos D1 Mini to do this.
Previously I have used small ESP-015 modules, but have run out.
So my question is, what do I need to load onto my WeMos D1 Mini to have it work as a wifi dongle on the serial port of a teensy?
On the Teensy I would be expecting to use
Code:
#include <WiFiEsp.h>
#include <WiFiEspUdp.h>
WiFiEspUDP Udp;
WiFiEspClient client;
void setup() {
Serial.println("Connecting to WiFi on Serial3...");
Serial3.begin(115200);
while (!Serial3) {
;
}
delay(500);
WiFi.init(&Serial3);
if (WiFi.status() == WL_NO_SHIELD) {
Serial.println("WiFi shield not present");
digitalWrite(GRN_LED, HIGH);
while (true);
}
delay(500);
}
... etc ...
Google keeps pointing to pages saying how to use the serial port on the ESP, or some fancy bridge system
Thanks
Karl