danielroitman
Member
i everyone,
I'm facing an issue integrating the Teensy 4.1 with an ESP32 (AirLift) for Wi-Fi communication, and I’d like to know if anyone has managed to achieve reasonable transfer speeds with this setup.
Thanks
Daniel
I'm facing an issue integrating the Teensy 4.1 with an ESP32 (AirLift) for Wi-Fi communication, and I’d like to know if anyone has managed to achieve reasonable transfer speeds with this setup.
- Current setup:
- Teensy 4.1 connected to an ESP32 (AirLift) via SPI.
- Using the WiFiNINA library to handle communication.
- Ping works fine, with low latency.
- Goal:
- Transfer files from the Teensy’s SD card to another device over Wi-Fi.
- Results obtained:
- Using either HTTP or FTP servers over Wi-Fi, transfer speeds don’t exceed 100 KB/s.
- In many cases, the communication unexpectedly freezes.
Observations:
- Replacing the ESP32 with the Teensy 4.1’s native Ethernet (using the Ethernet_native library), I can achieve transfer speeds close to 10 MB/s.
- The issue seems to be with Wi-Fi communication, as the hardware works well with Ethernet.
- I’ve tried adjusting the buffer size (testing values like 64, 128, 256 bytes), but I noticed that buffers larger than 128 cause transfer failures, such as interruptions or freezes.
Question:
- Has anyone successfully used the Teensy 4.1 with a Wi-Fi interface (like the AirLift) and achieved satisfactory file transfer speeds?
- Are there any tips to optimize Wi-Fi communication in this setup?
- Could this be an inherent limitation of the ESP32 in AirLift mode, or might I be overlooking something?
Thanks
Daniel