Fastest way to transfer data

amadeok
Posts: 4
Joined: Sun Nov 22, 2020 9:21 pm

Fastest way to transfer data

Postby amadeok » Sun Nov 22, 2020 10:11 pm

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Fastest way to transfer data

Postby ESP_Sprite » 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.

amadeok
Posts: 4
Joined: Sun Nov 22, 2020 9:21 pm

Re: Fastest way to transfer data

Postby amadeok » Mon Nov 23, 2020 2:28 am

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?

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: Fastest way to transfer data

Postby mikemoy » Mon Nov 23, 2020 5:06 am

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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Fastest way to transfer data

Postby ESP_Sprite » Mon Nov 23, 2020 6:36 am

Practically, either HTTP or a plain TCP connection would work fine.

Who is online

Users browsing this forum: No registered users and 107 guests