I’m looking into the ESP8266 module as a possible low cost alternative to the high speed spi module I use but, looking around I didn’t see any clear specs that told me how much data I can push through the thing. So I decided to run some tests and see how much data I could push through. I’m using a python application to simply send random data through the unit, I vary the baud and transmit package size and try and find sweet spots where there is maximum throughput.
Please if you know of any way to make them faster let me know. Maybe there is another firmware or way of interfacing that could make it faster.
Comparing it to my other wifi modules it is very slow, my other wifi modules do up to 4.5Mbps (bits) where the esp maxes out at about 7KBps or .056Mbps (in tcp mode) which is very slow. Even with compressed jpeg images we are looking at 2fps at very low resolution.
In UDP mode we maxed out at about 19.2KBps which is much better, but it also has all the hurdles of UDP traffic that comes with the gain in speed. Thats about .15Mbps. At this speed it is possible that I could get a frame rate of 19KBps/3BJpg = 6fps 🙁 I easily get 2Mbps using my other wifi device, in fact my other wifi device is not even at its full potential because the camera can only output at 20fps.
Anyway these are my results, if you want to maximize throughput they may be helpful to you. I also realize that some of these tests may have to do with my network and butterfly wings but the overall trend line should be useful !
ESP03, on a custom made board
compiled @ Dec 25 2014 21:40:28
AI-THINKER Dec 25 2014
230400 Baud, TCP Client
Max Bps = 5760 @ TX Packet Size 1400
460800Baud, TCP Client
Max Bps = 7200 @ TX Packet Size 1424
460800Baud, UDP Client
Max Bps = 19200 @ TX Packet Size 1904