DIYOSEPP / EspUnoWiFi

WiFi Serial and OTA bridge for UNO
22 stars 10 forks source link
arduino-uno esp8266 ota wifi-serial-bridge

esp8266 Uno Wifi

This project runs on esp8266 and provides serial bridge services for uno,The first time you need to use the serial port to upload the sketch to esp8266.Then you can use WIFI SerialPort like using USB

you can:

ESP8266 will have two IP addresses,depending on your network connection If your esp8266 is connected to the router and your device is also connected to the router, then you should access it with the IP address assigned by the router to ESP8266. The format of the IP address is usually 192.168.1.? If your device accesses ESP8266's WIFI access point then you should use 192.168.4.1 to access it No matter how you connect, they are all equivalent


1. setup esp8266

2. setup Access point & connect to your router

If you have already set the router SSID and password in step 1, you can skip this step

3. Connect esp8266 to uno

ESP-01s uno
RX TX
TX RX
3V3 3v3
GND GND
IO2 reset
Nodemcu uno
RX TX
TX RX
VIN 5V
GND GND
D4 reset

4. upload sketch to uno via OTA

5. upload sketch to esp8266(esp-01s) via OTA

6. Web browser Serial monitor

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println(millis());
  delay(1000);
}

7. Using arduinoOTA and TCP Serial Monitors in oseppBlock

8. Virtual Joystick