Page 1 of 1

Fastest way to transfer data

Posted: Sun Nov 22, 2020 10:11 pm
by amadeok
Hello,
I'm new to esp32. I'm trying to make a driver board for a eink display: ED097TC2 . I need to send 1 bit depth 1200x825 images as fast as possible to from the pc to the esp32. Each frame would be about 125kb but I can compress the images with RLE and they become 25kb each. What can i use to send this data faster? Wifi? the serial port?
thanks

Re: Fastest way to transfer data

Posted: Mon Nov 23, 2020 1:18 am
by ESP_Sprite
WiFi would certainly be the fastest way to do that. As an alternative to that, SDIO is also pretty fast, but a lot harder to implement with a PC, so I'd go for WiFi.

Re: Fastest way to transfer data

Posted: Mon Nov 23, 2020 2:28 am
by amadeok
ESP_Sprite wrote:
Mon Nov 23, 2020 1:18 am
WiFi would certainly be the fastest way to do that. As an alternative to that, SDIO is also pretty fast, but a lot harder to implement with a PC, so I'd go for WiFi.
Hi thanks for reply. Can i use http or tcp for file transfer while having the esp32 as an AP?

Re: Fastest way to transfer data

Posted: Mon Nov 23, 2020 5:06 am
by mikemoy
Can i use http or tcp for file transfer while having the esp32 as an AP?
http uses tcp (mainly).
tcp is to ensure your data get there correctly with no dropped packets. udp is a send and forget method. udp is faster, but you are not assured that all the data will get to the client.

Re: Fastest way to transfer data

Posted: Mon Nov 23, 2020 6:36 am
by ESP_Sprite
Practically, either HTTP or a plain TCP connection would work fine.