B4R Question ESP8266 Serial Speed

Bert Oudshoorn

Member
Licensed User
Is AsyncStream slow? I echo a byte to a PIC microcontroller, which echoes it as well.
It takes about 5 msec to receive and return a byte at baudrate 115200
Baudrate 9600 is only about 25% slower. Used an esp8266-01

In the Arduino IDE, there is no sketch example, to test/try it in C.
 

Bert Oudshoorn

Member
Licensed User
Thank you, reach now 200 usec per send-receive = 100 usec per 8-11 bits = bruto 80.000 - 110.000 baud (whether start-stop-parity bits are included?) Not bad! The PIC (16F688) is "only" 20 Mhz.
By the way: Switching Wi-Fi (Access Point mode) On or Off had no impact on the speed (without UDP traffic).
FYI: Programmed the PIC with the Pascal-like JAL (Just Another Language) :)
 
Upvote 0
Top