arduino-libraries / WiFiLink-Firmware

Arduino WiFi Link firmware for ESP8266 based boards
MIT License
11 stars 30 forks source link

Uno Wifi Dev Ed highspeed MCU Serial to ESP Serial, if you don't need USB and Serial Monitor #34

Open JAndrassy opened 7 years ago

JAndrassy commented 7 years ago

The Uno WiFi Dev Ed hack uses the MCU OTA programming connection of the board. If ESP pin 4 is LOW, the junction switches the serial of the ESP from SC16IS750 to Serial of the MCU. On the MCU side I modified a copy of the WiFi Link library to use Serial (excluding SC16IS750). The baudrate can then be set higher in source code on both sides.

void setup() { // of ArduinoFirmwareEsp.ino
  pinMode(4, OUTPUT);
  digitalWrite(4, 1);
  delay(100);
  digitalWrite(4, 0);

schema

JAndrassy commented 6 years ago

I made the SC16IS750 driver fast Serial1. Bypassing it is still useful if you want save ATmega memory.