Skip to content

Instantly share code, notes, and snippets.

@sticilface
Last active July 28, 2018 20:31
Show Gist options
  • Save sticilface/0a68f3c4a35ad2b5928f1d41569e7a06 to your computer and use it in GitHub Desktop.
Save sticilface/0a68f3c4a35ad2b5928f1d41569e7a06 to your computer and use it in GitHub Desktop.
speed tests results PJON Serial

Speed Tests

ThroughSerial

Leonado to Leonado (115200 baud)

1 second communication speed test:
Packet Overhead: 10B - Total: 190B
Bandwidth: 570.00B/s
Data throughput: 380.00B/s
Packets rec: 19.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 19
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

Leonado to ESP32 (115200 baud)

1 second communication speed test:
Packet Overhead: 10B - Total: 490B
Bandwidth: 1470.00B/s
Data throughput: 980.00B/s
Packets rec: 49.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 0
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

Leonado to ESP32 (115200 baud) + bus.receive();

1 second communication speed test:
Packet Overhead: 10B - Total: 190B
Bandwidth: 570.00B/s
Data throughput: 380.00B/s
Packets rec: 19.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 19
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

ESP32 to Leonado (115200 baud)

1 second communication speed test:
Packet Overhead: 10B - Total: 500B
Bandwidth: 1500.00B/s
Data throughput: 1000.00B/s
Packets rec: 50.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 0
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

ESP32 to Leonado (115200 baud) + bus.receive();

1 second communication speed test:
Packet Overhead: 10B - Total: 190B
Bandwidth: 570.00B/s
Data throughput: 380.00B/s
Packets rec: 19.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 19
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

ThroughAsyncSerial

Leonado to Leonado (115200 baud)

1 second communication speed test:
Packet Overhead: 10B - Total: 480B
Bandwidth: 1440.00B/s
Data throughput: 960.00B/s
Packets rec: 48.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 12263
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

Leonado to Leonado (115200 baud) + bus.receive();

1 second communication speed test:
Packet Overhead: 10B - Total: 2650B
Bandwidth: 7950.00B/s
Data throughput: 5300.00B/s
Packets rec: 265.00
Mistakes (error found with CRC): 0.00
Fail (no data found): -8554
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

Leonado to ESP32 (115200 baud)

1 second communication speed test:
Packet Overhead: 6B - Total: 0B
Bandwidth: 0.00B/s
Data throughput: 0.00B/s
Packets rec: 0.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 383172
Busy (Channel is busy or affected by interference): 0
Accuracy: nan %

Leonado to ESP32 (115200 baud) + bus.receive();

1 second communication speed test:
Packet Overhead: 10B - Total: 2650B
Bandwidth: 7950.00B/s
Data throughput: 5300.00B/s
Packets rec: 265.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 351064
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

ESP32 to Leonado (115200 baud)

1 second communication speed test:
Packet Overhead: 6B - Total: 0B
Bandwidth: 0.00B/s
Data throughput: 0.00B/s
Packets rec: 0.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 16913
Busy (Channel is busy or affected by interference): 0
Accuracy: nan %

ESP32 to Leonado (115200 baud) + bus.receive();

1 second communication speed test:
Packet Overhead: 10B - Total: 2040B
Bandwidth: 6120.00B/s
Data throughput: 4080.00B/s
Packets rec: 204.00
Mistakes (error found with CRC): 0.00
Fail (no data found): -2799
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

Interesting.. sending from ESP32 to leonado, using ThroughAsyncSerial without bus.receive()

  if (millis() - timer > 20)
  {
    bus.send_packet_blocking(44, content, 20);
  }

results in

1 second communication speed test:
Packet Overhead: 10B - Total: 700B
Bandwidth: 2100.00B/s
Data throughput: 1400.00B/s
Packets rec: 70.00
Mistakes (error found with CRC): 0.00
Fail (no data found): 10101
Busy (Channel is busy or affected by interference): 0
Accuracy: 100.00 %

so perfect transmission...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment